SourceForge has been redesigned. Learn more.
Close

#282 Could make random image select

open
nobody
Core (214)
5
2012-09-25
2008-05-24
zoullou
No

Hi,

I use the XoopsImageHandler::getObjects function in eXtCal to pick random image for the Minical. But this function allow to make a sort only on 'image_id', 'image_created', 'image_mimetype', 'image_display', 'image_weight' field. We just have to add the 'RAND()' value to the array on kernel/image.php at line 219 (XOOPS 2.0.18.1).

Yours

Discussion


Log in to post a comment.