Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » can't update footer

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 2146 Views
  • Peter Prins
    Avatar
    Community Member
    8 Posts

    can't update footer Link to this post

    I edited the footer.ss file but my changes are not showing up does it cache the template in the database? How can I update an existing template so I can see those updates in my site? Anyone know the secret to the templates that won't change?

    This is the file I edited:
    themes/blackcandy/templates/includes/Footer.ss

  • Tobbe
    Avatar
    Community Member
    25 Posts

    Re: can't update footer Link to this post

    Hi,
    did you flush the cache? Like: http://localhost:3000/home/?flush=1

    You can read more in the first tutorial.

    /Tobbe

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: can't update footer Link to this post

    and make sure you actually saved the file Ive been hitting my head like why do I still get that error.. then realized that the file didnt actually save haha.

    If you are on windows another method is to hit ctrl + f5 to force firefox to refresh the cache.

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: can't update footer Link to this post

    Be careful that when editing include templates you need to run ?flush=1 when on the page using the template. SilverStripe caches them more readily than normal templates.

    Cheers,
    Sean

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