Author Topic: !!PLEASE HELP!! show_menu2 with multilanguage site.  (Read 1628 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


<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>

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

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

Offline Tez Oner

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

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.


Tez Oner

Tez | VA-MDS / MMO | communications
-------------------------------------------- /