21288 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 263 Views |
-
SS 3.0 Admin Issues

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?
Cheers
-
Re: SS 3.0 Admin Issues

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;
}
| 263 Views | ||
|
Page:
1
|
Go to Top |


