Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » installing a theme

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: 1260 Views
  • Grande Dame
    Avatar
    Community Member
    2 Posts

    installing a theme Link to this post

    Hello,
    Please could someone set out very simple instructions for installing a theme. I have found Sapphire and the _config.php direction but am unsure as to what to do next.
    I would also like very simple instructions as to how to change the header and footer of the theme (include a logo, slogan etc).
    My programming knowledge is rather scrappy - I started with binary, back in history when computers filled whole rooms and we used bits of cardboard with holes in them.
    thanks

  • ChevronX
    Avatar
    Community Member
    6 Posts

    Re: installing a theme Link to this post

    http://doc.silverstripe.com/doku.php?id=themes

    Simply unpack the contents of the zip file into your /themes directory.
    Change to theme by putting the following line in your ./mysite/_config.php:

    SSViewer::set_theme("themename");

    Visit your homepage, ensuring you flush the cache (append ?flush=1 to the url).

  • Grande Dame
    Avatar
    Community Member
    2 Posts

    Re: installing a theme Link to this post

    Yes, thank you.
    I have located /mysite/_config.php
    edited it with
    SSViewer::set_theme("bookstore")
    and followed with flushing the cache on my homepage.

    The edit does not seem to have been saved.

    I suspect I have missed something.

    1260 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.