Author Topic: SHOWMENU subpages  (Read 1355 times)

amitmalka

  • Guest
SHOWMENU subpages
« 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">');?>

Offline BerndJM

  • Posts: 1764
  • Gender: Male
Re: SHOWMENU subpages
« Reply #1 on: July 28, 2009, 04:32:09 PM »
Quote
$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
In theory, there is no difference between theory and practice. But, in practice, there is.

 

postern-length