Jump to:

1384 Posts in 493 Topics by 522 members


SilverStripe Forums » Themes » Legacy (<= 2.2.2) Theme Location?

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 839 Views
  • phawley
    Community Member
    21 Posts

    Legacy (<= 2.2.2) Theme Location? Link to this post

    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?

  • Willr
    Forum Moderator
    5508 Posts

    Re: Legacy (<= 2.2.2) Theme Location? Link to this post

    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.

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.