I'm planning to hide the top navbar of my adaptable theme. However, I want to add a new link in the lower navbar that displays the modal overlay menu similar to what the Links menu is calling. How can I load the modal overlay menu using any other link?
This is not a link. It is a JS call. Not sure if it can added as a menu item but you can try.
The code is located here:
Should be possible. Look for the line echo $OUTPUT->get_top_menus(); in the theme file /theme/adaptable/layout/includes/header.php. This line calls the core renderer function get_top_menus() that itself renders the mustache template Fernando is referring to above)
You should be able to take this line out of header.php (or comment it out), and then put it in the equivalent footer file here: /theme/adaptable/layout/includes/footer.php
Thanks Manoj. Yes I will try this suggestion.
Thanks Fernando. I will do this.