Skip to end of metadata
Go to start of metadata

Introduction

Plugins can integrate with PlusWorkflow at different levels. This page describes all the ways of integration.

Integration with the user interface

Integration with the user interface can be done by modifying it or extending already existing functionality. This section describes all forms of integration with the user interface.

Menu entries

The menu-entry module allows you to add your own entries with specific attributes to existing menus. The section defined in this module uniquely identifies the menu to which we want to add our entry.

The PlusWorkflow system defines the following sections:

  • system.menu.top: the main system menu

    A new menu item is the Dashboard

  • system.useraccount.menu.top: menu in the MyAccount tab

    A new menu item is Dashboards

     

  • system.administration.systemconfig.menu: menu in Administration->System Configuration

    A new menu item is Dashboards

All menu items have an order. The first system menu entry has order=0, each subsequent one 10 more.

It's a good idea to use the order attribute, even if we ourselves don't care about the order. Other plugins may want to add items next to ours, which will be difficult if we don't give our entry the right order.

Clicking on a menu item will display the content retrieved from the configured link in the container appropriate for each menu.

In addition, Wizards uses the following sections:

  • system.search.result.menu - on the search results page


    New menu item

  • system.process.history.menu - in process history

It is not required that Wizard has a menu-entry module. Once installed on the system, it will go to the appropriate section by itself.

Default view

The user's default view is displayed as soon as the user logs into the system or clicks on the Start item in the main menu. We can allow the user to select the view of our plug-in as his default view.

The default-view -view module is responsible for this.

For each defined module, you will see the option to select this option in the default view selection:





  • No labels