Creating a secondary menu in Joomla
I've used this technique to override the mod_mainmenu in Joomla 1.5: Highlight active menu item in Joomla
Now I've discovered that all the menus created in Joomla are based off of mod_mainmenu. Now I'd like to create a secondary menu for some of the pages based on this accordion design: http://www.kksou.com/php-gtk2/Joomla/Accordion-Menu-Apple-style.php#demo
Is it possible to have both of those designs in Joomla for menu types or am I st开发者_StackOverflow社区uck with the override version only? Any options? Thanks.
Create new module called mod_secondarymenu
with you design, js and css.
Copy mod_mainmenu
and overwrite code as needed. Then in the module manager change the module type from mod_mainmenu
to your mod_secondarymenu
.
精彩评论