Forums / General / How to delete Objects in the Frontend
Tim Achnitz
Thursday 04 September 2003 4:34:43 am
Hi, I'm new in eZ Publish and I'm trying to implement a guestbook in eZ. I created an own Class and I'm able to write new messages in my guestbook. That works fine.But I want the Admin to be able to edit and also remove certain messages from the guestbook.
<a href={concat("content/edit/",$Child:item.contentobject_id)|ezurl}><img src={"ico_edit.gif"|ezimage} border="0" alt="Eintrag editieren"></a>
When I replace "edit" with "remove" it doesn't work. I hope it's not a too simple question.. thanks in advance ;-)
Paul Borgermans
Thursday 04 September 2003 6:22:12 am
Take a look on how its done on the admin site, its pretty easy (but you need a form button, not just a link or add javascript code which accomplishes to submit form data anyway)
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans