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:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Page.php not working anymore, can't get new CMSFields added

Go to End

2 Posts   1717 Views


Community Member, 15 Posts

1 April 2011 at 8:45am

For some annoying reason my Page.php stopped working properly, im unsure why its doing this but i am unable to add tabs to the basic pages and all that follow. Its just not working..

It sucks since my deadline is tommorow and right now it decides to go buggy..i dunno what went wrong, could be that its extended in homepage but i doubt it.

Heres the code:

public static $db = array(

'ColumnRight' => 'HTMLText',

public static $has_one = array(


function getCMSFields() {
$fields = parent::getCMSFields();

$fields->addFieldToTab("Root.Content.Main", new HTMLEditorField('ColumnRight','Column rechts inhoud'));
return $fields;


Community Member, 15 Posts

1 April 2011 at 9:07am

Ok, anyone else ever getting similar stuff and who has a Mac OSX 10.6 operating system with XAMPP.. That is the problem. Live it works just offline it refuses to update.

Also issues with this OS, at least from me:
- Only able to enter admin in localhost by adding ?isDev=1 to prevent forever loading screen
- Images just do not work, the path is always wrong.