[solved] NAV_LIST_UL question

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

[solved] NAV_LIST_UL question

Post by MadDoctor »

Hi,

I'm using the {NAV_LIST_UL:P,0,1,act_path,active} RT to display a menu on my site.

This is my site structure as is:
Image

The RT generates the menu that contains the following items:
Projects | Hosting | Photos | Links | Contact | About

I want my menu to include the root (link to index.php or index.php?index, with index being the alias for "home")
i.e.:
Home | Projects | Hosting | Photos | Links | Contact | About

Is there a modification to this RT that will make it generate a link for the parent?

Thanks, Dima
Last edited by MadDoctor on Sat 9. Jun 2007, 03:13, edited 2 times in total.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Dima,

the call of {NAV_LIST_UL:P,0,1,act_path,active} generated tihs output:
Home | Projects | Hosting | Photos | Links | Contact | About

What is your cms version? This feature ist available since V1.3.2.

Have a look, the right vertical menu is the same as yours (V1.33):

Code: Select all

http: //ikom-bonn.de/index.php?ziel_und_inhalt
Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

Post by MadDoctor »

Hm...

I am using 1.3.3.

This is the code I am using:

<div class="nlu_horiz1">{NAV_LIST_UL:P,0,1,act_path,active}</div>

you can check the output at http://www.dimatx.com.

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

Post by flip-flop »

Oh sorry, "right horizontal menu ........

Mhh, have you switched your home category to hidden?
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

Post by MadDoctor »

Just checked,

Status: visible, public.

It must be something stupid on my part, but I don't know what it could be :)

By the way, Knut, I like that site you posted above, did you design it? very nice.

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

Post by flip-flop »

Yes, I have designed it.

I think you have updated an older version to V1.33.
For me there are some switches lost in your navigation. (All core files up to date?)

Have a look:
This is your output <div class="nlu_horiz1">{NAV_LIST_UL:P,0,1,act_path,active}</div>:
active: Hosting wrote:<div class="nlu_horiz1">
<ul class="act_path">
<li class="sub_no sub_ul_true"><a href="index.php?projects">Projects</a></li>
<li class="sub_no act_path active"><a href="index.php?webhosting">Hosting</a></li>
This is my output for the same P switch: <div class="nlu_horiz01">{NAV_LIST_UL:FP,0,1,act_path,active ........}</div>
active: Fortbildung wrote:<div class="nlu_horiz01">
<ul class="act_path">
<li class="sub_parent act_path"><a href="index.php?index"><span>Home</span></a></li>
<li class="sub_no sub_ul_true"><a href="index.php?ausbildung"><span>Ausbildung</span></a></li>
<li class="sub_no act_path active"><a href="index.php?fortbildung"><span>Fortbildung</span></a></li>
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

Post by MadDoctor »

I guess something is wrong with my install, i did upgrade from an older version. What must I do? Reupload the 1.3.3 zip?
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

MadDoctor wrote:I guess something is wrong with my install, i did upgrade from an older version. What must I do? Reupload the 1.3.3 zip?
I would do so.

I can´t see an V1.33 at your account. The changelog is an V1.29????? And the login too. ..............

But first upload the /include/ folder without /include/inc_ext/ and the files at your root. And after you have do this make a new test.
If it is running well, do the rest.

I don´t understand this (V1.33 -> V1.29 -> V1.3x). :roll:

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
MadDoctor
Posts: 18
Joined: Tue 25. Jul 2006, 00:46
Contact:

Post by MadDoctor »

In fact it was a poorly uploaded install.

After re-uploading the include folder the RT rendered properly.
Post Reply