Modules - happy-geeks/wiser GitHub Wiki

Wiser modules

In Wiser, 'modules' are various 'applications' to either maintain certain data or to handle functionality. There are mainly 3 types of modules:

  1. A dynamic treeview module, which shows items in a hierarchical treeview on the left side of the window and the details in a panel on the right side.
  2. A dynamic gridview module, which shows items in a table grid with an optional detail pane on either side of the screen.
  3. Custom modules, which mainly have a functional goal, for example importing or exporting data, managing Wiser or sending out communications.

All these modules are described in detail as well as all the parameters you need to set them up.

The definition of modules is stored in the table wiser_module. This table contains the following columns:

Column name Explanation
name The name of the module as shown in Wiser.
icon The icon of the module, this must be a class name from the available list of icons.
group The group in which the module is displayed. You can enter a name of your own here.
type The type of module. This should be the internal name for the module, like DynamicItems or DataSelector.
options A JSON object with any configuration for the module. Check the wiki for specific modules to find out what settings each module has available.
custom_query A query for getting the results that should be shown in the module. This is only used for the Dynamic items module in grid view mode.
count_query A query for counting the results that should be shown in the module. This is only used for the Dynamic items module in grid view mode.