Hey, so i´m currently working on a Website and I want to implement an imageslider but instead of images I want it to display module so you can add “news” or something like that. It should be infinite.
My current html Twig is:
{% for module in page.collection() %}
{{ module.content|raw }}
{% endfor %}
The idea is, that i check for modules that fit and it should display every module in a seperate slide.
My problem is, it doesnt show me any Modules and when i try to debug it with:
{% else %}
No Modules found
it always says “No Modules found”.
Anyone know how to fix this? or know what i am doing wrong?
Thanks for the help.