Hi,
How should I go about adding a custom menu to my theme, which would be only visible to users who have selected that particular theme? I guess it could be described as a 'theme specific custom menu', which admins can manage in theme settings. I manage a site with multiple themes (variations of a simple theme I have created), all of which need to display different menus.
The 'theme specific custom menu' would need to go alongside the default Moodle custom menu, and ideally follow the same syntax for admins to add their links (it needs to handle multiple languages). Can I somehow use or extend the render_custom_menu function?
Currently I have hardcoded links in my core_renderer file and works fine but it means I am the bottleneck in the system (admins need to email me the links to be placed in the themes).
Any ideas or examples welcome.
Cheers,
Fred