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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 »
  • Could use your help with show_menu2
  • Print
Pages: [1]   Go Down

Author Topic: Could use your help with show_menu2  (Read 3634 times)

Offline sparkdigital

  • Posts: 366
  • Once a baker, always a baker!
    • romantic hotels
Could use your help with show_menu2
« on: July 09, 2008, 10:12:10 AM »
Hello again!

I'm trying to get to grips with the show_menu2 function but could do with your help as there are so many possibilities!

I have a collapsing menu and would like to do the following:

On each page display at least the toplevel and one sublevel like this:

A1
--B1
A2
--B2
A3
--B3

And from then on when clicked on any one of these link for only that one to collapse and show its own child pages up to one level down:

A1
--B1
---C1
---C2
---C3
A2
--B2
A3
--B3

or:

A1
--B1
A2
--B2
---C4
---C5
---C6
A3
--B3

and the same with the levels below that:

A1
--B1
A2
--B2
---C4
----D1
----D2
----D3
---C5
---C6
A3
--B3

So far I got <?php show_menu2(1, SM2_ROOT, SM2_START+1, SM2_CURR+1, SM2_SIBLING); ?> but clearly this isn't working...!  :wink:

Could someone point me in the right direction?

Thanks a lot!

Konrad
Logged

Offline sparkdigital

  • Posts: 366
  • Once a baker, always a baker!
    • romantic hotels
Re: Could use your help with show_menu2
« Reply #1 on: July 10, 2008, 11:47:49 PM »
Anyone?

Ta,
Konrad
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Could use your help with show_menu2
 

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