Search

I had noticed that there is no delete action for front end entry forms.

I've decided that I can accomplish the same thing in a front end admin page without having to actually remove data from the database. I work with a sysadmin who is of the opinion that data should never be deleted. It should be stored, but separated from the current data through some sort of versioning system.

I will accomplish the same thing by creating a content entry called "Deleted" which has Publish set to 'No'. Any items that I do not want to display live can be stored as attached to this Deleted entry. Or I can remove the section link value. Both will accomplish the task of deleting the entry from the front end, but without the danger of not being able to retrieve the data again.

Not a bad idea, but if it's user data (i.e. billing address, payment info) then I believe you're obligated to permanently delete.

The more I think about it, this is awesome use of a simple checkbox.

Thanks for sharing!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details