Menu reseting on multi language page

kweitzel

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

noname8

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


noname8

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


<?php show_menu(1,1,1true"<li><span[class]>[a][menu_title][/a]</span>",'</li>',"<ul>",'</ul>',' class="menu_default"',' class="menu_current"'); ?>

noname8

#1
 :-)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