7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » 2 ImageDataObjectManagers in a page
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 459 Views |
-
2 ImageDataObjectManagers in a page

13 May 2010 at 8:09pm
Hi,
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..ie:
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
-
Re: 2 ImageDataObjectManagers in a page

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.
-
Re: 2 ImageDataObjectManagers in a page

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.
| 459 Views | ||
|
Page:
1
|
Go to Top |

