WebsiteBaker Support (2.8.x) > Templates, Menus & Design
multiflex-3 main menu disappear after click on 'extra menu'
francix:
hi and thanks again for reply.
now line 91 is: <?php show_menu2(1, SM2_ROOT+1, SM2_START); ?>
initially it loads ok ( with SM2_ROOT+1 it shows too many menu items in TOP )
but still when click on one of the 'extra menu' items the 'main menu dissapper..
i dont know whati did do wrong (and maybe its a bug?) cause i downloaded again the new template (and even old version) and just go step by step , setup pages and 'extra menu' items and it always happen the same..
would you have time to setup a set of pages with main menu and extra menu + multi-lang. setup and see if this happen to you as well..
many thanks
francix:
just to mention that he menus behave different depending on what hierarchy level is clicked in the 'extra menu' - is the top level clicked ('Villa & Houses' or 'Beach & Vacant Land') then 'main menu' does not disappear, but instead starting to show the main menu one level too high (include the DE / EN) in the main menu instead in the TOP menu..
but if a child item is clicked (example: 'Villa & Houses' >> 'villa' or 'villas: 15-20mil THB') then the main menu simply disappear..
thanks for your help and ideas
sky writer:
What are your Settings?
- Page Level Limit?
- Multiple Menus?
- etc.
Did you possibly designate a different template version for the children in their page settings?
I have a multiples-3 design and just tried to replicate your problem and can't. I can have children on the left menu and the main menu is always visible.
sky writer:
I'm referencing your original post code here.
I just compared my index.php code to yours, and here are the only differences:
Your line 91:
<?php show_menu2(1, SM2_ROOT, SM2_START); ?>
mine:
<?php show_menu2(2, SM2_ROOT, SM2_START); ?>
But the following is also MUCH different...as I have included a fix for Main Menu dropdowns not covering the corner gif graphics below
Your Lines 110-123:
<!-- Navigation Level 2 (Drop-down menus) -->
<div class="nav2">
<!-- Navigation item MAIN MENU fw-->
<ul>
<?php show_menu2(1, SM2_CURR, SM2_ALL,SM2_ALL,'<li>[a][menu_title]
[if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
[if(class!=menu-expand){</a>}]
[if(class!=menu-last){</li>}]
[if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
</ul>
</div>
</div>
Mine:
<!-- Navigation Level 2 (Drop-down menus) -->
<div id="navContainer">
<div id="nav" class="clearfix">
<?php show_menu2(1, SM2_ROOT, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, '<ul id="header_menu" class="menu">'); ?><br />
</div><!-- end nav -->
</div><!-- end navContainer -->
</div>
-----
Hope this helps.
sky writer:
I just noticed you are using Multiflex-3, try installing Multiplex-3_12 from Eki about half way down this page:
https://forum.WebsiteBaker.org/index.php/topic,6520.25.html
There is a lot of good info in this thread as well.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version