NAV_ROW_CID - a replacement tag to creat a menu from array

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

NAV_ROW_CID - a replacement tag to creat a menu from array

Post by pSouper »

Hi all,
Would anyone know of or have a replacement tag that is able to generate a menu from an array of arbitrary category id's?
Ideally this tag would be able to add the active class and.. optionally include the sub levels for each of the cID's too

something like: {NAV_ROW_CID:(4,1,12,42,17,7),1} where those within (...) are category id's and the last value is a 0 / 1 switch to include sub levels.

also a similar one for articles would also be good ;)

regards,
pSouper
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: NAV_ROW_CID - a replacement tag to creat a menu from array

Post by flip-flop »

Please have a look to this snippet: How To Build Custom Menu

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Re: NAV_ROW_CID - a replacement tag to creat a menu from array

Post by pSouper »

Spot on Flip-Flop, you are good to me :)
..although, I have just hacked a quick one myself now :lol: - it's always the way
Post Reply