Jump to:

4938 Posts in 16588 Topics by 1490 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Overriding of template Files not working

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

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

Page: 1
Go to End
Author Topic: 1518 Views
  • senfman
    Avatar
    Community Member
    1 Post

    Overriding of template Files not working Link to this 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 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

  • baba-papa
    Avatar
    Community Member
    279 Posts

    Re: Overriding of template Files not working Link to this post

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

    1518 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.