madeyourday / contao-rocksolid-slider

RockSolid Slider Contao Extension
http://rocksolidthemes.com/de/contao/plugins/responsive-slider
Other
9 stars 7 forks source link

FR: Make it possible to alter slides on the fly #47

Closed m-vo closed 7 years ago

m-vo commented 7 years ago

It would be nice to have an option to create or manipulate slides on the fly. Maybe with an API or (for a more simple solution) a hook in parseSlides() that gives the opportunity to alter $objSlides.

This way it would be possible to use the slider to display dynamic content (without having to use an ugly hack).

ausi commented 7 years ago

For dynamic content, you could create your own element/module that handles the HTML output and just use the JavaScript from the slider extension.

m-vo commented 7 years ago

You are right, the rest of the module is not that much overhead and that way it's less coupled. Thanks for the response.