Monday 30 March 2009 4:14:33 pm
Hello, I was wondering if it was possible to change the section of a content object without having to enter the edit mode, with a special form with specific action URL and particular hidden fields ? I tried to "copy" the "Assign Section" functionnality in the edit form with something like that : <form action="{concat('content/edit/', $node.contentobject_id,'/',$node.object.current_version)|ezurl('no')}" method="post">
<input type="hidden" name="SelectedSectionId" value="6"/>
<input type="submit"name="SectionEditButton" value="Assign"/>
</form>
But it doesn't actually work. Would another approach based on section-side assignment (like in Administration -> Section page) work ? How can I skip the browse part in this case ?
Thanks in advance, Benjamin
eZ Publish personal project : http://www.aeriesguard.com [fr]
|