Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Teaser/Banner content type for Plone

Project Description

collective.teaser

Teaser/Banner content type for Plone

This Plone add-on installs the content type teaser, which is meant to be used for small advertisements on a homepage to advertise own or external content.

Randomly selected teasers will be shown in a Teaser portlet. An importance level controls the frequency, how often teasers are shown - a teaser with higher importance will be shown more frequently. If more teasers are shown in portlets on a page, one teaser isn’t shown twice.

If you need to show specific teasers only in specific portlets (e.g. to distinguish between horizontal and vertical teasers), use the importance levels or subject filter to assign teasers to those portlets.

Changelog

2.3 (2013-11-23)

  • Add an upgrade helper for old, pre 2.0 collective.teaser portlets by adding a dummy Assignment class to common.py. [thet]
  • Don’t restrict to only published teasers. Also show unpublished for users with appropriate permissions. [thet]
  • Just cache portlet rendering on request instead of custom cachekey function. [thet]

2.2

  • Fix Unicode. [rnix, 2012-09-26]
  • Fix use in conjunction with collective.lineage. [rnix, 2012-09-25]
  • Fix portlet assignment lookup. [rnix, 2012-09-25]
  • Add display_columns for teaser portlet. [rnix, 2012-08-16]
  • Add portlet header for teaser portlet. [rnix, 2012-08-16]

2.1

  • Fix HTML validation error - div not allowed as direct descendent of dl. [thet]

2.0

  • Configurable search path of teaser portlet. [rnix]

2.0b1

  • Remove IPortletAvailable adapter, which was a overcomponentized proof-of-concept and too complicated to be used. [thet]
  • Remove alternative image field, which was meant to allow a portlet to select an Landscape/Portrait image from the same teaser. The meaning of the option was unclear. Instead, upload two different Teasers and select different importance levels for it. [rnix, thet]
  • Option to get Teasers via AJAX call. This makes the teaser portlet better cachable. [rnix]

1.0

  • Remove text field and use optionally the description field instead. [thet]
  • Add Teaser to image_types in portal_atct to allow image scale recreation. [thet]
  • Add HistroyAwareMixin and configure Teaser to be versionable. [thet]
  • Initial release
Release History

Release History

This version
History Node

2.3

History Node

2.2

History Node

2.1

History Node

2.0

History Node

2.0b3

History Node

2.0b2

History Node

2.0b1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.teaser-2.3.tar.gz (41.7 kB) Copy SHA256 Checksum SHA256 Source Nov 22, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting