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.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


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 "Other Menu" items not displaying
  • Print
Pages: [1]   Go Down

Author Topic: Multiflex-3 "Other Menu" items not displaying  (Read 6322 times)

KenH

  • Guest
Multiflex-3 "Other Menu" items not displaying
« on: April 22, 2009, 03:38:54 PM »
I can't get "Extra Menu" items to appear on the left-hand menu unless I choose "None" as the parent. Then, they appear on all pages. If I select an existing page as parent, the menu item is not visible.

Any ideas?

Thank you!
Logged

BlackTiger

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #1 on: April 22, 2009, 05:18:39 PM »
I don't know if I understand what you want. The "Extra Menu" of this template is designed as a fixed menu - that means it always shows the same structure. This structure of pages has to be at the root - so this works as intended.

If you want to show a submenu of the current page of the main menu you have to alter the call to show_menu2 at line 160 of index.php. Here is an example for such a call:

Code: [Select]
<?php show_menu2(1, SM2_ROOT+1, SM2_START+1, SM2_TRIM,&#39;[if(level>1){<dd>}][if(level==1){<dt>}][a][menu_title]</a>[if(level>1){</dd>}][if(level==1){</dt>}]&#39;);?>

If this is not your problem, please give more details about your structure of pages and how you want to put them into the different menu blocks.

regards
Michael
Logged

KenH

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #2 on: April 22, 2009, 05:50:56 PM »
Michael,

Thanks for your reply.

I would like a menu, which would consist of links to anchors on the current page, to appear in the left-hand menu (the Multiflex author calls this 'Other Menu').

To the parent page, I have added 'menu link' pages and designated the menu as 'Extra Menu'. These sub-pages link to the parent and the desired anchor.

In 'Page Settings', if I set 'Parent' as 'None', the bulleted link appears, but on every page of the site. If I set 'Parent' to the actual page I desire the link to appear, it does not appear at all.

If you wish, I could PM you the IP to my local server so you may take a look.

Ken
Logged

BlackTiger

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #3 on: April 22, 2009, 06:07:59 PM »
Hi Ken,

I think now I know what you want. Try a new line 160 in index.php as follows:

Code: [Select]
<?php show_menu2(3, SM2_CURR-1, SM2_ALL, SM2_ALL,&#39;[if(level>0){<dd>}][if(level==0){<dt>}][a][menu_title]</a>[if(level>0){</dd>}][if(level==0){</dt>}]&#39;);?>

This should show all sub-pages of the current page which have "Extra Menu" as menu in the left block.

regards
Michael

Edit: I meant line 160 - not 126
Logged

KenH

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #4 on: April 22, 2009, 06:38:59 PM »
Michael,

Menu is perfect!

Thank you very much.

Ken
Logged

tugboat

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #5 on: May 13, 2009, 10:14:06 PM »
I think I have a similar issue, I have a few menu items with dropdowns, but on a couple I have dropdowns into those submenu parents...

Like this:

Menu
   Second menu
       Third Menu
Menu
   Second menu
Menu
   Second menu

The thing is that my third are acting like second... Can you help?
Logged

tugboat

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #6 on: May 13, 2009, 10:14:46 PM »
here is how I have it now:

<!-- Navigation Level 1 -->
        <div class="nav1">

            <?php show_menu2(2, SM2_ROOT, SM2_START); ?>

        </div>
       
         <!-- A.3 HEADER BOTTOM -->
      <div class="header-bottom">

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

          <!-- Navigation item -->
          <ul>
          <?php show_menu2(1, SM2_ROOT, 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>
Logged

BlackTiger

  • Guest
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #7 on: May 13, 2009, 11:23:22 PM »
Hi tugboat,

the menu of the Multiflex-3 template is only designed for 2 levels. To get the third level working you mainly have to adjust the css file, but I think this will not be an easy task.

regards
Michael
Logged

Offline sky writer

  • Posts: 926
Re: Multiflex-3 "Other Menu" items not displaying
« Reply #8 on: July 15, 2009, 06:57:01 PM »
Blacktiger... thank you so so so much for this.  I have been looking for this menu structure modification for a long time.

Thank you also to KenH for asking the right question.

Cheers!

Quote from: BlackTiger on April 22, 2009, 05:18:39 PM
I don't know if I understand what you want. The "Extra Menu" of this template is designed as a fixed menu - that means it always shows the same structure. This structure of pages has to be at the root - so this works as intended.

If you want to show a submenu of the current page of the main menu you have to alter the call to show_menu2 at line 160 of index.php. Here is an example for such a call:

Code: [Select]
<?php show_menu2(1, SM2_ROOT+1, SM2_START+1, SM2_TRIM,&#39;[if(level>1){<dd>}][if(level==1){<dt>}][a][menu_title]</a>[if(level>1){</dd>}][if(level==1){</dt>}]&#39;);?>

If this is not your problem, please give more details about your structure of pages and how you want to put them into the different menu blocks.

regards
Michael
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Multiflex-3 "Other Menu" items not displaying
 

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