WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Multiflex-3 "Other Menu" items not displaying
tugboat:
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?
tugboat:
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>
BlackTiger:
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
sky writer:
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: ---<?php show_menu2(1, SM2_ROOT+1, SM2_START+1, SM2_TRIM,'[if(level>1){<dd>}][if(level==1){<dt>}][a][menu_title]</a>[if(level>1){</dd>}][if(level==1){</dt>}]');?>
--- End code ---
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
--- End quote ---
Navigation
[0] Message Index
[*] Previous page
Go to full version