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

Legacy (<= 2.2.2) Theme Location?


Reply


2 Posts   860 Views

Avatar
phawley

Community Member, 21 Posts

8 April 2010 at 6:27am

Hello. I am working with a client who *were* using SS 2.2.2, and they have been using the /mysite directory for their styling (templates, css, etc.). The only issue I've found with this is the requirement to have SSViewer::set_theme in /mysite/_config.php commented out, which allows the styling to default to /mysite/*.

Was/Is this a standard way of doing things?

Avatar
Willr

Forum Moderator, 5513 Posts

8 April 2010 at 4:30pm

I'm pretty sure the theme functionality hasn't changed since 2.2. Even in 2.4 I believe you can leave out the set_theme and just use the mysite folder.

The standard way we recommend is building a site as a theme (its not hard to move mysite/templates to your own theme) but it doesn't force you to build your site that way.