Welcome, Guest
Username: Password: Remember me

TOPIC: Random

Random 4 years 4 months ago #571

  • marxxelo
  • marxxelo's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
hello,

its posible to display data randomly?

thanks
Marcelo
The administrator has disabled public write access.

Re:Random 4 years 4 months ago #577

  • tomaz
  • tomaz's Avatar
  • OFFLINE
  • Administrator
  • Posts: 723
  • Thank you received: 49
  • Karma: 8
It is not made to set it directly. But if you are a little bit familiar with coding it should not be too hard to make a workaround.

The sql order by clause is generated in components/com_grid/GridBuilder.php around line 186.

MySQL syntax for random order is
ORDER BY RAND()

Regards,
Toma┼ż
How about posting a review on JED? Table JX, Card View JX, Paid Downloads JX
The administrator has disabled public write access.
Time to create page: 0.160 seconds