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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Data Model Questions /

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

Persistant DataLists Accross Controllers


Go to End


783 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?