Home Tour Demo FAQ App Gallery Buy Now    
Home > Template Tags > How to list entries in random order?


How to list entries in random order?

{RANDOM_RESULT }

{RANDOM_RESULT} tag returns random results from an application database. You can then use LOOP tag to show these results. You can also define the number of results like the following: {RANDOM_RESULT:profile:4}

Example:
{RANDOM_RESULT:profile:4}
{LOOP:profile}
    ....
{LOOP:end}

This example will bring four random users on your page.




Tags: template tags
Related Articles:


Add a new comment

Send Comment

 
 
Customer Log-in | Support Forums | User Guide | Free Form Builder | Contact Memberkit Team