Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
User avatar
By programerboy
#822283
Hi,

I want to create sub menu in the horizontal menus.
I can create menu in this section like this:
Code: Select all
global $G_TMP_MENU;
$G_TMP_MENU->AddIdRawOption("MyMenuID", "MyMenuURL", "MyMenuName");
I want to create one or more sub menu for this menu .

Thanks
#822295
ProcessMaker has these global variables:
global $G_SUB_MENU;
global $G_SUB_MENU_SELECTED;
global $G_ID_SUB_MENU_SELECTED;
Which are defined in workflow/engine/controllers/main.php

We used to use them in version 2. They probably still work in version 3, but I need to experiment with them. Give me a day or two to try and figure it out.
#822298
Hi,

I tested your solution and answered it.
But unfortunately, we have to click on the main menu to display its sub-menus.
In other words, it's not possible to create a drop-down list on the main menu!

Thanks

Are you looking for a more intelligent approach to[…]

The 1Win Clone Script is a pre-built solution that[…]

Aviator Clone Script replicates the renowned Aviat[…]

From converting physical assets into digital asset[…]