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.

Themes /

Discuss SilverStripe Themes.

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

Save theme in config file

Go to End

3 Posts   1431 Views


Community Member, 2 Posts

3 March 2010 at 11:58am

Hi everyone,

After I change "SSViewer::set_theme('tutorial');" to "SSViewer::set_theme('myfirsttheme');" in the mysite/_config.php file, I get an error saying "Please check whether if this file is opened in another program" when I try to save it. But I dont have this file open in anywhere else.

Did anyone have the same problem? Help please.


Community Member, 42 Posts

3 March 2010 at 6:02pm


Did you put this template under 'themes' folder with the right structure:

- themes
- myfirsttheme
- css
- images
- templates
- Includes
- Layout



Community Member, 2 Posts

4 March 2010 at 7:57am

I've got the problem solved. The reson was my Apache user account couldn't access the config file. So I copied the config file to my desktop and made the change then pasted the changed one back to the mysite folder. It works after that.