[solved] content/action : button to remove an object

[solved] content/action : button to remove an object

Tuesday 02 August 2005 9:56:26 am - 2 replies

Modified on Thursday 04 August 2005 7:27:24 am by Antoine W.

Author Message

Paul Borgermans

Tuesday 02 August 2005 10:44:58 am

Hi

Try this:

<form method="post" action={"content/action"|ezurl}>
<input type="hidden" name="ContentNodeID" value="{$node.object.main_node_id}" />
 <input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
    <input type="image" name="ActionRemove" src={"small/edittrash.gif"|ezimage} />
</form>

If you do not have an icon, you can use a button of course

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Antoine W.

Thursday 04 August 2005 7:26:36 am

Thanks Paul, this code works fine :)

You must be logged in to post messages in this topic!

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