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

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Nik2004
Posts: 132
Joined: Mon 9. Aug 2004, 14:31
Location: Athens,Greece

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

Post 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).

Please advise.
Post Reply