Share » Forums » Developer » edit an node

edit an node

edit an node

Thursday 23 October 2008 2:02:46 am - 1 reply

Modified on Thursday 23 October 2008 2:06:12 am by justin kazadi

Author Message

Grégory BECUE

Thursday 20 November 2008 1:14:54 pm

I'm not sure to understand what you want to make but ...
If you want to use a template for editing a node, it's possible : frontend editing.

i think you must to complete your code with hidden field :

<form method="post" action={"content/action"|ezurl}>
<input type="hidden" name="ClassIdentifier" value="ged_fichier" />
<input type="hidden" name="ContentObjectID" value={$node.contentobject_id} />
<input type="hidden" name="ContentLanguageCode" value={ezini( 'RegionalSettings', 'Locale', 'site.ini')} />
<input class="button new_comment" type="submit" name="EditButton" value="Soumettre une nouvelle version" />
</form>

And it's very important to have an hidden field EditButton (or AddButton) >> see action file

Greg

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

36 542 Users on board!

Forums menu