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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Overriding of template Files not working


2 Posts   1527 Views


26 August 2009 at 9:11pm Community Member, 1 Post

Hi Guys,

The Overriding of template Files seems to be not working for me.

On my Silverstripe Installation I created an own template and was trying to override it by more specific code in the mysite/templates directory.

The strange thing was, that Silverstripe started to use the from mysite/templates only after I deleted the in the themes/themename/templates directory. This should actually be the other way around, shouldn't it? (For your background information: I use SilverStripe 2.3.3 on KUbuntu 9.04). Is there a way to (at least) debug this?



4 September 2009 at 1:00am Community Member, 279 Posts

After changing any template code or markup you must flush the templatecache be appending ?flush=all to your url.