[support] View with one random of the latest 10 posts

steeph ml at mixblog23.de
Thu Mar 1 23:05:58 UTC 2012


On 01.03.2012 23:44, Joel Willers wrote:
> Well, you can make a view that orders by creation date and shows 10, then, in the .tpl.php for the view (views--view-name_of_view.tpl.php), you can change the display to only show a random element of the array of items.
Thanks! I think that will do it.

If there's a module to do the same, I'd rather use this. But using the 
.tpl.php file should work, too.


More information about the support mailing list