Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Using DOM on multiple pages

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2
Go to End
Author Topic: 1707 Views
  • UncleCheese
    Avatar
    4085 Posts

    Re: Using DOM on multiple pages Link to this post

    MultiBox is a Page subclass?

  • sca123
    Avatar
    Community Member
    61 Posts

    Re: Using DOM on multiple pages Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Using DOM on multiple pages Link to this post

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

  • sca123
    Avatar
    Community Member
    61 Posts

    Re: Using DOM on multiple pages Link to this post

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

    1707 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.