Page 1 of 1

[solved] Vertical Sub-menus disappeared after upgrade to 1.6.5

Posted: Mon Oct 12, 2009 2:23 pm
by cnymike
I've recently upgraded a site from CMSMS 1.3.1 to 1.6.5. The upgrade went very smoothly and there has only been a glitch in my menu structure.

I had my menus set up so that each menu item on the top horizontal menu had its own vertical left sub-menu. However, after the upgrade, the vertical sub-menu no longer displays regardless of which horizontal menu item is selected.

Here is the code that I had (have) for my horizontal menu...

Code: Select all

   <!-- Start Navigation -->
   <div id="menu_horiz">
      <h2 class="accessibility">Navigation</h2>
      {menu template='simple_navigation.tpl' number_of_levels='1'}
   <hr class="accessibility" />
   </div>
   <!-- End Navigation -->
Here is the code I had (have) for my vertical sub-menu...

Code: Select all

<!-- Start Sub Navigation -->
      <div id="menu_vert">
         <h2 class="accessibility">Sub Navigation</h2>
         {if $ccuser->loggedin()}
           <ul><li>{menu template='simple_navigation.tpl' start_level='2' collapse='1'}</li></ul>
            {else}
          <!-- NB! The <ul><li> below is only added because several default templates use the same menu stylesheet, to "force" the subnavigation to act as if it's the second level in a list -->
          <ul><li>{menu template='simple_navigation.tpl' start_level='2' collapse='1' excludeprefix='private_'}{/if}</li></ul>
If I change the start_level of the menu_vert to "1" then the entire menu shows up in the left vertical menu. But when I change the start_level back to "2", then there is no sub-meny displayed at all.


This must be a really simple oversight on my part, but I can't see my error. Can anyone provide guidance?

The site is http://www.bsatroop666.org

Re: Vertical Sub-menus disappeared after upgrade to 1.6.5

Posted: Mon Oct 12, 2009 2:24 pm
by RonnyK
This was a known issue in 1.6.5 which has been fixed, see point 1 of:

http://forum.cmsmadesimple.org/index.ph ... 147.0.html

When upgrading to 1.6.6 you will have the included fix.

Ronny

Re: Vertical Sub-menus disappeared after upgrade to 1.6.5

Posted: Mon Oct 12, 2009 2:29 pm
by cnymike
Yes indeed, the upgrade 1.6.5 > 1.6.6 fixed this glitch.

Re: [solved] Vertical Sub-menus disappeared after upgrade to 1.6.5

Posted: Fri Jan 15, 2010 7:49 pm
by heatherfeuer
And the moral of the story is to check here for fixes instead of wasting an entire day pulling hair out I can't afford to lose!  ;D ::) ;D