Page 1 of 1

"Split" menu - how?

Posted: Thu 8. Jun 2006, 10:51
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)

Posted: Thu 8. Jun 2006, 12:00
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:

Posted: Fri 9. Jun 2006, 09:20
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

Posted: Thu 22. Jun 2006, 00:57
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

Posted: Thu 22. Jun 2006, 11:25
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

Posted: Thu 22. Jun 2006, 12:59
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