Hi guys,
I want a new tab in the Content tab right next to the metadata tab...
for example Main ||Metadata || Job Listing
I'm new to silverstripe and i tried the following code from the tutorial...but its not working
function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Content.Main', new Tab('JobListings'), 'Content');
return $fields;
}
Can anybody help me around ?