Forums / Developer / Clearing cache after changing priority [solved] / Comment47999
Atle Pedersen
Wednesday 21 March 2007 10:15:28 am
I'm trying to do this from a template using the following html and template code:
<form method="post" action={"/content/action"|ezurl}> <input type="text" name="Priority[]" size="3" value="{$person.priority}" title="" /> <input type="hidden" name="PriorityID[]" value="{$person.node_id}" /> <input type="hidden" name="ContentNodeID" value='{$listenid}' /> <input type="hidden" name="redirecthack" value="{$node.url_alias}" /> <input type="hidden" name="ContentObjectID" value='{$objecth[$listenid]}' /> <input type="submit" name="UpdatePriorityButton" value="Endre prioritet" title="Høyere prioritet vises tidligere" /> </form>
$listenid is a node id and $objecth[$listenid] is the objectid of the same node.