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.
I would like to know is it possible to use two DataObject within one page
I have the following code within my module
- ResourceItem.php ---> DataObject
- ActivityItem.php ---> DataObject
- LocationPage.php ---> Page
I really appreciated for your kindness advice and tutorials.
static $has_many = array (
'ResourceItems' => 'ResourceItem',
'ActivityItems' => 'ActivityItem'
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com
How can we put in function GetCMSField() with two different DataObjects.