You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am developing an application with modules which should be independent from each other. There is one BaseBundle (or base module) which creates the main menu and every bundle can extend the menu by creating event listeners.
But depending on the permissions of the currently logged in user there are shown more or less menu items.
I will give you an example:
Module 1
defines this menu items:
User Management [if logged in and admin] {11000}
Logout [if logged in] {80000}
Profile [if logged in] {12000}
Exit User [if logged in and switched to another user] {90000}
Module 2
defines this menu items:
Customer Management [if logged in and customer manager] {12100}
Document Management [if logged in] {12200}
User Permissions [if logged in and admin]
Documents [if logged in]
Categories [if logged in]
Permission Groups [if logged in and admin]
The above is the order how the menu items are defined.
But they should be shown in another order. The 'Customer Management' item should be shown after 'Profile', followed by the 'Document Management' item and it's children. Then the 'Logout' Link and the 'Exit User' item at last.
I have not found any solution in your documentation.
A possible solution would be to set order offsets to the menu items (like in the curly brackets). But maybe you have a better idea?!
The text was updated successfully, but these errors were encountered:
Hi,
I am developing an application with modules which should be independent from each other. There is one BaseBundle (or base module) which creates the main menu and every bundle can extend the menu by creating event listeners.
But depending on the permissions of the currently logged in user there are shown more or less menu items.
I will give you an example:
Module 1
defines this menu items:
Module 2
defines this menu items:
The above is the order how the menu items are defined.
But they should be shown in another order. The 'Customer Management' item should be shown after 'Profile', followed by the 'Document Management' item and it's children. Then the 'Logout' Link and the 'Exit User' item at last.
I have not found any solution in your documentation.
A possible solution would be to set order offsets to the menu items (like in the curly brackets). But maybe you have a better idea?!
The text was updated successfully, but these errors were encountered: