Skip to main content

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

Project details


Download files

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

Source Distribution

collective.teaser-2.3.tar.gz (41.7 kB view details)

Uploaded Source

File details

Details for the file collective.teaser-2.3.tar.gz.

File metadata

File hashes

Hashes for collective.teaser-2.3.tar.gz
Algorithm Hash digest
SHA256 2aeefed9ce7105099bcaa9a1fbd218d27d2d37147a47b626c23ac6448beefac5
MD5 adf544fa243fad7fc956100d21fa3ec3
BLAKE2b-256 453d1243a7d3f908d076951a31959261a1c1f9ba17fbaf6e5737a565234dd110

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page