WebsiteBaker Community Forum
WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: stormswimmer on July 21, 2008, 07:54:57 PM
-
Hey everyone,
For some reason, when I create a sub page underneath the last page in my menu it doesn't go underneath of it. I am having trouble describing the situation. For example, I am using the Multiflex 3 template and when I create a new page that will be in a sub menu it doesn't work.
Here is the code I used for the menu
<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>
-
This was found before.
It is a problem in this template.
Read this thread for more information: https://forum.WebsiteBaker.org/index.php/topic,6520.msg57413.html#msg57413 (https://forum.WebsiteBaker.org/index.php/topic,6520.msg57413.html#msg57413)
Basically, don't use a page with subpages as the last item in the menu.
Ruud