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

installing a theme


Reply

3 Posts   1304 Views

Avatar
Grande Dame

7 June 2008 at 11:26am Community Member, 2 Posts

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

Avatar
ChevronX

8 June 2008 at 12:26am (Last edited: 8 June 2008 12:27am), Community Member, 6 Posts

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

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

Avatar
Grande Dame

8 June 2008 at 6:53pm Community Member, 2 Posts

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.