Page 1 of 1

NAV_ROW_CID - a replacement tag to creat a menu from array

Posted: Mon 22. Mar 2010, 12:21
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

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

Posted: Mon 22. Mar 2010, 12:41
by flip-flop
Please have a look to this snippet: How To Build Custom Menu

Knut

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

Posted: Mon 22. Mar 2010, 12:46
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