Delete object button [solved]

Author Message

Cristian G. L.

Friday 21 May 2004 12:19:51 am

Hi
I try to make a template that shows a list of nodes. This template may have a "New", "Edit" and "Delete" buttons.
The "New" and "Edit" buttons works, but the "Delete"...
I tried with a submit button with name="RemoveButton" (also with name="ActionRemove"), using two hidden fields called ContentObjectID and NodeID.
The last thing i tried is putting checkboxes with name="DeleteIDArray[]" (with the object.id as the value).
Should i put another hidden field?

(I am sorry for my poor english)

Thanks in advance

Cristian

Cristian G. L.

Tuesday 25 May 2004 7:12:21 am

I solved this problem. I someone have a similar problem, i can help him (reply this message).
Where is the documentation about this kind of things? I learned to do it reading the standard admin templates because i didn't found any related documentation.

Bye

Cristian

D K

Thursday 02 July 2009 3:36:01 am

Hi,

I have the same problem. Can you please help me how to do it?

Thanks.

http://www.eyepax.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.