SilverStripe Bootstrap Carousel
This module provides an easy way to include a Bootstrap 4 Carousel
in your site., (*1)
Requirements
- SilverStripe ^4
- Bootstrap 4
Installation
Install via Composer, (*2)
composer require twohill/silverstripe-carousel
Update your mysite/_config/mysite.yml
, (*3)
Page:
extensions:
- Twohill\Carousel\Extensions\Carousel
Run dev/build
, (*4)
License
3-clause BSD. See License, (*5)
Documentation
Ensure you include jQuery and Bootstrap javascript on your page. Because people use many different versions of
jQuery this module does not make any assumptions as to what version you are using., (*6)
Suggested code to be included in Page.ss
, (*7)
<% include Carousel %>
The template used is in templates/Includes/Carousel.ss. To override this, simply
copy into your theme/Includes
folder., (*8)
See Bootstrap 4 Carousel for available options to override., (*9)
Maintainers
Bugtracker
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over
existing issues to ensure yours is unique., (*10)
If the issue does look like a new bug:, (*11)
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots
and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version,
Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker., (*12)
Development and contribution
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers., (*13)