Hallo Zusammen,
ich habe mehrere Plug-Ins die neue Menü Punkte links hinzufügen, wie kann ich hierfür aber die Reihenfolge setzen?
'EVENT_MENU_MAIN' => 'addMenu'
[Plugin/Hook] Reihenfolge der Menü Items ändern
Moderators: Developer, Contributor
Re: [Plugin/Hook] Reihenfolge der Menü Items ändern
Habe es nicht probiert, aber mit EVENT_MENU_MAIN_FILTER könnte das machbar sein.
https://mantisbt.org/docs/master/en-US/ ... utput.menu
https://mantisbt.org/docs/master/en-US/ ... utput.menu
This event gives plugins the opportunity to modify the complete main menu before it is output (for example re-order items, add items in the middle, remove built-in items, change icons of built-in items).
-
- Posts: 31
- Joined: 18 Jun 2019, 08:35
Re: [Plugin/Hook] Reihenfolge der Menü Items ändern
Ich hab mir das angeschaut aber wie benutzte ich das im Code?atrol wrote: ↑26 Mar 2020, 09:14 Habe es nicht probiert, aber mit EVENT_MENU_MAIN_FILTER könnte das machbar sein.
https://mantisbt.org/docs/master/en-US/ ... utput.menu
This event gives plugins the opportunity to modify the complete main menu before it is output (for example re-order items, add items in the middle, remove built-in items, change icons of built-in items).