Jump to:

23006 Posts in 11856 Topics by 2828 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: 203 Views
  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

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

    Hi:
    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 ?
    Thanks

    203 Views
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.