I want to change my document type to inherit from a different source. Is there a standard way to do that, or is there maybe a hacking way to do it (like editing the DB or config)?
The cleanest way I have found is to export the doctype and edit the xml configuration file of that export to specify a different parent, then re-import the doctype after deleting the original from Umbraco.
Yeah, but what about document types which are inherited from the one you want to delete? And their actual pages, deleting this document type would mean, I have to re-create about 7 inherited document types and about 20 content pages.
Changing document type inheritance
I want to change my document type to inherit from a different source. Is there a standard way to do that, or is there maybe a hacking way to do it (like editing the DB or config)?
Hey,
Matt B wrote a package specifically for this
http://our.umbraco.org/projects/developer-tools/doc-type-extensions
(Not sure it works on SQL CE at moment)
Hope it helps
Rich
The cleanest way I have found is to export the doctype and edit the xml configuration file of that export to specify a different parent, then re-import the doctype after deleting the original from Umbraco.
Yeah, but what about document types which are inherited from the one you want to delete? And their actual pages, deleting this document type would mean, I have to re-create about 7 inherited document types and about 20 content pages.
is working on a reply...