Jump to:

23377 Posts in 18296 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » SS 3.0 Admin Issues

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

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

Page: 1
Go to End
Author Topic: 436 Views
  • nat.pike
    Avatar
    Community Member
    19 Posts

    SS 3.0 Admin Issues Link to this post

    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

  • jaedb
    Avatar
    Community Member
    5 Posts

    Re: SS 3.0 Admin Issues Link to this post

    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;
       }

    436 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.