How can I adjust my phpwcms to show only first level of menu structure?
example, my menu:
company
item1
item2
products
myitem1
myitem2
[...]
the menu should never show itemX ord myitemX, only company and products. Its because items are listed in teaser contentpart.
thx
Eckard
menu should display only first level of structure
Hi Eckard,
I hope I understand your question right. {NAV_LIST_UL:ID,1,.......}
ID = The ID of the parent Level e.g. 0.
1 = Only one Level is shown.
Knut
I hope I understand your question right. {NAV_LIST_UL:ID,1,.......}
ID = The ID of the parent Level e.g. 0.
1 = Only one Level is shown.
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Why you don´t us it in this way?
With NAV_LIST_UL we don´t need hiding of sub section for a navigation.
Knut
Code: Select all
+ company
++ item1
++ item2
+ products
++ myitem1
++ myitem2
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
How can I insert that code? - I searched within that forum for some hours and found e.g:flip-flop wrote: {NAV_LIST_UL:ID,1,.......}
ID = The ID of the parent Level e.g. 0.
1 = Only one Level is shown.
Knut
<div class="nlu_horiz1"> {NAV_LIST_UL:F,0,1,act_path,active} </div>
Where should I put such a construct? - Where to specify the class? - I've only one css-file I think, the "phpwcms/template/inc_css/frontend.css"
But there are no class defined so far. I've the frontend.css proposed from pepes tutorial for beginners.
And what todo then? - In my standard template (also from pepe) I find:
<!--
---- links - Menue ------------------------------------- //-->
<br \><br \>
{NAV_TABLE_COLUMN:0}<br />
<br />
How should I apply the NAV_LIST_UL?
BTW: I've phpwcms locally stored on my linux PC, apaches serves the site and I sync files to internet with sitecopy and mysqldump. I like editing files with emacs, not editing in the tiny windows of phpwcms-GUI.
BTW2: where can I find the settings phpwcms-GUI shows in standard template? - I don't find NAV_TABLE_COLUMN in the whole phpwcms installation using grep (grep -r NAV_TABLE_COLUMN *), except in content.func.inc.php
thx
Eckard
I just found in :
http://www.phpwcms.de/forum/viewtopic.p ... +navlistul
that NAV_LIST_UL is the successor of NAV_TABLE_COLUMN !!! Yeah, a complete new view to my questions .. lets see ...
http://www.phpwcms.de/forum/viewtopic.p ... +navlistul
that NAV_LIST_UL is the successor of NAV_TABLE_COLUMN !!! Yeah, a complete new view to my questions .. lets see ...