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?
Load the modal overlay menu in adaptable theme using another link
by Edmund Evangelista -
Number of replies: 4
In reply to Edmund Evangelista
Re: Load the modal overlay menu in adaptable theme using another link
by Fernando Acedo -
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:
In reply to Fernando Acedo
Re: Load the modal overlay menu in adaptable theme using another link
by Manoj Solanki -
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
In reply to Manoj Solanki
Re: Load the modal overlay menu in adaptable theme using another link
by Edmund Evangelista -
Thanks Manoj. Yes I will try this suggestion.
In reply to Fernando Acedo
Re: Load the modal overlay menu in adaptable theme using another link
by Edmund Evangelista -
Thanks Fernando. I will do this.