Re: HTML form element names (2)
From my experience....
Edit needs ContentObjectID as a hidden form field like this (add your own lt and gt html markers)
form method="post" action="main/content/action/"> input type="hidden" name="ContentObjectID" value="{$node.object.id}" /> input class="button" type="submit" name="EditButton" value="{'Edit'|i18n('design/standard/node/view')}" /> /form>Create needs ClassIdentifier and NodeID
input type="hidden" name="ClassIdentifier" value="my_custom_class" /> input type="hidden" name="NodeID" value="{$node.node_id}" />
Comments (1 historical)
Written by readers of the earlier documentation sites, kept as they were.
Re: Re: HTML form element names
P. Renaud ·
I post this here because the information is unfoundable on eZ, and is only available in the "Exponential basics" book... and is wrong.
After editing an object, you can redirect the user to a specific page. To do so, add the following in your template edit form :