Dual menu issue - Solved
Posted: Sat Oct 27, 2007 4:52 pm
Hi Guys,
I have been trying to add vertical and horizontal menus to a template. I just started with the standard "Top simple navigation + left subnavigation + 1 column" template and I began editing it.
I have 10 pages in my site and I want the first 5 displayed on the top horizontal nav and the other 5 running down the left hand nav. I looked at the Menu Manager help guide and found the some helpful information however I still can't get the child links of the main elements to display on the left nav.
Here is my code for the horizontal part
Navigation
{menu template='simple_navigation.tpl' items='elementname1,elementname2,elementname3,elementname4,elementname5' number_of_levels='1'}
I have tried all different combinations for the vertical part but to no avail. Here are different combinations
1. {menu template='simple_navigation.tpl' start_element='6.0'}
2. {menu template='simple_navigation.tpl' items='elementname6,elementname7 etc' collapse='1' number_of_levels='2'}
I hope it is just something smaller but element 6 & 7 have children links but I can't get them to display on the left vertical nav when I select them. So for example element 6 is called About us and it has a sub-link called history. I can see the "About Us" link but when I click on it the sub menu including history is not displayed.
Also the start_element code isn't working at all in the way I have above.
Any help much appreciated
Aidan
I have been trying to add vertical and horizontal menus to a template. I just started with the standard "Top simple navigation + left subnavigation + 1 column" template and I began editing it.
I have 10 pages in my site and I want the first 5 displayed on the top horizontal nav and the other 5 running down the left hand nav. I looked at the Menu Manager help guide and found the some helpful information however I still can't get the child links of the main elements to display on the left nav.
Here is my code for the horizontal part
Navigation
{menu template='simple_navigation.tpl' items='elementname1,elementname2,elementname3,elementname4,elementname5' number_of_levels='1'}
I have tried all different combinations for the vertical part but to no avail. Here are different combinations
1. {menu template='simple_navigation.tpl' start_element='6.0'}
2. {menu template='simple_navigation.tpl' items='elementname6,elementname7 etc' collapse='1' number_of_levels='2'}
I hope it is just something smaller but element 6 & 7 have children links but I can't get them to display on the left vertical nav when I select them. So for example element 6 is called About us and it has a sub-link called history. I can see the "About Us" link but when I click on it the sub menu including history is not displayed.
Also the start_element code isn't working at all in the way I have above.
Any help much appreciated
Aidan