WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • multiflex-3 main menu disappear after click on 'extra menu'
  • Print
Pages: [1]   Go Down

Author Topic: multiflex-3 main menu disappear after click on 'extra menu'  (Read 6986 times)

francix

  • Guest
multiflex-3 main menu disappear after click on 'extra menu'
« on: February 25, 2010, 08:57:31 AM »
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!


« Last Edit: March 08, 2010, 01:27:36 PM by francix »
Logged

Offline sky writer

  • Posts: 926
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #1 on: February 25, 2010, 06:24:19 PM »
Try changing your line 91 to:
<?php show_menu2(2, SM2_ROOT, SM2_START); ?>
Logged

francix

  • Guest
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #2 on: February 26, 2010, 05:21:18 AM »
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!
Logged

Offline sky writer

  • Posts: 926
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #3 on: February 26, 2010, 05:41:03 AM »
it's still showing:
<?php show_menu2(1, SM2_ROOT, SM2_START); ?>
Logged

Offline crnogorac081

  • Posts: 2163
  • Gender: Male
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #4 on: February 26, 2010, 11:43:25 AM »
try SM2_ROOT+1
Logged
Web developer

francix

  • Guest
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #5 on: March 03, 2010, 12:04:18 PM »
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
« Last Edit: March 08, 2010, 01:28:04 PM by francix »
Logged

francix

  • Guest
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #6 on: March 03, 2010, 12:12:42 PM »
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
Logged

Offline sky writer

  • Posts: 926
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #7 on: March 03, 2010, 04:05:43 PM »
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.

Logged

Offline sky writer

  • Posts: 926
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #8 on: March 03, 2010, 04:59:08 PM »
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.
« Last Edit: March 03, 2010, 08:37:42 PM by sky writer »
Logged

Offline sky writer

  • Posts: 926
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #9 on: March 03, 2010, 08:55:54 PM »
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.
Logged

francix

  • Guest
Re: multiflex-3 main menu disappear after click on 'extra menu'
« Reply #10 on: March 04, 2010, 05:37:23 AM »
thanks!

somehow things looking better now..

changes line 91 to:

Code: [Select]
<!-- Navigation Level 1 TOP -->
        <div class="nav1">
<?php show_menu2(1, SM2_CURR+1, SM2_START); ?>
        </div>
      </div>

and (line ~110)

Code: [Select]
       <!-- Navigation Level 2 (Drop-down menus) -->
        <div class="nav2">

          <!-- Navigation item MAIN MENU -->
          <ul>
          <?php show_menu2(1, SM2_ROOT+1, SM2_ALL, SM2_ALL, false, "\n</li>", false, false, false, &#39;<ul id="header_menu" class="menu">&#39;); ?>
          </ul>

        </div>
  </div>

now menu stopped disappearing.

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

thanks again
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • multiflex-3 main menu disappear after click on 'extra menu'
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2