I was editing document types and templates (adding, deleting, renaming). When I completed the changes, all of the content disappeared from my content tree. I am sure that I could dig into the db to find it, but I am hoping these is a better way. I am hopeful that I do not have to start over on my content pages.
I have tried
republishing the site
reloading the nodes
I suspect that I deleted a doc type or template that was being used and the nodes were omitted from the underlying site xml.
If you deleted a doctype that was used by any content, then that content is deleted (like dropping a table in a database). In that case you'd either:
Have to rollback to a previous backup of the database
If you still got the umbraco.config file (unlikely when you did a republish) then you can re-import those files. I got some old hacked code for that if you'd like
Thanks for the replies. Is this really deleted or just set to a deleted status?
It is not much work to re-do the content entry as all of the real work is in the template and xslt. It will actually be more work to restore the db back and re-apply the doc type and template changes than to re-create the content.
So the take away here is that deleting a doc type deletes the content nodes associated with it. It makes sense.
Lost all nodes under Content
I was editing document types and templates (adding, deleting, renaming). When I completed the changes, all of the content disappeared from my content tree. I am sure that I could dig into the db to find it, but I am hoping these is a better way. I am hopeful that I do not have to start over on my content pages.
I have tried
I suspect that I deleted a doc type or template that was being used and the nodes were omitted from the underlying site xml.
Hi Tom,
Have you checked to see if your nodes are in the recycle bin?
Your diagnosis does sound quite likely....
Cheers,
Chris
If you deleted a doctype that was used by any content, then that content is deleted (like dropping a table in a database). In that case you'd either:
Thanks for the replies. Is this really deleted or just set to a deleted status?
It is not much work to re-do the content entry as all of the real work is in the template and xslt. It will actually be more work to restore the db back and re-apply the doc type and template changes than to re-create the content.
So the take away here is that deleting a doc type deletes the content nodes associated with it. It makes sense.
-T
is working on a reply...