Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Views for Products.Collage that display content with images from collective.contentleadimage

Project description

Introduction

This product allows the display of content with lead images within a Collage environment, in a Plone site.

The typical Summary view for a Folder or a Collection only displays images for News Items, the only default type that images can be assigned to. This package uses the existing ‘Folder lead-image view’ provided by collective.contentleadimage and displays the content within a Collage. Both Folders and Collections (Topics) can have this new Collage view applied to them.

Usage

Install this product using Buildout, or a similar method, and then start up your Plone instance. The ZCML configuration will automatically get picked up and register these additional views for your Collage content.

You should install collective.contentleadimage on your site in order for these Collage views to be useful. Assigning some lead images to content will also be necessary use these views to their potential.

Setting the layout

  1. Create a Collage.
  2. Add rows and/or columns accordingly to said Collage.
  3. Add a Folder or Collection to your Collage. This can be either actual content or an alias.
  4. In the Compose page for the Collage, locate the Layout link for the content you just added. Click this.
  5. Select Summary (lead images) and your new layout will appear.
  6. Assign lead images to content to have them appear in this layout.

Todo

  1. Some unit testing

Installation

  • Add collective.collage.contentleadimage to the list of eggs to install, e.g.:
[buildout]
...
eggs =
   collective.collage.contentleadimage
  • If you’re using a version of Plone earlier than 3.3, tell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance]
recipe = plone.recipe.zope2instance
...
zcml =
   ...
   collective.collage.contentleadimage

Authors

  • David Breitkreutz, JCU eResearch Centre [rockdj, davidjb]

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

Changelog

0.1 - 15 June 2010

  • Created initial documentation for the product [davidjb]
  • Developed initial views from existing Collage layouts, mixed together with views from collective.contentleadimage [davidjb]
  • Initial release

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.collage.contentleadimage, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size collective.collage.contentleadimage-0.1.tar.gz (11.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page