Hi,
I'm trying to get a show_repeatable tag to output in a random order but I'm not succeeding.
I've added order='random' to show_repeatable but it doesn't seem to work.
Any PHP-based suggestions for this? Basically I'm trying to shuffle all .swiper-slide 's once you refresh the page and I can't use Javascript for this.
Thank you so much
I'm trying to get a show_repeatable tag to output in a random order but I'm not succeeding.
- Code: Select all
<cms:show_repeatable 'my_multiple_images' >
<div class="swiper-slide">
<img data-src="<cms:show my_image />" class="img-responsive swiper-lazy lazyload" alt="<cms:show title />">
</div>
</cms:show_repeatable>
I've added order='random' to show_repeatable but it doesn't seem to work.
Any PHP-based suggestions for this? Basically I'm trying to shuffle all .swiper-slide 's once you refresh the page and I can't use Javascript for this.
Thank you so much