Feature #20799
closedAdd a RANDOM cObject
100%
Description
Problem:
Sometimes you would like to have a cObject selected randomly from a list of cObjects. This feature can be used for different purposes.
Solution:
Add a new cObject "RANDOM"
Example:
page.20 = RANDOM
page.20 {
10 = TEXT
10.value = a
20 = TEXT
20.value = b
30 = TEXT
30.value = c
}
page.30 = COA_INT
page.30.10 = RANDOM
page.30.10 {
10 = TEXT
10.value = a
20 = TEXT
20.value = b
30 = TEXT
30.value = c
}
(issue imported from #M11606)
Files
Updated by Xavier Perseguers about 13 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
listNum now supports "rand": http://wiki.typo3.org/TYPO3_4.6#TypoScript.2FFrontend
Does it fullfill your needs or not?
Updated by Fabrizio Branca about 13 years ago
listNum = rand is nice! I think that should do the trick. With some additional TypoScript should be easy to realize my examples from the original ticket.
This ticket is two years old. I currently don't have any use case for this. If nobody else is watching this ticket, I would suggest to close and forget about it...
Updated by Xavier Perseguers about 13 years ago
- Status changed from Needs Feedback to Rejected
- % Done changed from 0 to 100
No need anymore