multiflex-3 main menu disappear after click on 'extra menu'

francix

thanks!

somehow things looking better now..

changes line 91 to:

<!-- Navigation Level 1 TOP -->
        <div class="nav1">
<?php show_menu2(1SM2_CURR+1SM2_START); ?>
        </div>
      </div>


and (line ~110)

       <!-- Navigation Level 2 (Drop-down menus) -->
        <div class="nav2">

          <!-- Navigation item MAIN MENU -->
          <ul>
          <?php show_menu2(1SM2_ROOT+1SM2_ALLSM2_ALLfalse"\n</li>"falsefalsefalse'<ul id="header_menu" class="menu">'); ?>
          </ul>

        </div>
  </div>


now menu stopped disappearing.

(still something wrong about multi lang, but that i guess i will figure soon)

thanks again

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.

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

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.


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

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

crnogorac081

Web developer

sky writer

it's still showing:
<?php show_menu2(1, SM2_ROOT, SM2_START); ?>

francix

thank you for your reply.

i did change line 91 (if you re-visit the link above - its now the new line as you suggested) but no difference whatsoever..

i even went back to the original templete, tried multiflex3 v1 and its always the same problem..

pls any other ideas?

thank you in advance!

sky writer

Try changing your line 91 to:
<?php show_menu2(2, SM2_ROOT, SM2_START); ?>

francix

hi there.
please this problem of multiflex-3 'main menu' disappear after click on one of the 'extra menu'



and click first on the EN or DE (top menu) - the shortly all seems file

however, if you click on 'extra menu' (left) say, on "villa" then the main menu bar is GONE  :-(

here is the index.php  i use.. please help
thank you!