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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

THEMES_DIR not loading properly


Go to End


10 Posts   4053 Views

Avatar
Mr V Dot

Community Member, 8 Posts

16 January 2010 at 4:12am

Sorry, I wasn't clear, I meant the second part of JayDevlin's post, where he suggested putting:

HtmlEditorConfig::get('cms')->setOptions(array(
'content_css'=>'cms/css/editor.css, '.(SSViewer::current_theme() ? THEMES_DIR . "/" . SSViewer::current_theme() : project()) . "/css/editor.css"
)); 

into your 'mysite/_config.php'.
Hope that helps

Avatar
Ingo

Forum Moderator, 801 Posts

23 January 2010 at 7:10pm

Just for reference, this should be fixed in branches/2.4, and will be included in the upcoming 2.4 beta:
http://open.silverstripe.org/ticket/4904
http://open.silverstripe.org/ticket/4634

Go to Top