Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
Hi,

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
Hi,

I checked and this random ordering seems to be working as expected for me.
Which version of Couch are you using?
Also, make sure the page is not getting cached somewhere (try adding some random stuff to it and see if it appears on screen
).

Please let me know.
It says on the bottom of my couchcms login:

CouchCMS Version 2.0 (20170729)

F**.. do I need to update?
F**.. do I need to update?

Yes, that seems to be the case :)
Thank you so much KK, it's working now :)
You are welcome :)
6 posts Page 1 of 1