I'm wondering how to put together left vertical menu and top drop down menu.
I was just to start drawing top menu but I realized It's not such a good idea. I want top menu to extend with pages that i create.
I attached what i want to do.
regards,
[gelöscht durch Administrator]
menu left vertical + top dropdown [SOLVED]
menu left vertical + top dropdown [SOLVED]
Last edited by flade on Thu Mar 22, 2007 1:04 pm, edited 1 time in total.
Re: menu left vertical + top dropdown
Check this post, is this what you mean.
http://forum.cmsmadesimple.org/index.ph ... l#msg25093
Ronny
http://forum.cmsmadesimple.org/index.ph ... l#msg25093
Ronny
Re: menu left vertical + top dropdown
*** EDIT
This post you mentioned. It shows how to put left and right side to work. I did some modifications
This is my top tag:
{menu template='cssmenu.tpl' collapse='1' items='link8' number_of_levels='2'}
But there is no drop down menu. I did conect css vertical stylesheet to my template.
If I use without items='link8' all itemes are displayed and drop down works.
any ideas.
regards,
This post you mentioned. It shows how to put left and right side to work. I did some modifications
This is my top tag:
{menu template='cssmenu.tpl' collapse='1' items='link8' number_of_levels='2'}
But there is no drop down menu. I did conect css vertical stylesheet to my template.
If I use without items='link8' all itemes are displayed and drop down works.
any ideas.
regards,
Last edited by flade on Wed Mar 21, 2007 8:38 am, edited 1 time in total.
Re: menu left vertical + top dropdown
Flade,
the styling for the default top-menu combined with the vertical-menu only shows on level, you should check the CSS for the top-menu as well and combine this in the combination.
Ronny
the styling for the default top-menu combined with the vertical-menu only shows on level, you should check the CSS for the top-menu as well and combine this in the combination.
Ronny
Re: menu left vertical + top dropdown
Right,
I got cms menu stylesheet for top horizontal menu with drop down. Thing is when I enable all menu items. Top menu show same items as left menu.
When I put start_element like this:
It shows only menu item 3 with subitems. But I want to display horizontaly more than just 1 item.
Then I tried with this:
It shows only link8 with no subitems.
I don't think this has anything to do with style sheet, as cms_horizontal stylesheet is used only for this top menu. I edited cssmenu.tpl and cms_horizontal stylesheet to use same classes and ids.
any clues ?
Sorry if this was discussed before but right now I can't find the right post.
regards,
I got cms menu stylesheet for top horizontal menu with drop down. Thing is when I enable all menu items. Top menu show same items as left menu.
When I put start_element like this:
Code: Select all
{menu template='cssmenu.tpl' start_element="3" }
Then I tried with this:
Code: Select all
{menu template='cssmenu.tpl' collapse='1' items='link8' number_of_levels='2'}
I don't think this has anything to do with style sheet, as cms_horizontal stylesheet is used only for this top menu. I edited cssmenu.tpl and cms_horizontal stylesheet to use same classes and ids.
any clues ?
Sorry if this was discussed before but right now I can't find the right post.
regards,
Re: menu left vertical + top dropdown
What if you remove the "collapse='1'" in the calling of the vertical menu.
Ronny
Ronny
Re: menu left vertical + top dropdown
No good, it's without subitems.
confused
Code: Select all
{menu template='cssmenu.tpl' items='link8, link9' number_of_levels='2'}
Re: menu left vertical + top dropdown
When you use the "items=" option in the menu call it will only show the items in the call eg. link8, link9 if you need to start at a certain level and only show it and it's siblings try the start_element="1.2", 1.2 being the number before the page name in Content » Pages....
# (optional) start_page="home" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
# (optional) start_element="1.2" - Starts the menu displaying at the given start_element and showing that element and it's children only. Takes a hierarchy position (e.g. 5.1.2).
# (optional) start_level="2" - This option will have the menu only display items starting a the given level. An easy example would be if you had one menu on the page with number_of_levels='1'. Then as a second menu, you have start_level='2'. Now, your second menu will show items based on what is selected in the first menu.
# (optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
# (optional) number_of_levels="1" - This setting will only allow the menu to only display a certain number of levels deep.
# (optional) items="contact,home" - Use this item to select a list of pages that this menu should display. The value should be a list of page aliases separated with commas.
# (optional) collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.
# (optional) start_page="home" - Starts the menu displaying at the given start_page and showing that element and it's children only. Takes a page alias.
# (optional) start_element="1.2" - Starts the menu displaying at the given start_element and showing that element and it's children only. Takes a hierarchy position (e.g. 5.1.2).
# (optional) start_level="2" - This option will have the menu only display items starting a the given level. An easy example would be if you had one menu on the page with number_of_levels='1'. Then as a second menu, you have start_level='2'. Now, your second menu will show items based on what is selected in the first menu.
# (optional) show_root_siblings="1" - This option only becomes useful if start_element or start_page are used. It basically will display the siblings along side of the selected start_page/element.
# (optional) number_of_levels="1" - This setting will only allow the menu to only display a certain number of levels deep.
# (optional) items="contact,home" - Use this item to select a list of pages that this menu should display. The value should be a list of page aliases separated with commas.
# (optional) collapse="1" - Turn on (set to 1) to have the menu hide items not related to the current selected page.
Re: menu left vertical + top dropdown [SOLVED]
Silly me...
I spent 3 days looking at Help of MenuManager and It just not crosse my mind that I could use more than one menu tag.
Tnx for Help.
This one is sloved
I spent 3 days looking at Help of MenuManager and It just not crosse my mind that I could use more than one menu tag.
Tnx for Help.
This one is sloved