Two related menu
Posted: Fri Sep 21, 2012 12:27 am
I have a site with a structure:
3. (Section Header, not visible in the menu)
3.1 (Content)
3.2 (Content)
3.2.1 (Content)
3.2.2 (Content)
3.2.3 (Content)
3.3 (Content)
3.4 (Content)
3.4.1 (Content)
3.4.2 (Content)
3.5 (Content)
3.5.1 (Content)
3.5.2 (Content)
3.5.3 (Content)
I have a horizontal menu:
{menu loadprops=0 template='KonsaltingMeni' start_element='3' number_of_levels='1' collapse='1'}
I need a vertical menu. It will display subpages of the selected page in the horizontal menu.
I found in the Help:
(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.
I failed. Which code to call the vertical menu?
P.S.
I have a solution with multiple templates.
For example (pages: 3.2 3.2.1 3.2.2 3.2.3)
{menu loadprops=0 template='KonsaltingMeni' start_element='3.2' }
Is there a solution that does not make any more templates?
3. (Section Header, not visible in the menu)
3.1 (Content)
3.2 (Content)
3.2.1 (Content)
3.2.2 (Content)
3.2.3 (Content)
3.3 (Content)
3.4 (Content)
3.4.1 (Content)
3.4.2 (Content)
3.5 (Content)
3.5.1 (Content)
3.5.2 (Content)
3.5.3 (Content)
I have a horizontal menu:
{menu loadprops=0 template='KonsaltingMeni' start_element='3' number_of_levels='1' collapse='1'}
I need a vertical menu. It will display subpages of the selected page in the horizontal menu.
I found in the Help:
(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.
I failed. Which code to call the vertical menu?
P.S.
I have a solution with multiple templates.
For example (pages: 3.2 3.2.1 3.2.2 3.2.3)
{menu loadprops=0 template='KonsaltingMeni' start_element='3.2' }
Is there a solution that does not make any more templates?