Forums / Developer / Action to edit content

Action to edit content

Author Message

David Santiso

Monday 28 February 2011 11:44:05 am

Hi,

To create objects from front page I put a form with a submit button:

<form method="post" action={"content/action"|ezurl}>
 <input type="hidden" name="ClassIdentifier" value="comment" />
 <input type="hidden" name="NodeID" value="{$node.object.main_node.node_id}" />
 <input type="hidden" name="ContentLanguageCode" value="{ezini( 'RegionalSettings', 'ContentObjectLocale', 'site.ini')}" />
 <input class="new_comment button" type="submit" name="NewButton" value="{'New comment'|i18n( 'design/ezwebin/full/article' )}" />
 </form>

But If I want edit a object, what action have I to use?

Thanks,

David