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 »
  • !!PLEASE HELP!! show_menu2 with multilanguage site.
  • Print
Pages: [1]   Go Down

Author Topic: !!PLEASE HELP!! show_menu2 with multilanguage site.  (Read 4283 times)

Offline supersuperior

  • Posts: 4
!!PLEASE HELP!! show_menu2 with multilanguage site.
« on: June 12, 2012, 10:43:36 PM »
Hello All

OK, I know I should use show_menu2, so I am going to. I still have a problem though, that when I click on the 2nd level link, it takes the first links place in the menu. What am I doing wrong. Please help


CODE:

<div id="mainmenucontainer">
         <div id="logo"></div><div id="languageContainer"><?php show_menu2(1, 0, 1, true, "[a]<img src=" .WB_URL .  "/media/flags/[menu_title].gif />[/a]", '', '', '', false, '', 0); ?></div>
            <div id="navContainer">
      <div id="nav" class="clearfix">
         <?php show_menu2(0, SM2_CURR, 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">');?>      </div></div>
   </div>

Site in quest. I know there is flaws in the general code, but it is work in progress. Thanks for any and all help.

http://www.oknehult.se/pages/da/forside.php

« Last Edit: June 14, 2012, 10:07:36 PM by supersuperior »
Logged

Offline Tez Oner

  • Posts: 257
  • "...it's possible..."
    • VA-MDS / MMO | communications
Re: !!PLEASE HELP!! show_menu2 with multilanguage site.
« Reply #1 on: June 23, 2012, 10:00:29 PM »
Hey,

use the EasyMultiLang module then the page 'refreshes' the page to the proper language,
and it creates the flags automaticly, so no need to create it yourself.

Cheerz,

Tez Oner

Logged
Tez | VA-MDS / MMO | communications
--------------------------------------------
info@va-mds.com / http://va-mds.com

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • !!PLEASE HELP!! show_menu2 with multilanguage site.
 

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