Multiple menus problem main navigation

dennywii

 :roll: :roll: :roll:
Yes, that was the problem *lol*

Thank you Bernd.

BerndJM

Hi,

just a quick first idea:
in your info.php you use $menu[1] $menu[3] $menu[4]
and in your show_menu2 calls you use 0 - 3 - 4 for $aMenu

Cite from the show_menu2 manual:
... Supplying a menu number of 0 will use the default menu for the current page ...

Regards Bernd
In theory, there is no difference between theory and practice. But, in practice, there is.

dennywii

Oh yes, that's true. I'm sorry.  :-)

I am using show_menu2 and I added the multiple menus myself.
That's what I added into my info.php:

INFO.PHP
// Definition of the menus
$menu[1]   = 'Hauptnavigation';    //main navigation
$menu[3]   = 'Navigation links';     // left navigation
$menu[4]   = 'Navigation unten';  //navigation at the bottom


And the parts of the menus I added into my index.php look like that:

INDEX.PHP

Part 1:
<div id="navContainer">
  <div id="nav" class="clearfix">
     <?php show_menu2(0SM2_ROOTSM2_ALLSM2_ALLfalse"\n</li>"falsefalsefalse'<ul
id="header_menu" class="menu">'
); ?>
<br />
    </div><!-- end nav -->
</div>

Part 2:
<div id="contentContainer">
    <?php if(SHOW_MENU) {    ?>        
    <div id="sideColumn">
           <?php show_menu2(3SM2_ROOTSM2_STARTSM2_ALL'<span> [a][menu_title]</a><br />''</span>'''''); ?> 

Part 3:
<div id="footer" class="clearfix">
<div id="baker_footer">
<?php page_footer(); // Get Info from WB Settings "Footer" ?>    
<?php show_menu2(4SM2_ROOTSM2_STARTSM2_ALL'<span>| [a][menu_title]</a>''                                 </span>'''''); ?>
</div><!-- end baker_footer -->
</div><!-- end footer -->


I hope that helps. I really appreciate any help I can get.

dennywii

marathoner

A little more info would be helpful. ALLCSS2 does not offer multiple menu's by default. What did you use...show_menu2? What syntax?

dennywii

Hello,

I just created a site with multiple menus and so far it works fine.
All the menus are shown correctly. However, if I click on a non main-menu link (let's call it my second menu), i.e. disclaimer, then my "first menu" disappears and it gets excahnged with my second menu (to make it more clear: my first navigation consisted of: home, projects, help, etc. and my second navigation consists of disclaimer, etc. --> If I click on disclaimer, (home, projects, help, etc.) disapperas and disclaimer shows up on that navigation???

I'm using the Allcss2 template with dropdown-menus (if it helps). I have no idea how to approach that problem.
I was looking in the forum to solve the problem but I couldn't find it.

Thank you for any help I can get.

dennywii