Hi all.
I've built my website using SS and extending it with gallery module, customized on my need, and two other simple modules created by myself.
In my structure, I choose to put a random-images area in each page of mine whole site. In this area I would show an html ul that contains images randomly taken from my whole image collection (GalleryPage 1, GalleryPage 2, ... ,GalleryPage N).
The problem is I cannot figure out how to start creating the controller function code in my page class.
My first idea was randomly querying single-imagefile table (I guess it's 'File' table...), place result in a DataObject and then control it via template. Now, how can I code these first two steps?
If there's another way, more correct and more simple than this, please share it with me.
Thanks in advance.
bye