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.

General Questions /

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

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

Problem with How themes work in SS3 ?

Go to End



Community Member, 107 Posts

5 August 2012 at 8:34pm

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

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 ?