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.

Archive /

Our old forums are still available as a read-only archive.

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

Tutorial for new/dumb user(s)


Reply


4 Posts   1241 Views

Avatar
mihkel

Community Member, 2 Posts

7 September 2008 at 11:26pm

Hi,

Found SS and it seems like a fine piece of code but trying to understand how all this comes together for a website is somewhat confusing. I'm familiar with the concept of mvc framework and stuff but I can't seem to find a tutorial that tells me how can I change a theme on my site (found _conf.php or smth but changing theme just gives me a blank screen on my browser).

There's a tutorial or two for beginner site building but but that doesnt seem to do the job for me.

Are there any user guide pages that explain how to theme, and configure my site?

Avatar
Liam

Community Member, 470 Posts

8 September 2008 at 6:00am

You can see which config options to use on this page - http://doc.silverstripe.com/doku.php?id=configuration

You can set themes in the config file by this line SSViewer::set_theme('themename')

Just make a directory called 'themes' in your root installation. If you look at the default zip file, it has the structure for how theme sub folders should be.

If you installed with the tutorial 'theme', might want to play around with blackcandy theme to test things out.

Avatar
Willr

Forum Moderator, 5513 Posts

8 September 2008 at 3:31pm

Hi Mihkel!

We are hoping to get some more friendly user guides up soon and rewrite the tutorials to cover things in a more logical pattern soon.

As for changing the theme - changing that 1 line in that file should do it! Make sure you dont have a typo or something in the theme name.

Avatar
grilldan

Community Member, 135 Posts

8 September 2008 at 4:49pm

After you change the config file, don't forget to add "?flush=1" to the end of your url.

http://www.yoursite.com/?flush=1