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.

Upgrading SilverStripe

Ask questions about upgrading SilverStripe to the latest version.

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

THEMES_DIR not loading properly


Reply

10 Posts   2308 Views

Avatar
Mr V Dot

16 January 2010 at 4:12am Community Member, 8 Posts

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

23 January 2010 at 7:10pm Forum Moderator, 801 Posts

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