8

Part 2 of a 3 part question:

I am creating a proof of concept for a client in Craft where the client's customers can manage projects from the frontend of a Craft install.

I have a frontend form working correctly for creating a new project via it's own section. However the missing piece to the puzzle for full management is being able to delete an entry in the projects channel.

How do you delete entries from a front end form?

1 Answer 1

7

It's going to be virtually identical to this answer, with the exception that you're posting to the 'entries/deleteEntry' controller action instead of 'assets/deleteFile' and you're posting the 'entryId' and the 'locale' of the entry you want to delete, instead of 'fileId'.

Note that this requires a logged in user with necessary delete entry permissions.

1
  • Thanks @Brad!! I figured as much and almost considered answering my own question but I wasn't sure what the action url was and how best to word it. Aug 20, 2014 at 17:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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