7

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?

6

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.

| improve this answer | |
  • 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. – Alan Miller Aug 20 '14 at 17:50

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.