[SOLVED] Two different-looking NAV_TABLE_COLUMNS

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
reneknuvers
Posts: 11
Joined: Sat 22. May 2004, 20:05

[SOLVED] Two different-looking NAV_TABLE_COLUMNS

Post 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] ???
Last edited by reneknuvers on Sun 23. May 2004, 19:21, edited 1 time in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
reneknuvers
Posts: 11
Joined: Sat 22. May 2004, 20:05

Post 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?
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

on the right try {NAV_ROW:CURRENT:0}

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
reneknuvers
Posts: 11
Joined: Sat 22. May 2004, 20:05

Post 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!
Pappnase

Post by Pappnase »

reneknuvers wrote:..... I look out to the final release!
would it ever give an final release!?*ggg
User avatar
Oliver Georgi
Site Admin
Posts: 9918
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I always release "final" releases ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply