Hi,

I created some of my own content types and then deleted the same. I still see those content types under "Create Content" menu link in addition to the default "Page" and "Story".

Can somebody help me to understand this please?

Why do I see these deleted content types?
How can I get rid of those content types?

Thank you,
Vimala

Comments

vlinet2002’s picture

can somebody throw some light on this please?

WorldFallz’s picture

try clearing the cache (admin/settings/performance).

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

vlinet2002’s picture

I did clear the cache. It is not helping. Thanks.

Net Mystic’s picture

This isn't a perfect solution, but after searching the forums for hours and not finding a true solution, I gave this a try and it worked!

First, make sure that you've deleted any content of that particular type. If you're not sure, go to Administer > Content Management > Content and filter by node type to view all nodes of that type. Then check them all and choose Delete from the dropdown menu. Press the Update button to execute the batch delete command.

Also make sure you've deleted the actual node type itself (Administer > Content management > Content types). Once you've confirmed these, try this:

1) Go to Administer > Site building > Menus > Navigation
2) Find the content type you wish to delete under the Create content parent menu item.
3) Next to this content type, Click Reset under Operations.

This should remove the menu item entirely, since it no longer exists in the database. Voila! Content type gone!

So why is this an imperfect solution? Because when I did it, a duplicate Create content menu item appeared at the bottom of my Navigation menu. Easy enough to fix -- simply disable the menu item entirely and it won't show.

But it's still there and it bothers me. I guess I'm a perfectionist. =(

I hope this helps those encountering this issue. Good luck!

~ Net Mystic

Dave Hirschman’s picture

When I changed the description of a content type the same thing happened - the "Create Content" page still showed the old description. Clicking "Reset" on the menu item works to update the description. But then the content type no longer has "Create Content" as the parent menu item - it goes to the bottom of the main Navigation menu and has to be dragged back into the proper place.

It also works to just Edit the menu item and copy in the changed content type description.

Before I figured this out I clicked "Reset" on the main "Create Content" menu item, and I also got the duplicate "Create Content" item on the Navigation Menu.

eff_shaped’s picture

This is bizarre behaviour. Why is a new Create Content menu link made?

I just want the content type links to go away when I delete a content type. Or change, when I edit them.

Clicking 'reset' for an item in /admin/build/menu-customize/navigation does remove it (if I have the option). But I'm left with multiple menu items I don't want and have to disable.

drupalnix’s picture

I just encountered the same problem and luckily only had to sift through 6 or 7 posts before I came across your proposed solution. I bypassed the reset option and just disabled the content types I wanted under Administer > Site building > Menus > Navigation. That seemed to work although I am not too sure what the implication may be.

Expected behavior.

I deleted numerous content types and they did not show on the Adminsiter > Content management > Content Types screen.

Strange behavior.

Users that did not have privileges to create content under those content types suddenly had listings for them; but when I clicked the link it went nowhere and just greyed out. However, my root account did not show those same listings.

iantresman’s picture

I had a similar problem, had deleted the default Story, and a custom content type, but they remained on the Create Content page.

To remove them, my solution was quite simple, visiting Administer | Site building | Menus, then selected the Navigation menu, where both content types were showing under the Create Content menu item.

On clicking the Reset link for Story, I found that the Story menu item disappeared, and from the Create Content page too. Likewise my customer content type.

woop_light’s picture

worked for me too iantresman. thanks!