WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R24 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • SHOWMENU subpages
  • Print
Pages: [1]   Go Down

Author Topic: SHOWMENU subpages  (Read 4443 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">');?>
Logged

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
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • SHOWMENU subpages
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2