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

Is this possible: Page -> DOM -> DOM ?


Go to End


807 Views

Avatar
dominicB

Community Member, 14 Posts

24 August 2010 at 4:13am

I want a Page type to have many Movies, each of which has many Movie Formats, so my client can have

Page

- Movie "A Movie about Bob" Shot on thursday 28th March By JimmyD
- - Movie Format: "A Movie about Bob in NTSC Format"
- - Movie Format: "A Movie about Bob in Low Res Format"
- - Movie Format: "A Movie about Bob in MPEG4 Format"

- Movie "A Movie about Bill" Shot on friday 29th March By JimmyD
- - Movie Format: "A Movie about Bill in MPEG2 Format"
- - Movie Format: "A Movie about Bill in HD Format"

etc etc

Is it possible for a DOM to appear inside another DOM? Does anyone have an example of how getCMSFields and getCMSFields_forPopup would look? I can't work out how to tell the first DOM's getCMSFields what the controller is.