Menu like NAV_LIST but starting deeper

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
chico_html
Posts: 28
Joined: Wed 18. Oct 2006, 15:07
Location: Montevideo - Uruguay

Menu like NAV_LIST but starting deeper

Post by chico_html »

I'm doing a multilingual site and I have to do a tabbed menu similar to the one I get with the RT NAV_LIST_TOP, with the difference that I need it starting at the second level.

I have the following site structure:

Code: Select all

Home
	English
		About us
		Products
		Services
		Contact us
	Spanish
		Nosotros
		Productos
		Servicios
		Contacto
And I need the following rendering (CSS Format obviously):

Code: Select all

________   ________   ________   ________   __________
/English\ /About us\ /Products\ /Services\ /Contact us\
Or in HTML:

Code: Select all

<ul class="">
	<li><a href="">English</a></li>
	<li><a href="">About us</a></li>
	<li><a href="">Products</a></li>
	<li><a href="">Services</a></li>
	<li><a href="">Contact us</a></li>
</ul>
And the other language:

Code: Select all

<ul class="">
	<li><a href="">Spanish</a></li>
	<li><a href="">Nosotros</a></li>
	<li><a href="">Productos</a></li>
	<li><a href="">Servicios</a></li>
	<li><a href="">Contacto</a></li>
</ul>
How can I achieve this?

Thanks
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: Menu like NAV_LIST but starting deeper

Post by Jensensen »

chico_html wrote:...site structure:

Code: Select all

Home
	English
		About us
		Products
		Services
		Contact us
	Spanish
		Nosotros
		Productos
		Servicios
		Contacto
let's say 'English' has the category ID --> 1 and 'Spanish' has ID --> 6

[x]
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
powlido
Posts: 29
Joined: Mon 14. Jan 2008, 12:59

Re: Menu like NAV_LIST but starting deeper

Post by powlido »

Sorry - this maybe a really simple question, but where do you insert the ID number in the RT {NAV_LIST_TOP}?

I have searched the Docu but can't seem to find?

Thanks in advance for any help.

Powlido
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Menu like NAV_LIST but starting deeper

Post by update »

I think this is rather for NAV_LIST_UL.. anyway it's the far more flexible one...
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
User avatar
axelko
Posts: 138
Joined: Mon 27. Feb 2006, 22:51
Contact:

Re: Menu like NAV_LIST but starting deeper

Post by axelko »

Hi,

Just like claus said, use NAV_LIST_UL and the 'level-lift' code. All is explained and documentated very well by flip-flop :http://forum.phpwcms.org/viewtopic.php?f=1&t=14273

Greetz,

Axel
-------------------------------
powlido
Posts: 29
Joined: Mon 14. Jan 2008, 12:59

Re: Menu like NAV_LIST but starting deeper

Post by powlido »

Thank you both! This RT is so powerful!

Fantastic work flip-flop and of course OG.

Thank you once again!

powlido
Post Reply