silverware/slider

SilverWare Slider Module.

Installs: 169

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

1.3.1 2018-06-26 06:17 UTC

This package is not auto-updated.

Last update: 2024-11-10 05:40:20 UTC


README

Latest Stable Version Latest Unstable Version License

Provides a slider component for use with SilverWare.

Contents

Requirements

Installation

Installation is via Composer:

$ composer require silverware/slider

Usage

This module provides a SliderComponent which can be added to your SilverWare templates or layouts using the CMS.

Slider Component

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

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.

List Sources

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.

Issues

Please use the GitHub issue tracker for bug reports and feature requests.

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information.

Attribution

Maintainers

License

BSD-3-Clause © Praxis Interactive