21285 Posts in 5732 Topics by 2602 members
General Questions
SilverStripe Forums » General Questions » Page.php not working anymore, can't get new CMSFields added
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 940 Views |
-
Page.php not working anymore, can't get new CMSFields added

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;
} -
Re: Page.php not working anymore, can't get new CMSFields added

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.
| 940 Views | ||
|
Page:
1
|
Go to Top |

