"Split" menu - how?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Tomasahl
Posts: 58
Joined: Thu 10. Mar 2005, 11:13
Location: Sweden
Contact:

"Split" menu - how?

Post by Tomasahl »

Hello.
I see a lot of very nice examples in the "sites you are proud of" and "Sites under construction". One thing I see that seems very smart are menus that are "split" - one in the top horisontal navbar and one in the left.

One example I found is at
http://www.publicdesign.de/index.php?corporate_design

Another had two horisontal menus.

How do I do that? I mean - how do I choose what parts of the menu gets where? DO I use two different reptags? If so - how do I decide what subject goes to menu 1 and which to menu 2 and so on?

(I have seen a lot of nice links to different manu soplutions that I want to try later - so I am not asking you to help me to make the menu - just how to understand how to "split" it in two)
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Yes Tomasahl,

you are right. You have to use two RT's for this.
In some RT's you can define which Navigationlevel shall be displayed, not in all!!!
The documentation of RT's included in phpwcms can you find here:
http://www.phpwcms-docu.de/navigation_tags.phtml

A lot of other RT's , eg. NAV_LIST_SETLEVEL, NAV_LIST_CURRENT, MY_LEVEL_NAV ... can you find, if you search this forum.


Hope this helps.

Bye Heiko...



P.S.: Excuse my bad english. :oops:
rollofritz
Posts: 57
Joined: Thu 8. Sep 2005, 10:58
Location: Neumarkt,Germany
Contact:

Post by rollofritz »

Hello Tomasahl

you can/must use the different NAV´s (Navigation-Replacement-Tags RT) in the
different parts of the templates, and also you can use two or more NAV´s in one
part oft the template.

example:
in the template-part "header" you use {NAV_ROW}
in the template-part "left" you use {NAV_TABLE_COLUMN:2} and {NAV_TABLE_COLUMN:39}
- so you have three different menus: one horizontal in the header and two
verticals (one starting at ID-level 2, the other at 39) on the left side.

You can use all NAV´s where you want - also in an content of an article.
Have a look at flipflop´s example-testing page

Code: Select all

www    .mz.ja-nek.de/test2_2.phtml
look ath this post, there are more examples (yes, the post is in german,
but you can look at the links posted in "CODE" from flip-flop. )
http://www.phpwcms.de/forum/viewtopic.p ... highlight=


have a nice day

markus
easybaner
Posts: 25
Joined: Sat 6. May 2006, 16:13

Post by easybaner »

Hallo,

ich möchte an das Thema anknöpfen. Im Moment ist meine Navigation eine reine {NAV_TABLE_COLUMN} auf der linken Seite. Nun möchte ich folgendes:

- horizontale Navigation im Header (einige Punkte unterdrückt wie Kontakt etc.)
- linke Navigation, darin die Unterpunkte aus der Header-Navigation
- horizontale Navigation im Fuss mit restlichen Punkten aus Header-Navi

Mein Traum wäre etwas wie das schon gepostete http://www.publicdesign.de
Wirklich erste Sahne. Dabei möchte ich die Dynamik nicht verlieren.
Wie ich bis jetzt verstanden habe, gibt man in den Templates einen Navi-Tag mit einer ID ein. Dass heißt doch, ich benötige für jeden Punkt in Header-Navi ein extra Template. Ich habe diverse Threads gelesen, und mir auch die Navi-Tags angeschaut, komme aber bis jetzt nicht zum Ergebnis.
Kann mir jemand auf die Sprünge helfen?

Danke,
Andreas
Last edited by easybaner on Wed 12. Jul 2006, 22:45, edited 1 time in total.
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi Andreas


is use

NAV_LIST_TOP for "horizontale Navigation im Header"

&

NAV_LIST_SETLEVEL for "linke Navigation"

I can't show you the site because is a intranet solution.

Greez Sven
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hallo Andreas,

hier hat Andi beschrieben, was er auf der Seite verwendet hat: http://www.phpwcms.de/forum/viewtopic.php?p=64067#64067
Der RT {NAV_ANY_LEVEL} wird auch gleich mitgeliefert.

Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply