Personal tools
You are here: Home Documentation Tutorials Tips for Managing Your Content Bulk Edit Content with a Collection
Document Actions

Bulk Edit Content with a Collection

By appending folder_contents at the end of a Collection results page you can bulk delete, rename, copy, cut, or change state this dynamically generated content.

Collections are extremely useful in a website for a number of reasons. They're great for displaying content dynamically, based on a search criteria that you set. With a simple trick you can use the results of a Collection to bulk edit your content items. Here's how:

  1. Navigate to a Collection you'd like to use
  2. Once there, add folder_contents to the end of the web address (i.e. http://www.mysite.org/upcoming-events/folder_contents)
  3. You should now see a screen that looks something like this:

 collection-folder-contents.gif

The same buttons that appear under the Contents tab are now available in the Collection results page. This means you can bulk delete, rename, copy, cut, or change state on this dynamically generated content without having to go to each folder where that content is contained.

Some common applications include situations where you want to:

- Delete all content from my site older than a certain date (i.e. content from before January 2009)

- Publish all content related to a particular keyword

- Delete news and events based on a relative date range (i.e. more than 6 months old)

- Many more!


Of course you would need to create the Collection capable of pulling the content items together that you wanted to edit.

 

 

 

 

 

 

 

 

 

 

 
by samk last modified 2008-12-12 12:54 All content on this site is licensed under a Creative Commons License.
Still Stumped?
If you've still got questions about Plone, here are your best bets for finding out more:
 

All content in this site distributed under the Creative Commons "Attribution-NonCommercial-ShareAlike" license unless otherwise noted.

Powered by Plone CMS, the Open Source Content Management System