Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Data Model Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Persistant DataLists Accross Controllers


Go to End


544 Views

Avatar
zenmonkey

Community Member, 545 Posts

26 November 2012 at 7:51am

I'm wondering about crating a persistant alterable DataList for use on a page in SS3. On my page I have a $has_many images, but I use them in differnt ways in the template (gallery rotator as well as a thoughout the body of the page). Currently I cache all the images in DataObjectSets, and have various other caches built from the main cache I modify as images are used. That way it allows me to have a pool of images for various template sections pull from without worrying about reqpeating images.

Is there a more effecient way to handle this in SS3?