denully Posted March 4, 2012 Share Posted March 4, 2012 (edited) Hey on http://www.kazi-networks.com you can see the menu in the top. I used to have that on https://eco.kazi-networks.com/clientarea.php as well, which is the whmcs part. But since the last update it has been missing and i have simply run out of idea's on what to try. to call the menu, im using the {if $language == English } and {elseif $language == Danish } {if $language == English } <ul id="menu-main-menu" class="sf-menu"><li id="menu-item-612" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-612"><a href="http://www.kazi-networks.com">Home</a></li> <li id="menu-item-1160" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1160"><a href="http://www.kazi-networks.com/news">News</a></li> <li id="menu-item-1188" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1188"><a href="/clientarea.php">Services</a> <ul class="sub-menu"> <li id="menu-item-1376" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1376"><a href="http://www.kazi-networks.com/domains">Domains</a></li> <li id="menu-item-1063" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1063"><a href="http://www.kazi-networks.com/hosting">Hosting</a> <ul class="sub-menu"> <li id="menu-item-1534" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1534"><a href="http://www.kazi-networks.com/backup">Backup</a></li> </ul> </li> ............. down to the danish one that starts: {elseif $language == Danish } <ul id="menu-main-menu" class="sf-menu"><li id="menu-item-612" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-612"><a href="http://www.kazi-networks.com/dk/">Hjem</a></li> <li id="menu-item-1160" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1160"><a href="http://www.kazi-networks.com/dk/nyheder">Nyheder</a></li> <li id="menu-item-1188" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1188"><a href="/clientarea.php?language=Danish">Produkter</a> <ul class="sub-menu"> <li id="menu-item-1376" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1376"><a href="http://www.kazi-networks.com/dk/domaener">Domæner</a></li> <li id="menu-item-1063" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-1063"><a href="http://www.kazi-networks.com/dk/hosting">Hosting</a> <ul class="sub-menu"> <li id="menu-item-1534" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1534"><a href="http://www.kazi-networks.com/dk/backup">Backup</a></li> </ul> </li>............... it ends with a {/if} of course. any suggestions on why it stopped working ? i'm assuming {if $language == English } is still a valid command ? p.s the menu's have been copied directly from the wordpress page and into the header.tpl , thats why the class is a bit wacky but it used to work like that. Edited March 4, 2012 by denully found the solution 0 Quote Link to comment Share on other sites More sharing options...
denully Posted March 4, 2012 Author Share Posted March 4, 2012 so many hours and not i find the solution.... something as simple has writing English with small = english and so on for the rest of the languages... some times i hate using hours and hours on something so simple hehe. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.