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

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


Go to End


637 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.