Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Where to over-ride a module?
judgej
✭
I would like to over-ride the "menumodule" module of the dashboard application. Where would I need to do this? I would like to protect my code from upgrades, hence not wanting to change the core module script.
I have tried including my own version of the module in a custom plugin, but it seems that the application core module is loaded first (at least, my module detects that class "MenuModule" already exists when it is loaded on each page).
In reality I only actually want to change the layout of the rendering of the main menu module, but it does not use templates - the HTML is hard-coded within the module class - hence the need to override the complete module class.
-- Jason
I have tried including my own version of the module in a custom plugin, but it seems that the application core module is loaded first (at least, my module detects that class "MenuModule" already exists when it is loaded on each page).
In reality I only actually want to change the layout of the rendering of the main menu module, but it does not use templates - the HTML is hard-coded within the module class - hence the need to override the complete module class.
-- Jason
0
Comments
Vanilla Forums COO [GitHub, Twitter, About.me]