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


Go to End
Reply


10 Posts   2404 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