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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

2 ImageDataObjectManagers in a page

Go to End

4 Posts   768 Views


Community Member, 56 Posts

13 May 2010 at 8:09pm


I am really struggling here.. managed to get the ImageDataObjectManager workign but I want 2!
So in a custom tab I want to have 2 fileds..

addFieldToTab("Root.Content.Custom.SubCustom", $manager);
addFieldToTab("Root.Content.Custom.SubCustom", $manager2);

but having problemos..

Is this even possible??

That is the question and I will keep trying :)


Forum Moderator, 4102 Posts

14 May 2010 at 1:52am



Community Member, 56 Posts

14 May 2010 at 3:39pm

OMG.. yes :)

Thinking of moving to silverstripe from cmsmadesimple....
finding it very hard to get my head around silverstripe.. managed to get 2 imageDataObject on one page so stoked to get that far today!

just made 2 classes and called them from the page.php thanks for the reply though.


Forum Moderator, 4102 Posts

14 May 2010 at 3:52pm

Glad you got it figured out. If you run in to errors, don't pull your hair out. Just post the errors here and we can help you. I authored the dataobject_manager package and I'm pretty good about keeping it supported.