Skip to main content

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 files for collective.teaser 2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.teaser 2.3
File Size Uploaded
collective.teaser-2.3.tar.gz 41.7 kB Details

Release files / collective.teaser-2.3.tar.gz

Download URL collective.teaser-2.3.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2aeefed9ce7105099bcaa9a1fbd218d27d2d37147a47b626c23ac6448beefac5
BLAKE2b-256 checksum
How to use checksums
453d1243a7d3f908d076951a31959261a1c1f9ba17fbaf6e5737a565234dd110
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.3 This release

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page