Questions tagged [soft-deletes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer

How to make custom element types restorable?

In Craft CMS 3, custom element types support soft-deletion out of the box. But once soft-deleted, there is now way to restore elements that are now listed in the Trashed status, the only available ...
nstCactus's user avatar
  • 1,130
0 votes
0 answers

Adding A Soft Delete in Craft 2 Entries

I've been thinking of adding a "Soft Delete" or just perhaps a means in which deleting in certain sections (e.g. News) will archive the entry with an update, rather than deleting it. As I ...
buck1112's user avatar
  • 380
1 vote
1 answer

A user deleted my craft Admin account, what to do?

A created user was able to delete the Admin account, now I can't log in Craft anymore with an admin account. How is it possible that a normal user can delete an Admin? I'm in contact with this user to ...
Kevon's user avatar
  • 160
3 votes
1 answer

How to handle soft delete behavior for a custom Element with custom content tables

I have a custom Element (a Form Element) that adds a custom content table for each Element that gets created (similar to how the Matrix Field creates a custom content table for each field). Users can ...
Ben Parizek's user avatar
  • 13.3k
1 vote
1 answer

What is the appropriate way to query and Hard Delete existing Soft Deleted Elements for a Custom Element?

I have a Custom Element where the Soft Delete functionality is not necessary. Right now, existing users of this plugin may have thousands of Soft Deleted Elements in their Elements table that don't ...
Ben Parizek's user avatar
  • 13.3k