I've somehow gotten duplicate menu entries on a Drupal 7 site. It happened after I had set the site up in one directory, then moved it, and used the Backup and Migrate module to change to a different database.
So now, I have duplicates of these menus:
- Main menu
- Management
- Navigation
- User Menu
So what I really need to know is: how do I get rid of the duplicates? Is there a particular table I can look at, or is there a text file that stores the menu details? Or even better, is there a good module that gives better control over the menus?
Another interesting note: I see the duplicates with the Administration menu, but if I go to /admin/structure/menu, then I only see one copy of each... and cannot edit the other at all.
Thanks for any information or suggestions.
Comments
Interesting, still there with a new install, different subfolder
Maybe I just did not see it before.. it's still there, and I just did a new install.. wish I would have looked before installing modules..
Maybe it's Admin_Menu causing it?
http://brightbacon.com/blog/drupal/duplicate-menu-entries-drupal-7s-admi...
Link I found where someone mentioning same issue.. but example shows under Reports, not Menus... I wonder why it differs from one install to another..
This wasn't the problem
I pulled the SELECT subquery out from the link and looked it over, tested it, no results found in my case.
So maybe the actual menus aren't duplicated, but rather how it shows in the Admin_Menu....
Resolved with "Rebuild" option
I found the "rebuild" option after installing the Admin module. I found it under:
admin/config/user-interface/admin/rebuild
By doing that, I lost any customizations I had made so far, but it did fix the duplicated menu items I had.
Another good tool found - Simplified Menu Administration
The Simplified Menu Administration module by Aquia also is making menu management better. I may have used it before and just forgotten, but I installed it this time, and it is making the menu management MUCH easier - could still be improved, but this a step in the right direction.
You can find this module here:
http://drupal.org/project/simplified_menu_admin