This project is not maintained anymore.
A content element in Contao that allows quickly selecting several images and making a slidehow. It works similar to the Gallery content element but is focussed on simplicity and is responsive.
- Contao 3.0.x
- ResponsiveSlides.js v1.53+
- Download the ResponsiveSlides.js package and place it in TL_ROOT/assets/responsiveslides (at least responsiveslides.min.js and responsiveslides.css)
- Copy the system folder into the root folder from Contao
- Update the database (e.g. with the Extension manager)
- Add a content element
- Select 'Slider' from the media section of the element type.
- Under files and folders hit Change selection and pick your images.
To add a caption: edit the image meta data via the file manager:
- Click the drive icon next to 'Source files'
- Navigate to the image you want to edit
- Hit edit and set the caption/title/...
expert fields > code You must enter VALID encoded json that PHP could decode, if it doesn't decode it's judged invalid and will not be loaded.
Make edit page display files as images like gallery.
- might need to override FileTree.php and update line 106 which checks for record type == gallery
- https://github.com/leofeyer/autoloader
Update/improve the validation to check the code against the responsive slide options API.
- check the keys
- check the types of variables per key (optional)
Settings don't work with multiple sliders on the same page,
- use a counter or something and make them not share the settings.
- also make sure the load code get included from here and not some random place.
- Initial release
- Author: Nothing Interactive, Switzerland
- Website: https://www.nothing.ch/
- Version: 0.1.0
- Date: 2013-03-14
- License: GNU Lesser General Public License (LGPL)