Page 1 of 1

Navigation: same-level and below-levels only - NAV_LIST_ALL

Posted: Sat 14. Aug 2004, 12:58
by Nik2004
Hi,

I would like to ask how I can display in a custom navigation menu all same-level and below-level subcategories of the currently displayed page. This has been discussed in http://www.phpwcms.de/forum/viewtopic.p ... 23&start=0 and http://www.phpwcms.de/forum/viewtopic.p ... 62&start=0 but no solution has been proposed to this exact issue.

For example, in a structure like:

+ Web Hosting
++ Business Lite
++ Business Standard
+++Gold
+++Silver
++ Business Plus
+ Application Hosting

...when in "Business Standard", the navigation should display:

Business Lite
Business Standard (in Bold)
+Gold
+Silver
Business Plus

Could anyone suggest an individual Replacement tag or a modification of {NAV_LIST_CURRENT} or {NAV_LIST_ALL}?

For example something like: {NAV_LIST_ALL:CatAlias:ShowSameLevel} where CatAlias specifies the level at which listing should start and ShowSameLevel (0/1) specifies whether the same-level categories (with CatAlias) will be listed or not. If CatAlias is left empty, listing should start at current level (automatically).

I have posted the above at: http://www.phpwcms.de/forum/viewtopic.php?t=3171 but I have had no replies.

Please help find a solution, either direct or a hack.