Wednesday 20 July 2005 4:28:13 pm
In the admin section, if you click on the ICON of the object you want to remove, you get a context sensitive menu with "remove" on it. Otherwise you can use this code to make an edit and delete button. It would delete the current object.
<form action="/content/action" method="post">
<input type="hidden" name="NodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.contentobject_id}" />
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.contentobject_id}" />
<input type="hidden" name="ViewMode" value="full" />
<input class="button" type="submit" name="EditButton" value="Edit" />
<input class="button" type="submit" name="ActionRemove" value="Delete" />
</form>
|