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 »
  • Sub menu to show
  • Print
Pages: [1]   Go Down

Author Topic: Sub menu to show  (Read 3620 times)

Offline noname8

  • Posts: 151
Sub menu to show
« on: June 14, 2009, 07:52:47 PM »
 :?

This has been a good cms to build a site, problems usually go away after reading the forum.
However this is more tricky:

I have pages that has language selection workin nice on top level, after that there is lower lever of pages
and SOME of them has 3rd level.
When I click the page that has childs I see the sub menu on right.
After clicking it i'd like to see it's siblings, but the menu is not visible.
How to make sub menu to show if lelvel is 3rd and page has siblings ?
Logged

Offline BerndJM

  • Posts: 1764
  • Gender: Male
Re: Sub menu to show
« Reply #1 on: June 14, 2009, 10:42:09 PM »
Hi,

the way menu-levels, siblings and so on are shown depends on the used template and the menu-call in this template, please provide this additional nformation

Regards Bernd
Logged
In theory, there is no difference between theory and practice. But, in practice, there is.

Offline noname8

  • Posts: 151
Re: Sub menu to show
« Reply #2 on: June 16, 2009, 06:30:16 PM »
Code of second / sub menu is

Code: [Select]
   <?php show_menu2(0, SM2_CURR+1, SM2_CURR+1,&#39;&#39;,&#39;[li][a][menu_title]</a>&#39;,&#39;</li>&#39;,&#39;&#39;,&#39;&#39;); ?>
Now it does not show siblings on 3rd level

When in second level it should show children
when in 3rd level it should show possible ciblings

but how?


Solved!
Code: [Select]
   <?php show_menu2(0, SM2_ROOT+2, SM2_CURR+1,&#39;&#39;,&#39;[li][a][menu_title]</a>&#39;,&#39;</li>&#39;,&#39;&#39;,&#39;&#39;); ?>

(When used wordpress and encountered some problems they were never solved. I'm glad this is easier! :)
« Last Edit: June 16, 2009, 08:12:16 PM by noname8 »
Logged

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

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