Hi all,
my vertical category menu looks like that:
Bicycle->Racing Bike->Tour1->Map
Bicycle->Racing Bike->Tour1->Details
next would be
Bicycle->Racing Bike->Tour2->Map
Bicycle->Racing Bike->Tour2->Details
etc.
My intention is to have a basic menu including Tour1 on the left side and the submenu including Map, Details on the right side. This submenu should not be visible on the left side.
Is this possible using the existing replacement tags? If not how to address the specific menu points? I searched already in the forum but found nothing related.
Thanks for your help, Beppo
Splitted vertical Menu
Hi Beppo,
yes it is possible by using NAV_LIST_UL. http://www.phpwcms.de/forum/viewtopic.php?p=83839#83839
Vert. left -> one level deep beginning at ID=0:
Vert. at the right -> beginning at level 1. (A output is generated only if there is a categorie:
the class nlu_navi1 you can change to e.g. nlu_navi2 if you want an other layout for the navi at the right.
And please switch in your config:
Knut
yes it is possible by using NAV_LIST_UL. http://www.phpwcms.de/forum/viewtopic.php?p=83839#83839
Vert. left -> one level deep beginning at ID=0:
Code: Select all
<div class="nlu_navi1">{NAV_LIST_UL:F,0,1,act_path,active}</div>
Code: Select all
[PHP]
if(isset($GLOBALS['LEVEL_ID'][1])) {
$level_id = $GLOBALS['LEVEL_ID'][1];
echo '<div class="nlu_navi1">'.LF;
echo '{NAV_LIST_UL:F,'.$level_id.',,act_path,active}';
echo '</div>';
}
[/PHP]
And please switch in your config:
Code: Select all
$phpwcms['allow_cntPHP_rt'] = 1; //allow PHP replacement tags and includes in content parts
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )