Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Problem with How themes work in SS3 ?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 245 Views
  • DesignerX.com.au
    Community Member
    107 Posts

    Problem with How themes work in SS3 ? Link to this post

    I have NewPage.php as a module & a default theme in the Module folder . I have Newpage/templates/NewPage.ss + Newpage/templates/Layout/NewPage.ss BUT if I copy NewPage.ss to the current theme folder then Newpage/templates/Layout/NewPage.ss does not get used & it fals back to the default page.ss !!

    Any idea why ? it looks as if the files can be from ONLy one of the following locations : mysite OR MyModule/temapltes OR MyTheme so if things are missing from MyThem it is NOT trying to find it in MyModule/temapltes !!!

    Is is how i should work in SS3 or is it a bug ?

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.