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.

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   1141 Views

Avatar
redactuk

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 ?

Avatar
Willr

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().