levelsensitive navigation - 0.4 available

Post custom hacks and enhancements for phpwcms here only. Maybe some of these things will be included in official release later.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi ssyfrig,

have a look at: http://www.art-varij.de/de_bilderbueche ... 1_02.phtml


First vertic. nav made with NAV_LIST_FROM
Second horiz. nav made with NAV_LIST_SETLEVEL
Third vertic. nav made with NAV_LIST_SETLEVEL

Gruß Knut
Last edited by flip-flop on Sun 14. May 2006, 17:21, edited 1 time in total.
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
ssyfrig
Posts: 364
Joined: Tue 2. Mar 2004, 17:01
Location: Zürich / Switzerland
Contact:

Post by ssyfrig »

Hi

great RT! works perfect for me!

Thanks, Sven
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hi Usta,
Just wanted to say thanks for coding this great RT :D
How did I passed by this great RT for so long...? :roll: :wink:
Working perfect with your indepth explanations.
Love it when you don't have to hack core files :D

Gratitude,
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

Ditto to StudioZ's comments. I love this RT for large sites where top-level navigation is horizontal and subnav is vertical. Great job!
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Ben,

i can´t confirm this. For me it works in 1.2.7 pre using re-write 1/0.

Code: Select all

www .mz.ja-nek .de/test2_2_1.phtml
At this time all NAV RTs are working well. You will find all at this site.

NAV_ROW
NAV_LIST
NAV_LIST_TOP
NAV_LIST_CURRENT
NAV_LIST_FROM
NAV_LIST_SETLEVEL
NAV_LIST_ALL
NAV_TAB_LEVELS
NAV_STRUCT
NAV_ANY_LEVEL
BREADCRUMB_LEVELS
NAV_ROW_LEVEL

Other RT ore hacks <- interact -> :?:

regards
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

flip-flop,

I edited my post to remove my comments, probably while you were writing a response. Anyways, I'm happy to report that everything is working properly with this RT in PRE 1.2.7.
adam
Posts: 28
Joined: Thu 18. Mar 2004, 16:46
Location: Neuried, Germany

Post by adam »

Hi,

I read every thread and the readme but I could not find a solution for my problem - I only found another question with the same subject which is not answered:

I use this script to generate a navigation with the following replacement tag: {NAV_LIST_SETLEVEL:Home:0:0:0:1:}

Eveything workes fine but I don't understand how to get it from vertical into horizontal (like 1.1 | 1.2 | 1.3 | or | 2.1 | 2.2 | 2.3)

Can somebody help me or just remove the tomatos from my eyes :twisted: ?


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

Post by flip-flop »

Hi,
I don´t understand your problem. All the CSS-Navi like <DIV> or <UL><LI> and so on are formated via a container or an table.

Horizontal:
<table border="0" cellspacing="0" cellpadding="0" width="760" bgcolor="#FFFFFF">
<tr><td>{NAV_LIST_SETLEVEL:Home:0:0:0:1:}</td></tr></table>

Vertical:
<table border="0" cellspacing="0" cellpadding="0" width="150" bgcolor="#FFFFFF">
<tr><td>{NAV_LIST_SETLEVEL:Home:0:0:0:1:}</td></tr></table>

regards Knut :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
adam
Posts: 28
Joined: Thu 18. Mar 2004, 16:46
Location: Neuried, Germany

Post by adam »

Hi,

I want an output of the {NAV_LIST_SETLEVEL:Home:0:0:0:1:} that is similar to {NAV_ROW:CURRENT:0} and I can't find how to define it.

I mean the SETLEVEL navigation should look like this...

  • Menu 1 | Menu 2 | Menu 3 | Menu 4

...instead of that:

  • • Menu 1
    • Menu 2
    • Menu 3
    • Menu 4

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

Post by flip-flop »

Hi,

for this I would use the BREADCRUMB_LEVELS or NAV_ROW_LEVEL

Code: Select all

www .mz.ja-nek .de/index.php?test2_3
regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
adam
Posts: 28
Joined: Thu 18. Mar 2004, 16:46
Location: Neuried, Germany

Post by adam »

Hi flip-flop,

thank you for this tip. The NAV_ROW_LEVEL replacement tag is exactly what I was looking for.

Adam
usta
Posts: 146
Joined: Thu 18. Aug 2005, 19:17

Post by usta »

Happy birthday levelsensitive navigation 0.4!
:P
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Congratulation usta for this fine and easy NAVI. :D :D :D
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
StudioZ
Posts: 802
Joined: Fri 28. May 2004, 19:57
Location: Québec, Canada
Contact:

Post by StudioZ »

Hi Usta,

Again: This is a very verywell done and usefull RT menu you created.
I could not go without it anymore. 8)

If ever at some point you find time to add an extra feature... :roll:
Then... Here would be my request:

Would be great if your RT could also parse the {IMAGE:icon/new.gif} RT.
This way I could associate an image with newly added menu item(s).
Here's where I use it:
http://www.malouin.ws/design/index.php? ... identities

Thanks in advance,

Cheers,

Yves
Image
PhpWCMS Evangelist, -- iRoutier.com Running phpWCMS 1.4.2, r354 -> Great Version!!!!
User avatar
baklavoni
Posts: 170
Joined: Mon 23. Oct 2006, 00:48
Location: Bosnia and Herzegovina

Where did I go wrong?

Post by baklavoni »

{NAV_LIST_SETLEVEL:Home:0:0:0:1:} gave me vertical navigation like one below:

L1
L2
L3
L4

but I need navigation like one below:

L1 | L2 | L3 | L4

Where did I go wrong?
I done everything as is written in instructions made by "usta".

Is it possible that Im missing some CSS data, or I have to change my PAGE LAYOUT???

Help please, Im desperate...
Post Reply