Hello,

I am not sure when they appeared or why, but I have three "create content" menu items in the navigation menu. Each menu item brings up the "Create Content" page, but only one of them has a triangle icon next to it to indicate that it could be expanded.

I have tried clearing the menu cache (in fact all caches) and have reset all the menu items. I also have an issue where two recently modified content types (I changed the names of them) appear in the top level of the navigation menu rather than under the "create content menu.

I am not sure how to resolve to duplicate this. searching drupal.org has not given clues.

Cheers

Phil

Comments

mzwyssig’s picture

Same Issue here. I pulled the menu items out of the "Create Content" menu item to put them into another menu. And now I have about 10 of them.

And the page /node/add is empty.

kapow99504’s picture

I'm having the same issue

chianti’s picture

Same issue.

As normal my menu links have been turned into 'system links' (they have 'reset' rather than 'delete' next
to them in the list, and have a hyperlinked 'system' style url instead of a textbox that can be edited).
Same problem.

1)
I'm using an Artisteer template. Is anyone else using Artisteer?
If no, then we can eliminate that as a cause.

2)
Has anyone renamed the default navigation menu?
Mine is now called 'User Menu' and my user-name doesn't display when I'm logged in.
I don't remember how that happened: whether I edited that from within Drupal, whether it was done from
within Artisteer, or whether I edited the template files. It's been a while since I worked on this site.
I'm inclined to think it's an Artisteer thing, and probably isn't relevant to the problem.

3)
Has anyone renamed their content types? Especially the 'machine-name'?
When I did this, new menu links were created for the renamed content types without deleting the old ones.
These old menu items became the duplicate 'create content' links when I pressed the 'reset' links next to them.
I pressed 'reset' because I thought it might delete them.

4)
My 'node/add' page does list the content-types though; it's not blank like some of you describe.

5)
Is there something that we have we all got in common? What have you done or set-up that could affect the menu?
I have i18n installed and menu translations enabled.
I also have the Menu Trails module installed.

Can we narrow down what is causing this?

Cheers.

edit: I can't wait around for an answer because the work on this site needs to be finished in a few days. So, I went into the database using phpadmin, found the duplicate items in the menu table, changed their module type from 'system' to 'menu', which turned the 'reset' links into 'delete' links on the menu page, and so I could delete them from within Drupal. I have no idea whether that has solved the bug or not, or whether it will cause other problems, but it's academic to me until I need to edit/delete content-types again.

marcdecaluwe’s picture

Same issue here. I had the impression an extra menu-item is appearing when I remove a content-type (but not sure of this).
Maybe something related: when I remove a content-type, the menu-item node/add/content-type stays in place. I have to remove it manually. After that the extra node/add menu-item appears.

danielpd’s picture

subscribe

chianti’s picture

Version: 6.19 » 6.20

I think the trigger for this happening to me was editing the machine-name of a content-type.

There is a fix for these symptoms in this post:
http://drupal.org/node/149562#comment-1969614

Doing this will reset all your system menu-items, so you'll have to re-position them if you've moved them from their default positions or menus. Also read the suggestions of what you have to do after this, so that your menus are rebuilt.

Although there's a fix, this bug report should probably still stay open because the cause is obviously still present.

dddave’s picture

Status: Active » Closed (duplicate)

re #6

I really think this is the same issue as in the issue you linked.

rggoode’s picture

subscribe

Chimos’s picture

Issue summary: View changes

In this thread:

https://drupal.org/node/149562#comment-1969614

The steps described in the post #25 by @hermes_costell solved this problem for me (Drupal 7.28).
IN ADDITION, at the end of these steps I needed to run cron and flush the cache.

I ended up also having to delete all 'system' menu links as well, and then rebuild the menu. I had most menu items either as triples or higher, and the whole admin system was going berzerk. I'm not yet sure if the issue is resolved yet... but steps I took:

Ran
DELETE FROM `menu_links` WHERE `menu_links`.`module` = 'admin_menu'

Ran
DELETE FROM `menu_links` WHERE `menu_links`.`module` = 'system'

Went to:
admin/build/modules

Which rebuilt the menu, and things now look great. My frequency of db hits were berzerk before this fix, and are now totally calmed down.

pxljedi’s picture

#9 worked for me on a Drupal 6 to 7 upgrade. Thank YOU!