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:

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   2593 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