Hello,
I was wondering what is the best way to implement >2 different menus.
For example, one menu at the top of the page (horizontal) and another menu on the left side of the page (vertical).
Both contain different navigation options.
In CMSMS Admin: CONTENT -> PAGES I am able to organize only one menu.
What would be best solution for making the second menu?
- To create a User Defined Tag
- To create a new Module
- or something else?
Thanks,
Augustas
Multiple (top/left/etc) menus on the page
Re: Multiple (top/left/etc) menus on the page
Augustas,
If you check "Top simple navigation + left subnavigation + 1 column" you'll see that that template calls menu twice, with different parameters.
I personally like to do all through the use of Content with different {menu}-callings, because that way I have all pages at the same place, in CONTENT, and am able to push pages where I want dynamically.
You can call menu, check the help of menumanager, with different parameters, f.e.:
IF you check http://test.krijt.eu , I called {menu} 4 times there: hor, hor2, sidebar and footer.
Ronny
If you check "Top simple navigation + left subnavigation + 1 column" you'll see that that template calls menu twice, with different parameters.
I personally like to do all through the use of Content with different {menu}-callings, because that way I have all pages at the same place, in CONTENT, and am able to push pages where I want dynamically.
You can call menu, check the help of menumanager, with different parameters, f.e.:
This will give you the option to show specific pages at specific placesm while excluding them at other positions. With the different calling of NEWS in a different position, inside a different container, you can also style them differently.(optional) includeprefix="" - Include only those items who's page alias matches one of the specified (comma separated) prefixes. This parameter cannot be combined with the excludeprefix parameter.
(optional) excludeprefix="" - Exclude all items (and their children) who's page alias matches one of the specified (comma separated) prefixes. This parameter must not be used in conjunction with the includeprefix parameter.
IF you check http://test.krijt.eu , I called {menu} 4 times there: hor, hor2, sidebar and footer.
Ronny
Re: Multiple (top/left/etc) menus on the page
Dear Ronny, thanks for the tip! That sounds very logical and comfortable.
Augustas
Augustas