I really didn't want to post this because it's kind of embarrasing that I can't figure it out however, I have created a content type with the CCK module that I no longer need and I cant delete it.

I've deleted all content of it's type and deleted all vocabularies/terms related to it but I still dont have the option to delete the content type!

Any help is much appreciated.
Many thanks,

Tom.

Comments

groenm’s picture

I assume you have the "Administer Content Type" permission, as you managed to apply CCK-fields to the content types. If that is the case, there is a remote possibility, that you added CCK-fields to a content type that is provided by a module. Content types provided by a module can only be removed by removing the module.

Can you tell me why you can't delete it? Does it give an error, or does the list with content types not provide the delete operation for this content type? Does it provide the delete operation for other (not builtin nor provided by module) content types?

Mark

tlarge1805’s picture

Yeah I think that's my problem, it was a Product content type for the Ubercart module so it looks like I'm going to have to re-install Ubercart.
I just didn't get the delete operation in my content type list but yes I do get the delete operation for other content types.

Thanks for your help Mark,

Tom.

groenm’s picture

Maybe it suffices to go to your modules page and click the "Uninstall" tab. Then select " Ubercart" and hit delete. Confirm the deletion. The uninstall tab does some cleaning up after a module has been deactivated. But there is quite a chance that the module code still needs to be in the modules directory.

Mark

abarnett’s picture

A late posting but it might help someone...

Delete the associated product class in store admin. Then 'delete' magically appears in the 'Content Types' table.

Hope this helps someone.

Regards

Andy

sureshg1972’s picture

I spent like 1/2 an hour trying to figure out how to delete the content type I created... your post really helped me! Thanks. Suresh.

broncomania’s picture

Thx man for this helpfull info!