5

Is there a way to "undelete" an entry that has been deleted? (Kind of like the "Trash/Recycling Bin" functionality of our computer OS.)

I don't see any obvious way to do this, but since Craft Pro has page versioning it seems like perhaps there should be a way to restore an old version of a page that has since been removed?

2

Currently not... Craft does a "hard" delete for its elements instead of a "soft" delete like what you're looking for.

You could probably pull off something close to what you're looking for with a plugin that listened to many of Craft's onBeforeDelete* events, though.

Otherwise, sounds like a good feature request for the feedback site!

2
  • I would also like to see a soft delete option in craft. I could not find a post about this on the feedback site, so i posted one: feedback.buildwithcraft.com/forums/285221-feature-requests/…
    – Petter
    Aug 21 '15 at 9:10
  • Since this is the officially accepted answer, it would be nice to have it updated to reflect the current reality (that craft soft deleted most entries), given that it is the first one people will see when viewing this post. 1 hour ago
3

In the toolbar above the element index you can use the "status" dropdown to filter by trashed elements. From there you can select the entries you want to recover and click the "Restore" button.

Status dropdown

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.