[TYPO3-core] RFC #15698: Enable "rand" parameter to listNum method
Maximilian Kalus
max at beimax.de
Mon Sep 13 20:42:00 CEST 2010
Hello,
this is a SVN patch request.
Type: Feature
BT Reference: http://bugs.typo3.org/view.php?id=15698
Branches: trunk
The listNum method should be able to return random entries of a list.
Additional Information:
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
}
How to test:
apply the patch, create a page and use its media field by uploading a
few pictures, try TS above on in.
Best regards,
Max.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0015698.diff
Type: text/x-patch
Size: 1438 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100913/235224ea/attachment.bin>
More information about the TYPO3-team-core
mailing list