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.

Themes /

Discuss SilverStripe Themes.

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

Templates not being read for new class

Go to End

2 Posts   1083 Views


Community Member, 16 Posts

20 December 2013 at 2:49am

Sorry newbe question, but its my first day with this CMS...

I created Datastore.php with a class Datastore that extends Page with new fields types.

The fields are all working fine in the dev tool, however they are not being themed (im certain a theming problem since I put dummy text changes in and they arent being displayed either)

The tutorial says to put a theme in the ..'themes/simple/templates/Layout/' folder

However, it is not being read when I put there.

Where should my template be put to overerite the template



Community Member, 187 Posts

20 December 2013 at 4:34am

Hi Bimble,

That sounds like the correct location, did you perform a flush after adding the template?