Page 1 of 1

[SOLVED] Two different-looking NAV_TABLE_COLUMNS

Posted: Sun 23. May 2004, 14:45
by reneknuvers
I'm looking for a solution for the following problem:

I want to add a secondairy menu showing a specific branch of articles somewhere on the right (I use a NAV_TABLE_COLUMN on the left) The specific branch is set unvisible.

When I make a menu like this: {NAV_TABLE_COLUMN:16} (where 16 is the ID of the branch I would like to show here) I get what I want, but with the same (and thus wrong) layout as my major (left) menu.

The NAV_LIST_CURRENT has the right layout, but unfortunately it cannot be set to render the right ID.

So basically: who knows how to set a different style for a second TABLE_COLUMN, or who knows how to get a simple/list menu to start (and stay) at a specific ID

I use 1.1-rc4 in the 22-05-2004 version.

> apart from this question, maybe the jungle of different NAV_ functionality can be cleared up so that every NAV_ reflects the same options? So wheter I use a _TABLE_COLUMN, a _TABLE_SIMPLE, a _ROW, a _TOP, a _LIST or whatever other menu there is, I can set the following: [show_index]:[start_id]:[max_depth]:[css_class] ???

Posted: Sun 23. May 2004, 17:11
by Oliver Georgi
every of this replacement tags needs different settings - I will not change the way it works.

you can try to wrap a container class around you nav_table_column and prepare it this way. Or combine nav... replacement tags.

Or maybe send a screenshot of you what you want to get as result.

Be creative ;-)

Oliver

Posted: Sun 23. May 2004, 18:35
by reneknuvers
Okay. This is how it is now:

Image

The left menu reflects the main site structure, the right menu reflects the hidden structure. This is okay, exept for the layout.

Image

Here the right menu looks alright (more or less...), this one is done with the NAV_LIST_CURRENT tag.

for your information, I show you my site structure too:

INDEX
-OVER BJ BRABANT
--Historie
--...
--...
-ORGANISATIE
--OR
--...
--...
-...
-...
-ZORGMODULES (<HIDDEN>)
--Training
--Ambulante werkvormen
---Vrij toegankelijk aanbod
---Hulp op indicatie
--Daghulp
--BAMA's
--Residentiƫle hulpverlening


The darkred should be in de right menu, top button, the rest should be under there.

I do not quite understand how to wrap a class around the column tag, doesn't this change the menu on the left too?

Posted: Sun 23. May 2004, 18:58
by Oliver Georgi
on the right try {NAV_ROW:CURRENT:0}

Oliver

Posted: Sun 23. May 2004, 19:20
by reneknuvers
Thanks, with {NAV_ROW:16:0} and some tweeking of conf.template_default.inc.php I got what I wanted...

Thank you very much for the fast respons!

Keep up the great work, I look out to the final release!

Posted: Sun 23. May 2004, 20:05
by Pappnase
reneknuvers wrote:..... I look out to the final release!
would it ever give an final release!?*ggg

Posted: Sun 23. May 2004, 20:09
by Oliver Georgi
I always release "final" releases ;-)

Oliver