Hello, on the basis of the skelette Shop de grav I’m trying to put two “sliders” type text one below the other, I succeeded halfway by modifying the file “lightslider.html.twig”, but the problem is that I do not find where to adjust, not to have the same images in both sliders.
@jefrey, One could try two approaches to show multiple galleries on a single page:
Refactor Lightslider to make it show two different galleries. I have no idea how to do that…
Or placing two Lightsliders on the same page and select a different source for each Lightslider. I would know how to do that…
Step 1:
Add second slider on the page by altering the template for the page: /user/plugins/snipcart/templates/snipcart.html.twig
{% include 'modular/lightslider.html.twig' ignore missing with {'page': page.find('/slider', true)} %}
{% include 'modular/lightslider.html.twig' ignore missing with {'page': page.find('/slider2', true)} %}
Step 2:
Create folder /user/pages/slider2, add images and lightslider.md. Both galleries can now have different images, different text and different configurations.