Skip to main content

Slider content type for Plone.

Project description

Introduction

This product let you create a simple slideshow, using slick.

In each slider-pane you can define:

  • An image

  • HTML text

  • A link

If ftw.contentpage is installed there will be registered a new view for the ListingBlock displaying images in a carousel. See last screenshot.

Installation

  • Add ftw.slider to your buildout configuration:

[instance]
eggs +=
    ftw.slider
  • Run bin/buildout

  • Install the generic import profile.

Compatibility

Runs with Plone 4.3.

How to use ftw.slider

If you want to display a slideshow on your content, just create a ftw.slider.Container and add some ftw.slider.Pane.

There is a viewlet which checks your content for a slider-container and displays its containing panes.

Screenshots

Using ftw.slider with default plone:

https://github.com/4teamwork/ftw.slider/raw/master/docs/screenshot_default.png

The slideshow is responsive (here OneGovBox as example):

https://github.com/4teamwork/ftw.slider/raw/master/docs/screenshot_onegov.png

The ftw.contentpage carousel block with default plone:

https://github.com/4teamwork/ftw.slider/raw/master/docs/screenshot_listingblock_plone.png

Changelog

2.3.2 (2015-12-04)

  • Fix slider pane initialization. The slider panes are invisible per default. After the slider is initialized by the javascript, the panes will be visible. This fix prenet ugly stylings while loading the slider. https://github.com/4teamwork/ftw.slider/issues/51 [elioschmutz]

2.3.1 (2015-11-30)

  • Register ftw.slider.slider viewlet on IViewView to prevent rendering the viewlet on non-canonical views. [elioschmutz]

  • Update sliderpane for accessiblity

    • Show always empty image alt and title attributes on a pane

    • Remove unused descriptionfield on a pane

    [elioschmutz]

2.3.0 (2015-09-30)

  • Add translations for play, pause, next and previous buttons. [Kevin Bieri, jone]

  • Add slick_config field to container schema [elioschmutz]

  • Add css class if pane has text [elioschmutz]

  • Initialize sliderpanes on pageload [elioschmutz]

  • Use UID-based scaling urls in order to have caching. [jone]

  • Mark image field as primary field. [jone]

  • Fix plonetheme.onegov integration. [mbaechtold]

  • Refactor SCSS registration. [Kevin Bieri]

  • Fix initialisation error for slider in IE10 [Kevin Bieri]

  • Link the slider pane to an external url. [mbaechtold]

  • Implement play and pause button. [Kevin Bieri]

  • Use DOM exposed configuration for slider initialisation. [Kevin Bieri]

  • Extend configuration for play and pause functionality. [Kevin Bieri]

  • Don’t hide the slick arrows. [mbaechtold]

  • Add Plone 4.3.5 support. [jone]

2.2.0 (2015-05-18)

  • Disable slider dots. [Kevin Bieri]

  • Update slick.js to 1.5.5 [Kevin Bieri]

2.1.4 (2015-02-24)

  • Fix invalid html structure (replace h2 with p tag). [kevin.bieri]

2.1.3 (2014-10-23)

  • Fix loading ajax-loader.gif in production mode. [mathias.leimgruber]

  • Fixed ie9 slider buttons (appended z-index to bring the button to the foreground)

2.1.2 (2014-09-30)

  • Install plone.formwidget.contenttree - if not yet installed. [mathias.leimgruber]

2.1.1 (2014-08-15)

  • Added sass styles for plonetheme.onegov. [Julian Infanger]

2.1.0 (2014-07-16)

  • Added slider block view for listingblock. Only is registered if ftw.contentpage is installed. [Julian Infanger]

  • Added missing upgradestep to use slick resources. [Julian Infanger]

2.0.0 (2014-06-25)

  • Use slick for slider. This requires Plone 4.3! https://github.com/kenwheeler/slick This supports swipe on iphone, fade effect, … [Julian Infanger]

  • Cleaned up pep8 violations. [Julian Infanger]

1.2.0 (2014-03-13)

  • Get the parents slider if you are on a default page. If the context is a page which is set as default layout page, try to get the parents slider container to display. [Julian Infanger]

  • Package adjustments

    • Remove ftw.slider.Container from navigation

    • Remove ftw.slider.Container and ftw.slider.Pane from searchable types

    [elio.schmutz]

  • Added support for plone.app.multilingual. [Julian Infanger]

  • Only enable slider behaviour if there are at least two panes. Otherwise display the single slider pane without the slider controls. [Julian Infanger]

  • Do no use RelationChoice (z3c.relationfield) if you don’t use Relations. I guess we should use plone.app.relationfield. The old implementation did not make any sense. Storing string value in a RelationField. [mathias.leimgruber]

1.1.0 (2013-12-13)

  • Do not display the slider, if there are no images. This caused a javascript error. [Julian Infanger]

  • Add a simple description how to use ftw.slider into README. [Julian Infanger]

  • Added a link field to link the whole pane. [Julian Infanger]

  • Show title in slider pane if there is text to display. [Julian Infanger]

1.0.0 (2013-09-24)

  • Initial version.

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

ftw.slider-2.3.2.tar.gz (1.9 MB view hashes)

Uploaded Source

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