4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1340 Views |
-
Overriding of template Files not working

26 August 2009 at 9:11pm
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 Page.ss from mysite/templates only after I deleted the Page.ss 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?
senfman
-
Re: Overriding of template Files not working

4 September 2009 at 1:00am
After changing any template code or markup you must flush the templatecache be appending ?flush=all to your url.
| 1340 Views | ||
|
Page:
1
|
Go to Top |


