Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A behavior to create sliders with banners

Project Description

collective.behavior.banner

A behavior to create banners and sliders from banners.

Features

Slider

The behavior collective.behavior.banner.slider.ISlider adds th eoption to add relations to several banners (i.e. items that have the Banner-behavior enabled). These banners are then displayed like a banner but fade .

The slider-viewlet uses the js-library http://responsiveslides.com and fades from one banner to another. You can easily use a different javascript-libray by overriding the viewlet-templates (see below).

Before you use a slider/carousel on your website plase take time to read this http://shouldiuseacarousel.com.

Inheriting

Banners are inherited to child-objects. In a controlpanel you can configure which types should display inherited banners. You can also prevent inheriting banners for an item and its child-objects by enabling the option Do not inherit banner from parents on the banner-tab.

Customization

To change the appearance (e.g. if you use a bootstrap-theme or want to use a different effect in the slider) you can easily override the respective viewlets with z3c.jbot or plone.app.themingplugins (if you use plone.app.theming). The names of the files to create would be collective.behavior.banner.browser.banner.pt and collective.behavior.banner.browser.slider.pt.

Demo

collective.behavior.banner is used on the following sites:

Compatability

collective.behavior.banner works in Plone 4 and Plone 5.

The branch plone4 supports Plone 4 while the branch master works in Plone 5 only.

Installation

To install collective.behavior.banner you simply add collective.behavior.banner to the list of eggs in your buildout, run buildout and restart Plone. Then, install collective.behavior.banner using the Add-ons control panel.

Enable the behavior by hand or in the FTI <your_package>/profiles/default/types/Folder.xml

<?xml version="1.0"?>
<object name="Folder" meta_type="Dexterity FTI">
 <property name="behaviors" purge="False">
  <element value="collective.behavior.banner.banner.IBanner"/>
 </property>
</object>

Support

If you are having issues, please let us know at https://github.com/collective/collective.behavior.banner/issues.

Contributors

Contributors

orphan:

Changelog

0.2 (2015-11-30)

  • Add Documentation. [pbauer]
  • Remove grok. [pbauer]
  • Simplify traversing. [pbauer]
  • Unify css and templates. [gomez]
  • Basic styling for banner/slider. [santonelli]

0.1 (26.3.2014)

  • Initial release. [pbauer, gomez]
Release History

Release History

This version
History Node

0.2

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.behavior.banner-0.2.tar.gz (15.5 kB) Copy SHA256 Checksum SHA256 Source Nov 30, 2015

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