Page 1 of 1

Menu like NAV_LIST but starting deeper

Posted: Wed 9. Apr 2008, 18:45
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

Re: Menu like NAV_LIST but starting deeper

Posted: Thu 10. Apr 2008, 00:04
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]

Re: Menu like NAV_LIST but starting deeper

Posted: Tue 10. Mar 2009, 15:14
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

Re: Menu like NAV_LIST but starting deeper

Posted: Tue 10. Mar 2009, 15:58
by update
I think this is rather for NAV_LIST_UL.. anyway it's the far more flexible one...

Re: Menu like NAV_LIST but starting deeper

Posted: Tue 10. Mar 2009, 16:54
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

Re: Menu like NAV_LIST but starting deeper

Posted: Fri 13. Mar 2009, 12:02
by powlido
Thank you both! This RT is so powerful!

Fantastic work flip-flop and of course OG.

Thank you once again!

powlido