WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: amitmalka on July 28, 2009, 02:37:07 PM
-
hi i want the menu show only the subpage level 2 and up...
this is my menu put the code i need inside this code:
<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL, '<li><a href="[url]" class="[class] navlev[level]">[menu_title]</a>', "</li>", '<ul class="ullev[level]">', "</ul>", true, '<ul id="header_menu" class="menu">');?>
-
$aStart
Specify where the menu generation should start from. This is most
times the parent item of the menu to display. It must be one of the
following values:
SM2_ROOT+N Start N levels down from the root. e.g.
SM2_ROOT Starting at the root menu
SM2_ROOT+1 Start 1 level below the root
SM2_ROOT+2 Start 2 levels below the root
SM2_CURR+N Start N levels down from the current page level. e.g.
SM2_CURR Starts at the current page level. All
sibling menus to the current page.
SM2_CURR+1 Starts 1 level down from the current
page with the children menus.
http://code.jellycan.com/files/show_menu2-README.txt
Regards Bernd