Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Tutorial for new/dumb user(s)

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

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

Page: 1
Go to End
Author Topic: 1189 Views
  • mihkel
    Avatar
    Community Member
    2 Posts

    Tutorial for new/dumb user(s) Link to this post

    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?

  • Liam
    Avatar
    Community Member
    470 Posts

    Re: Tutorial for new/dumb user(s) Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Tutorial for new/dumb user(s) Link to this post

    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.

  • grilldan
    Avatar
    Community Member
    135 Posts

    Re: Tutorial for new/dumb user(s) Link to this post

    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

    1189 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.