开发者

Creating a secondary menu in Joomla

开发者 https://www.devze.com 2023-02-17 05:41 出处:网络
I\'ve used this technique to override the mod_mainmenu in Joomla 1.5: Highlight active menu item 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消