Download the PHP package taitava/silverstripe-slickcarousel without Composer
On this page you can find all versions of the php package taitava/silverstripe-slickcarousel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package silverstripe-slickcarousel
silverstripe-slickcarousel
A Slick carousel wrapper for SilverStripe. See: http://kenwheeler.github.io/slick/
Requirements
- SilverStripe 4 (use this module's release line 2.0 and onwards)
- Or: SilverStripe 3 (use this module's release line 1.x)
- unclecheese/display-logic module (any version that is compatible with SS4/SS3)
Usage
THE README IS COMING! If you need it, please raise an issue about the readme, and I will hurry with it. But don't be afraid, the module is quite easy to use. The simplest setup contains just a few steps:
-
Extend your
Page
class with Taitava\SlickCarousel\CarouselExtension (or SiteTree class or any other class derived from SiteTree). Create a new fileapp/_config/slickcarousel.yml
and put this content there: - Put $Carousel inside your Page.ss (or similar) layout template.
- Run /dev/build?flush=all
- Go to the CMS and go to edit some page and look for the new Carousel tab.
Slick carousel options can be configured via YAML:
The autoplay option is just an example. For a complete list of available options, please see: http://kenwheeler.github.io/slick/#settings
The module is still under development, so I don't consider it stable yet. (Update 2017-01-14: I'm using this module on a few websites in production and the module has done it's job well so far, but please let me know if you encounter any problems). However, Slick is stable so there's actually not much that can break, as the wrapper is quite simple! :)
Optional settings
You can tweak these settings in app/_config/slickcarousel.yml
. Here are the options are listed with default values.
All versions of silverstripe-slickcarousel with dependencies
silverstripe/cms Version ~3.1
unclecheese/display-logic Version *