Hi there. I've succesfully added an image upload field to the CMS. However, in the CMS it's displayed as the last field under the big "Content" field. I want it to be above the standard "Content" field and under the standard "Navigation Label" field. How can I re-arrange the CMS for this page type?
Custom CMS field code used:
class Page extends SiteTree {
private static $db = array(
);
private static $has_one = array(
'Header' => 'Image'
);
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Main', UploadField::create('Header'));
return $fields;
}
}