WebsiteBaker Support (2.8.x) > Templates, Menus & Design
!!PLEASE HELP!! show_menu2 with multilanguage site.
(1/1)
supersuperior:
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
Tez Oner:
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
Navigation
[0] Message Index
Go to full version