Ok, I am working on a basic gallery.
I have a galleryholder, gallerypage, and the gallerypage has many ImageResources
when in the gallerypage.ss how can I control through the ImageResources but have groups of 5 ImageResources returned until all are returned? Or until a set number are returned?
I need to wrap every 5 in a div tag for use in a scroller.
the post here: http://www.silverstripe.org/data-model-questions/show/4871
explains my issue very well except for he had control over the number of segments. I may need two divs or 10.
So having a method for each isn't working (a have done this for a latestgalleries feature, since I know I have a minimum amount of data I am just calling the last 10 galleries).
I have found information on pagination thats going in the right direction, but I haven't been able to make the jump to getting a version to work for my purposes.