Provides a slider component for use with SilverWare.
Installation is via Composer:
$ composer require silverware/slider
This module provides a SliderComponent
which can be added to your SilverWare templates or
layouts using the CMS.
The SliderComponent
represents an instance of jQuery lightSlider. Slides
may added to the slider by adding either a slide or a list source to the slider using the CMS.
The dimensions and resize method used for slides is configured using the Style tab of the component. You may also select the font icons to use for the next and previous controls, the dimensions and resize method used for slide thumbnails (if enabled), along with custom colors on the same tab.
On the Options tab, you can define the slide speed and pause in milliseconds, the slide transition mode, adaptive height, pause on hover, and a number of other settings. If the "Show thumbnails" option is checked, a series of small thumbnails will appear under the slider for each slide.
Slides are added as children of the component using the site tree. Each slide may have an image, caption, and a link to either a page within the CMS, or a URL. Slides will appear in the order defined within the site tree.
A special type of slide is a "List Source Slide". This type of slide allows you to choose a list source
from within your CMS (e.g. blog, gallery etc.) and render the list items as slides within the slider.
Each item object must make use of the SilverWare MetaDataExtension
and the ListItem
trait.
Please use the GitHub issue tracker for bug reports and feature requests.
Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.
- Makes use of jQuery lightSlider by Sachin N.
Colin Tucker | Praxis Interactive |
BSD-3-Clause © Praxis Interactive