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.

General Questions /

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

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

Does SiteConfig theme replace set_theme?

Go to End

2 Posts   1068 Views


Community Member, 117 Posts

6 June 2010 at 7:47am

Via the new 2.4.0 site config panel (and stored in new SiteConfig table) there is a Theme setting. Does this override or make redundant the SSViewer::set_theme('blackcandy'); value in /mysite/_config.php ?


Forum Moderator, 5523 Posts

6 June 2010 at 11:32am

It can do if you want. However the SiteConfig panel as a (use default) option which is the one you define with set_theme().