Actions
Feature #23534
closedFeature Proposal: add "rand" value to listNum
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-09-13
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:
Description
The listNum method should be able to return random entries of a list, not just fixed indexes and the last one.
Sometimes you just need a random picture...
Think of the following random picture viewer for page media:
10 = COA_INT
10.1 = IMAGE
10.1 {
stdWrap.required = 1
file.import = uploads/media/
file.import.listNum = rand
}
(issue imported from #M15698)
Files
Actions