Page 1 of 1

[solved] NAV_LIST_UL question

Posted: Fri 8. Jun 2007, 02:05
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

Posted: Fri 8. Jun 2007, 07:30
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

Posted: Fri 8. Jun 2007, 07:37
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

Posted: Fri 8. Jun 2007, 07:50
by flip-flop
Oh sorry, "right horizontal menu ........

Mhh, have you switched your home category to hidden?

Posted: Fri 8. Jun 2007, 07:52
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

Posted: Fri 8. Jun 2007, 08:08
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>

Posted: Fri 8. Jun 2007, 08:11
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?

Posted: Fri 8. Jun 2007, 08:20
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

Posted: Sat 9. Jun 2007, 03:14
by MadDoctor
In fact it was a poorly uploaded install.

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