Skip to main content

An image slider block to be used on a content page powered by ftw.simplelayout

Project description

Introduction

This package is an addon for ftw.simplelayout. Please make sure you already installed ftw.simplelayout on your plone site before installing this addon.

SliderBlock provides the integration of an image slider on a page powered by ftw.simplelayout. It uses the existing functionality of ftw.slider.

Compatibility

Plone 4.3.x

https://jenkins.4teamwork.ch/job/ftw.sliderblock-master-test-plone-4.3.x.cfg/badge/icon

Plone 5.1.x

Please use 2.x Releases. Be aware that the new dropzone based upload solution needs ftw.simplelayout 2.0.0. Thus version 2.x of ftw.sliderblock requires a ftw.simplelayout 2.x version.

Installation

  • Add the package to your buildout configuration:

[instance]
eggs +=
    ...
    ftw.sliderblock

Usage

Drag a SliderBlock form the toolbox into your page and add some SliderPane by switching to the folder listing view of the SliderBlock.

Development

Python:

  1. Fork this repo

  2. Clone your fork

  3. Shell: ln -s development.cfg buidlout.cfg

  4. Shell: python boostrap.py

  5. Shell: bin/buildout

Run bin/test to test your changes.

Or start an instance by running bin/instance fg.

Changelog

2.1.1 (2020-08-05)

  • Add missing icon for the folder contents action when ftw.simplelayout 2.x is installed [Nachtalb]

2.1.0 (2020-06-02)

  • Introduce slots for easier customization of the template. [mathias.leimgruber]

  • Add required dropzone template to upload functionality. [mathias.leimgruber]

2.0.4 (2020-05-29)

  • Remove plone.app.referenceablebehavior in plone 5. [busykoala]

2.0.3 (2020-01-09)

  • Add ftw.sliderblock portal_type translation to plone domain. [tinagerber]

2.0.2 (2019-12-17)

  • Add data-index attr to buttons of dot template. [mathias.leimgruber]

  • Fix file upload on plone4 [Nachtalb]

  • Provide precompiled bundle to fix JS in production [Nachtalb]

2.0.1 (2019-05-10)

  • Fix init loading issue. This was a regression from 1.6.0. [mathias.leimgruber]

2.0.0 (2019-04-18)

  • Use new dropzone based upload solution of ftw.simplelayout 2.x [mathias.leimgruber]

  • Add Plone 5.1 support [busykoala]

1.6.0 (2019-04-09)

  • Use title, or alt text of image as “dot” text. If there is none, use index as fallback. [mathias.leimgruber]

  • Use alt text from ftw.slider 3.1.6 if available. [mathias.leimgruber]

1.5.1 (2018-09-28)

  • Hide slider pane inneredit icon when editmode is disabled [Nachtalb]

1.5.0 (2018-09-25)

  • Implement image-limits and imagecropping for sliderblock. [elioschmutz]

1.4.0 (2017-10-23)

  • The Slick default config (used when creating a slider block) can be customized trough a registry record. [mbaechtold]

1.3.3 (2017-05-17)

  • Fix rendering of external link. [Kevin Bieri]

1.3.2 (2017-03-07)

  • Make SliderBlock addable on plone site per default [raphael-s]

1.3.1 (2017-01-17)

  • Improve sliderblock if internal link of pane has leading slash. [mbaechtold]

1.3.0 (2017-01-10)

  • New option on the slider pane allows to render the title of the pane without the need of adding a slider pane text. Until now the title was only rendered when the pane had some text (requires at least ftw.slider 3.1.0). [mbaechtold]

1.2.0 (2016-12-07)

  • Add checkbox to choose if the image should be cropped or not. [mathias.leimgruber]

1.1.0 (2016-10-25)

  • This release needs at least ftw.slider 3.0.0. [mathias.leimgruber]

  • This release needs at lease ftw.simplelayout 1.12.0. [mathias.leimgruber]

  • Initialize new uploaded slider panes on sliderblock. [mathias.leimgruber]

  • Add simple is image validator for upload factory. [mathias.leimgruber]

  • Enable upload action on sliderblock. [mathias.leimgruber]

  • Implement direct edit of slider panes on the sliderblock. [mathias.leimgruber]

  • Use sliderblock specific scale [Kevin Bieri]

1.0.2 (2016-08-15)

  • Remove workflow from ftw.slider.Pane [raphael-s]

1.0.1 (2016-08-09)

1.0.0a1 (2015-12-04)

  • Nothing changed yet

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.sliderblock-2.1.1.tar.gz (2.7 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