left navigation
Posted: Thu 9. Aug 2007, 12:15
I think I'm on the wrong trail....
I'm trying to create a vertical menu which shows only a sub level and the levels behind using NAV_LIST_UL. For this I'm using a small PHP script to get the correct level:
[PHP]
if(isset($GLOBALS['LEVEL_ID'][3])) {
$level_id = $GLOBALS['LEVEL_ID'][3];
echo '<div class="nlu_navi1">'.LF;
echo '{NAV_LIST_UL:F,'.$level_id.',3,act_path,active}';
echo '</div>';
}
[/PHP]
Additional I'd like to show also the higher level (as kind of headline) on the left side.
For better understanding:
the complete menu is something like:
-menu1
-menu2
-menu3
--submenu31
--submenu32
--submenu33
---subsubmenu331
---subsubmenu332
---subsubmenu333
menu4
...
Goal is to have a left menu with
submenu33
-subsubmenu331
-subsubmenu332
-subsubmenu333
I'm pretty sure that there is an easy way to do it with the NAV_LIST_UL.
Thanks in advance, Beppo
I'm trying to create a vertical menu which shows only a sub level and the levels behind using NAV_LIST_UL. For this I'm using a small PHP script to get the correct level:
[PHP]
if(isset($GLOBALS['LEVEL_ID'][3])) {
$level_id = $GLOBALS['LEVEL_ID'][3];
echo '<div class="nlu_navi1">'.LF;
echo '{NAV_LIST_UL:F,'.$level_id.',3,act_path,active}';
echo '</div>';
}
[/PHP]
Additional I'd like to show also the higher level (as kind of headline) on the left side.
For better understanding:
the complete menu is something like:
-menu1
-menu2
-menu3
--submenu31
--submenu32
--submenu33
---subsubmenu331
---subsubmenu332
---subsubmenu333
menu4
...
Goal is to have a left menu with
submenu33
-subsubmenu331
-subsubmenu332
-subsubmenu333
I'm pretty sure that there is an easy way to do it with the NAV_LIST_UL.
Thanks in advance, Beppo