Upayavira wrote:
Andreas Hartmann wrote:
The min and max random number values would be configured in cocoon.xconf.
That's the problem then, how do you keep track of a variable number of images?
OK, this is a problem.
No it's not. You just define the input module as many times as you need with different names and different ranges, random10, random20, etc.
Yes, but I think it should be possible to select the max number dynamically, depending on the number of images that are located in the directory.
Fair enough. Surely it shouldn't be hard to extend the random input module to be able to handle {random:10} or {random:20}? Assuming someone needs it. Or even {random:1-20}.
Upayavira
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
