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
left navigation
Hi Beppo,
Knut
please use the string {NAV_LIST_UL:FP,ID,..........} or {NAV_LIST_UL:P,ID,..........} -> for the Parent output. And have a look into the generated html-source. -> new classes.submenu33
-subsubmenu331
-subsubmenu332
-subsubmenu333
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
At this time, no.
But have a look into the changelog.txt
But have a look into the changelog.txt
2007-04-07
[ADD] {NAV_LIST_UL} enhanced by "parent" setting which - additional modes: P, FP, HCSSP, VCSSP; working the same as modes without "P". Default class name is "sub_parent". If mode *P enabled parent structure level rendered as first <li>.
------------------------
2007-02-22
[ADD] {NAV_LIST_UL} enhanced by "id" for <li> in case "ul_id_name" is set. It will generate "id=li_ul_id_name_levelID". With this you can set individual styles for any level or trigger JavaScript actions.
[ADD] {NAV_LIST_UL} enhanced for additional sub level check but for "closed" structures only. If a sub level exists class "sub_no" is switched "to sub_no_ul".
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )