kirsten / slidercarousel
A simple and clean image slider/carousel component for OctoberCMS
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:october-plugin
Requires
- php: >=7.2
- composer/installers: ~1.0
README
A simple and clean image slider/carousel component for OctoberCMS. This plugin provides a drag-and-drop slider component that can be easily added to any page.
Features
- Responsive design that works on all devices
- Touch-friendly for mobile devices
- Configurable number of slides per view
- Optional autoplay with configurable delay
- Optional navigation arrows
- Optional pagination dots
- Beautiful transitions and effects
- Support for titles, descriptions, and links
- Image optimization with thumbnails
- Easy drag-and-drop reordering in the backend
Installation
- Clone this repository to your OctoberCMS plugins directory:
git clone https://github.com/yourusername/slider-carousel.git plugins/kirsten/slidercarousel
- Run the following commands in your OctoberCMS root directory:
php artisan plugin:refresh Kirsten.SliderCarousel php artisan october:up
- Add Swiper.js to your theme's layout file:
<link rel="stylesheet" href="https://unpkg.com/swiper@8/swiper-bundle.min.css" /> <script src="https://unpkg.com/swiper@8/swiper-bundle.min.js"></script>
Usage
- Go to the backend and click on the "Slider" menu item
- Add your slides with images, titles, descriptions, and links
- Reorder slides using drag and drop
- To add the slider to any page:
- Go to the CMS page editor
- Click the "Components" button
- Find "Image Slider" in the list
- Drag it onto your page
- Configure the options as needed
Configuration Options
- Slides per view: Number of slides to show at once
- Autoplay: Enable/disable automatic sliding
- Autoplay delay: Time between slides in milliseconds
- Show navigation: Enable/disable next/previous buttons
- Show pagination: Enable/disable pagination dots
Version History
- v1.0.1 - Initial release
License
This plugin is licensed under the MIT License - see the LICENSE file for details.