I know you can easily load a random entry from a channel, but I wanted to know if the functionality exists in EE to randomly embed and load a template from a group?
Thanks in advance for any guidance on this.
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityI know you can easily load a random entry from a channel, but I wanted to know if the functionality exists in EE to randomly embed and load a template from a group?
Thanks in advance for any guidance on this.
a quick thought come to my mind is to create templates with the same name and change the prefix number for e.g: test_1,test_2,test_3......,test_100
then use this plugin to generate the random number:
http://devot-ee.com/add-ons/random-between
{embed='test_{exp:ga_randombetween start="0" stop="100"}'}
Regard's.