Is it possible to display a random entry from a Plasmic CMS?
e.g. to have a testimonials, ordered by RAND()?
Is it possible to display a random entry from a Plasmic CMS?
e.g. to have a testimonials, ordered by RAND()?
Yes, you can use a dynamic value. Grab the list of testimonials, generate a random number within that list, and display only that testimonial.
thanks @jason - is there a neat way of displaying X random items rather than one at random?
The scenario here is if there are 5 testimonials in the database, and I want to display 3 at once, but without any repeats.
Yes, you should be able to generate X unique random numbers and display them all with repetition.