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.

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

SS 3.0 Admin Issues

Go to End

2 Posts   821 Views


Community Member, 21 Posts

19 July 2012 at 2:25pm

Hi there, I've just installed SS 3.0 - when I log into the Admin area there is no content area and when I click on the site tree links - About Us, Contact Us - nothing happens.

I am getting a error:

tinyMCE is not defined
return tinyMCE.activeEditor;

Also when I click on the Settings and History tabs I am taken to the live site?

Any suggestions?



Community Member, 6 Posts

20 July 2012 at 8:56am

Hi Nat,

I'm experiencing the very same problem. It seems to have been when I've been in the process of creating CMS fields, but even when I've reverted to standard Page Classes it still seems to bug out.

For a temporary fix, I have replaced the TinyMCE field as a HTMLField so I can still load content in the meantime. To do this, edit your /mysite/code/Page.php file and add the following function (or edit your existing one):

	// === construct CMS fields === //
	function getCMSFields() {
		// get existing fields
		$fields = parent::getCMSFields();

		// remove Content CMS field		
		$fields->removeFieldFromTab('Root.Main', 'Content'); 

		// add Content CMS field as textareafield
		$fields->addFieldToTab('Root.Main', new TextareaField('Content', 'Content', 20)); 

		return $fields;