How to remove objects from a section

How to remove objects from a section

Tuesday 19 July 2005 4:51:55 pm - 2 replies

Author Message

Konrad Mazurkiewicz

Wednesday 20 July 2005 2:12:57 am

To move nodes or objects between sections you should use
"sections" from setup part and assign objects (folders, nodes) to other section.

Konrad

Frey Staso

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>

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.