WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: noname8 on June 11, 2009, 08:11:53 PM
-
:-)Hello!
I'm making multi language page
Somehow when main menu is made, it adds ul and li class menu_default on each menu link
But if I make the languge menu BEFORE that in the template, no ul li class menu_default
is made to main menu.
How can I reset show_menu or make it work ??
Language menu is as in examples:
<div id="langugeselectdiv">
<?php
//show_menu(1, 0, 1, true, "[a][menu_title][/a]", '', '', '', false, '', 0);
?>
</div>
Main menu is like this:
<div id="menu">
<?php if(SHOW_MENU) { /* Only shown menu if we need to */ ?>
<?php show_menu(1,1,1); ?>
<?php } ?>
</div>
And normally somehow main menu makes html as:
<ul>
<li><span class="menu_current"><a href="..
</li>
<li><span class="menu_default"><a href="..
I cannot understand this
-
Again help was self found when searching enogh.. (too long time)
things that was not in the help was here:
https://forum.WebsiteBaker.org/index.php/topic,777.0.html (https://forum.WebsiteBaker.org/index.php/topic,777.0.html)
<?php show_menu(1,1,1, true, "<li><span[class]>[a][menu_title][/a]</span>",'</li>',"<ul>",'</ul>',' class="menu_default"',' class="menu_current"'); ?>
-
I don't know which part was not available here: http://help.WebsiteBaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php#anker3
cheers
Klaus
-
I could not locate the default values of function there.
somehow they was not effective when calling the function second time. The old walues was then as default :?
-
sorry, but did you actually check the link? The default values are explained under the heading "The Variables explained" ... but just in case: It's the 4th column in the very prominent table ... and it is titled "Default Value".
Klaus