|
The Art of Joomla: tutorials for Joomla developers, site implementers and artisans. Artisan: a skilled worker who practices some trade or handicraft. Written and maintained by Andrew Eddie - Joomla master developer. Following on twitter? Hosted byThanks toPermalinks |
Issue 2the Art of Joomla - Web Master MomentsMore Menu Tricks – the Split Menu Technique
Written by
Andrew Eddie
Labels: Menus
Many template designers have included what we called a “split menu” technique by providing some extra functions within their template. While this worked, it wasn't very flexible because you were generally limited to where you could put the respective menus. Well, in Joomla 1.5 we change all that. How the split menu works is that you have, for example, one main menu with menu sub-menus. Your template may include a “top” menu bar that lists all of the top level menu items. When you click on one of the menu items, the split menu highlights the top menu item and only displays the sub-menu items in one of the side module positions. The menu module in Joomla 1.5 supports two new menu parameters – start level and end level. This allows you to control the levels shown relative to the active menu item. Here are the steps for setting this up.
Now have a look at your site and cruise around the main navigation menu. All going well, you will see the sub-menu appear in the right place, and the top level menu item will be highlighted as well (if your template supports that). One of the reasons you use this technique is that you can maintain a single main menu tree with two extra support modules. Previously you could achieve most of this effect with multiple menus and multiple modules assigned to specific pages but you lost the ability to highlight the active menu item, and there was a lot more administration overhead to set it up. This is just one of several improvements that make life easier when you are setting up your site. I hope you enjoy using it on yours. 32 CommentsFeedAdd Comment |
|

















Eric makes this comment
Friday, 05 June 2009
Sanat makes this comment
Wednesday, 03 June 2009
Alexander Diaz makes this comment
Saturday, 23 May 2009
Ruth makes this comment
Wednesday, 13 May 2009
Sebastiaan makes this comment
Wednesday, 13 May 2009
Houman makes this comment
Monday, 27 April 2009
Sam makes this comment
Thursday, 19 March 2009
msquared makes this comment
Monday, 02 March 2009
Andre makes this comment
Monday, 23 February 2009
Xanti makes this comment
Saturday, 31 January 2009
Dan Walker makes this comment
Saturday, 31 January 2009
suraj kaushik makes this comment
Tuesday, 20 January 2009
anne makes this comment
Tuesday, 11 November 2008
Kathryn makes this comment
Tuesday, 14 October 2008
waader makes this comment
Wednesday, 24 September 2008
yaza makes this comment
Friday, 19 September 2008
Kenja makes this comment
Saturday, 23 August 2008
Me makes this comment
Thursday, 21 August 2008
Elsa makes this comment
Monday, 04 August 2008
casey makes this comment
Friday, 18 July 2008
bigmudcake makes this comment
Tuesday, 24 June 2008
Synaptein makes this comment
Friday, 20 June 2008
Debra makes this comment
Sunday, 08 June 2008
REllo makes this comment
Thursday, 08 May 2008
Mauricio makes this comment
Friday, 02 May 2008
ted makes this comment
Friday, 02 May 2008
Andrii makes this comment
Thursday, 01 May 2008
soundbite makes this comment
Thursday, 01 May 2008
Zorak makes this comment
Wednesday, 30 April 2008
Kim Brebach makes this comment
Wednesday, 09 April 2008
Sundar makes this comment
Wednesday, 19 March 2008
jimb0 makes this comment
Friday, 07 March 2008