/cmsplugin-slick

Primary LanguagePythonMIT LicenseMIT

https://travis-ci.org/Atterratio/cmsplugin-slick.svg?branch=master https://codecov.io/gh/Atterratio/cmsplugin-slick/coverage.svg?branch=master

cmsplugin-slick

Slick carousel plugin fo Django-CMS

REQUIREMENTS

  • Python >= 3.3
  • Django >= 1.8
  • Django-CMS >=3.3

INSTALLATION

  • run pip install cmsplugin-slick or pip install git+https://github.com/Atterratio/cmsplugin-slick.git;
  • add cmsplugin_slick to your INSTALLED_APPS;
  • run manage.py migrate;

UPDATE

Migrate to version 0.3.0 and older, from versions lesser 0.3.0 don't support. Remove all older version and install this.

Components and Usage

Module Slick Carousel contains the following plugins Slick Carousel, Wrapped Slide, CarouselFolderImages

Slick Carousel

Parent slider plugin. Any other plugin can be added as a child (as a slide), or you can use special plugins, that generate a list of elements (see SlickCarouselFolderImagePlugin for one such example)

Wrapped Slide

Allow wrapp several Django-CMS plugins like one slide. For example you can add image and text plugis, and text will be like caption for image.

Image Folder Carousel

Returns images from filer folder as carousel slides

Notes

By default plugin used oficial slick CDN //cdn.jsdelivr.net/jquery.slick/1.6.0/, if you want update version, you can put in static/cmsplugin_slick/slick folder of you project prefered slick project files, or add SLICK_CDN setting in you progect settigs.py file. Local files have a higher priority.