WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: stormswimmer on July 21, 2008, 07:54:57 PM

Title: Parent Problems
Post 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

Code: [Select]

        <div class="nav2">
          <!-- Navigation item -->
          <ul>
            <?php show_menu2(1SM2_ROOTSM2_ALL,SM2_ALL,&#39;<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]-->}]&#39;,&#39;&#39;,&#39;&#39;,&#39;&#39;); ?>

          </ul>
          </div>
Title: Re: Parent Problems
Post by: Ruud on July 21, 2008, 11:25:36 PM
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