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, biapar, Willr, Ingo, swaiba, simon_w

Theme Change Problem


Reply

19 Posts   4235 Views

Avatar
kcd

15 November 2010 at 12:33pm (Last edited: 15 November 2010 12:33pm), Community Member, 54 Posts

Oh, me too!

One suggestion for _config

// This line set's the DEFAULT theme. More themes can be
// downloaded from http://www.silverstripe.org/themes/

Avatar
wagonlips

19 November 2010 at 9:29am (Last edited: 19 November 2010 9:30am), Community Member, 1 Post

Thanks, Sunnybex!

Clicking the site root (just above "Home" in the Page Tree) reveals the theme drop-down selector in the main edit window of the CMS. Very nice.

I find that I can actually comment out the line in /mysite/_config.php and it still works just fine.

// SSViewer::set_theme('whatever');

Cheers!

Avatar
bdgraphics

20 November 2010 at 5:07pm Community Member, 5 Posts

A quick tip if you are not seeing your theme in the drop down list for the CMS; Do not add any underscores (or perhaps any special characters) to the theme name.

As soon as I changed my folder name from: "theme_name" to "themename", I could select it and it worked.