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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Legacy (<= 2.2.2) Theme Location?


Go to End


2 Posts   1354 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, 5523 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.