Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Removing Content

eZ Publish uses a “trash” container (familiar from common operating systems like Windows and Mac OS X). When you remove content, you are actually just moving it to the trash container. It can be restored at any time up until the trash container is emptied.

To remove content, browse to the desired object and click on the Remove button on the Website Toolbar. Alternatively, for embedded content, click on the Delete button near the content object.

You will be prompted to specify whether the content should be moved to the trash or deleted completely:

  • Remove the content by moving it to the trash (default).
  • Erase the content by unchecking the checkbox Move to trash.

Be very careful when removing and deleting content, since these actions also affect other content on the site:

  • If you remove a container, the sub-items will also be removed. For example, if you remove folder containing articles, you will also remove the articles.
  • If there are links to the content, when you remove the content the links are broken.

Retrieving content from the trash

To retrieve removed content from the trash container, log in to the Administration Interface and click on the Trash icon on the left side.

Retrieving Content from Trash

Retrieving Content from Trash

The trash container has a “flat” structure, which means that all objects are listed at the same level regardless of their place in the original content hierarchy.

To restore a content object from the trash, click on the pencil icon in the right column. You will be prompted if you want to restore the object to its original location or to a new location. After specifying the location, click OK.

If you try to retrieve content to a location where the original content container has been removed, you will be forced to choose a new location for it.

Andrea Melo (20/12/2012 4:15 pm)

Andrea Melo (09/01/2013 3:36 pm)


Comments

There are no comments.