I created a new parent menu item (pointing to the front page- ) in the “Navigation” menu and I then added child menu items to it. However, the parent menu item does not expand (to reveal the child menu items) when I click on it. The only work around is to check “Expanded” (for the parent menu item) but this always shows it expanded. Help!
Comments
Comment #1
bdragon commentedI'm seeing this one too.
Comment #2
bdragon commentedI fixed my problem by cleaning out some invalid entries from the menu table. (They weren't showing up in the menu editor, but they were in the database.)
I suggest you look at the data in your menu table and make sure there aren't any entries conflicting with your url or alias.
Comment #3
rjl commentedI am also having the same problem. Could you explain more about what data I should be looking for?
Comment #4
rjl commentedI haven’t had a chance to actually look at the data, but the problem I was having I was able to fix. So I thought I would share my problem as it may point to a bug or something
I added a few (3 – “Conference”, “Directory”, and “Resources” ) menu items to the “Primary Links” menu.
You can see the menu scheme at http://www.adenweb.org
I created a new menu that appears in a block on the left side of the site. This menu is conceptually the main site navigation menu for the general site user. This menu has a number of menu items in your typical outline structure. The parent items are set to “Expanded = No” so that only one parent is open at any one time. Pretty straight forward stuff.
The 3 menu items from the Primary Links menu are also parent items in the left side navigation menu. (Using the same title, description and path). But none of those would expand when I was viewing the associated page. The menu would expand if I was viewing one of the menu item's child pages.
I deleted one of the menu items from the Primary Links menu. After deleting it, the menu expanded properly in the left side navigation menu.
I added the menu back to the Primary Links menu (Using the same title, description and path) and the left side menu still worked for that menu item.
So I tried the same delete and re-add method for the other two menu problem menu items and now the left side navigation menu works as expected.
So, while I am not sure why, deleting the link from the Primary Links menu and re-adding it somehow made the other menu work properly.
Hope this is helpful to someone.
Comment #5
scottg commentedI'm having the same problem with a brand new site, and the re-adding method didn't work for me. After look through the menu table in the database however, I noticed that the value for the type of my newly created parent menu was 118. Not sure if this is what the value is supposed to be for newly added menu items (no other menus in the table had that type), but as soon as I changed the type to 62 and flushed the menu cache, the menu started working properly.
Scott
Comment #6
myke commentedI saw this one too..
I looked at the table, here is what I found:
The menu item under Primary links had a lower mid, so must have been added first.
The menu item on the Products menu, which was the product category, would not expand until I deleted the one in the Primary Links..
I then re-added it back into Primary links, giving it a higher mid than the one that was linked to the Products menu, and everything was working fine.
The ONLY difference I could find was the mid being lower in the Primary Links, then it worked when it was higher..
-Myke
Comment #7
bdragon commentedI'm WONTFIXING due to 5.x EOL.