WebsiteBaker Support (2.8.x) > Templates, Menus & Design

(SOLVED) Show_menu2 -- Menus swapping spots -- need help

(1/1)

devnet:
I have my top dropdown header working beautifully with:


--- Code: ---<?php show_menu2(0, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, &#39;<ul id="header_menu" class="menu">&#39;); ?>
--- End code ---

and I have my bottom menu showing the separate pages I only want on the bottom menu, using


--- Code: ---<?php show_menu2(2);?>
--- End code ---


The problem is that when I select a page from my bottom menu, the top menu gets replaced with the bottom menu. Can someone please explain to me what I can do to make my bottom navigation stay only at the bottom when I'm on one of those pages and have my top navigation stay the way it should be when on those pages. :?

kweitzel:
Please define the first menu as well in the info.php and the menucall. So, instead of 0 which translates into "default" use 1 which then is "mneu 1".

cheers

Klaus

devnet:
So obvious... thank you for your help with my blindness.  :-D It works perfectly now.

Navigation

[0] Message Index

Go to full version