View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18654Feature requestsMenu systempublic2026-11-19 21:34
Reporteruser163119Assigned To 
PrioritynoneSeverityfeature 
Status closedResolutionduplicate 
Summary18654: Make all menus changeable via plugin events (or a global registry)
Description

there are events like beforeAdminMenuRender and beforeToolsMenuRender
remove database menu entries, and instead, create arrays and let them change via plugin events

TagsNo tags attached.
Bug heat4
Git branch / Pull Request URL

Relationships

duplicate of 12174 acknowledged A global beforeMenuRender 

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2023-08-16 18:02

reporter   ~76627

Last edited: 2023-08-16 18:02

My current preference is instead to use a global registry for menu items, which can be populated by plugins in the init() method, similar to what is already possible for form inputs.

This way we don't have to add a new event for each new menu we want to support.

See LimeSurvey\Libraries\FormExtension\FormExtensionService

c_schmitz

c_schmitz

2026-11-19 21:34

administrator   ~87635

This asks for the same as 12174 (a global way for plugins to change all admin menus), so we are closing it as a duplicate to keep the discussion in one place. Please add your comments and votes there.

Issue History

Date Modified Username Field Change
2023-02-25 16:47 user163119 New Issue
2023-08-16 18:01 ollehar Summary make all menus changeable via plugin events => Make all menus changeable via plugin events
2023-08-16 18:02 ollehar Note Added: 76627
2023-08-16 18:02 ollehar Bug heat 0 => 2
2023-08-16 18:02 ollehar Summary Make all menus changeable via plugin events => Make all menus changeable via plugin events (or a global registry)
2023-08-16 18:02 ollehar Note Edited: 76627
2023-08-16 18:04 ollehar Relationship added related to 12174
2026-11-19 19:44 c_schmitz Status new => acknowledged
2026-11-19 21:34 c_schmitz Relationship replaced duplicate of 12174
2026-11-19 21:34 c_schmitz Note Added: 87635
2026-11-19 21:34 c_schmitz Bug heat 2 => 4
2026-11-19 21:34 c_schmitz Status acknowledged => closed
2026-11-19 21:34 c_schmitz Resolution open => duplicate