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 »
  • showmenu2 multilanguage submenu problem?
  • Print
Pages: [1]   Go Down

Author Topic: showmenu2 multilanguage submenu problem?  (Read 5027 times)

Offline bilgisayar

  • Posts: 13
  • Gender: Male
showmenu2 multilanguage submenu problem?
« on: January 02, 2012, 07:23:09 PM »
Hi,
I have four section for menus in different languages... But I cant show menu2 under lang...

Lang: EN
----Menu2 (show_menu2(2, SM2_ROOT+1, SM2_START);
----Menu1 (show_menu2(1, SM2_ROOT+1, SM2_START);

----SubMenus Menu2 (show_menu2(2, SM2_ROOT+2, SM2_START);
----SubMenus Menu2 (show_menu2(1, SM2_ROOT+2, SM2_START);

$menu [1] = 'Main Menu';
$menu [2] = 'Top Menu';

problem is menu 2...  I cant show menu2 under any lang... Where am I wrong?
Logged

Argos

  • Guest
Re: showmenu2 multilanguage submenu problem?
« Reply #1 on: January 08, 2012, 01:42:08 PM »
Hard to say without the full page code...
Logged

Argos

  • Guest
Re: showmenu2 multilanguage submenu problem?
« Reply #2 on: January 08, 2012, 01:50:09 PM »
Hm... maybe you make a misinterpretation of the multiple menu setup. Different menus like you created are for situations where each menu has its own pages. So a page can only be part of 1 menu tree. In your case the top menu and main menu should have different pages. If you want to show the same (sub section of) pages but in 2 different places and probably different layouts, then use 1 menu but different commands and/or different CSS.

Please look here for a good explanantion of menu setups, and especially the part about "Difference of multiple menus and multiple menu calls": http://www.websitebaker2.org/en/help/designer-guide/multiple-menus.php
Logged

Offline bilgisayar

  • Posts: 13
  • Gender: Male
Re: showmenu2 multilanguage submenu problem?
« Reply #3 on: January 17, 2012, 08:22:59 AM »
someting like this
Logged

Argos

  • Guest
Re: showmenu2 multilanguage submenu problem?
« Reply #4 on: January 17, 2012, 10:48:41 AM »
Did you choose Menu2 in the page settings of all pages that should show up in Menu2?
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • showmenu2 multilanguage submenu problem?
 

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