Hi,
Thank you for the link. I have tried a few different options to get this working and cannot figure this out. I am not really a developer so there is a little more guess to this. This is what I have now the problem is I cannot figure out how to make this appear in the backend so i can select a page:
static $has_one = array(
'Banner' => 'Image',
'Podone' => 'Image',
'Podtwo' => 'Image',
'Podthree' => 'Image',
'RightContent' => 'SiteTree'
);
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab("Root.Content.Banner", new ImageField('Banner'));
$fields->addFieldToTab("Root.Content.Pods", new ImageField('Podone'));
$fields->addFieldToTab("Root.Content.Pods", new ImageField('Podtwo'));
$fields->addFieldToTab("Root.Content.Pods", new ImageField('Podthree'));
$treedropdownfield = new TreeDropdownField("RightContentID", "Choose a page to show on the right:", "SiteTree");
return $fields;
I tired a few different things but nothing worked.
Thank you in advance
Rob