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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Using DOM on multiple pages


Go to End


12 Posts   3137 Views

Avatar
UncleCheese

Forum Moderator, 4102 Posts

31 July 2009 at 1:44am

MultiBox is a Page subclass?

Avatar
sca123

Community Member, 61 Posts

31 July 2009 at 4:23am

Yes, in the same way as Page.php is the the subclass for Page.ss and HomePage.php is the subclass for HomePage.ss

Maybe, I'm missing something fundalmental - or maybe I could see an example of how to use unique instances of DOM in two templates?

This is really important and I appreciate any help I can get. Knowing how to do this would result in the site being complete. Thanks.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

31 July 2009 at 5:05am

If InfoBox can appear on both HomePage and MultiBox pages, then shouldn't it have a has_one with MultiBox, as well?

Avatar
sca123

Community Member, 61 Posts

31 July 2009 at 8:54am

Thank you. This has resolved the issue - so simple too!

Go to Top