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.

Archive

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

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

can't update footer


Reply

4 Posts   2154 Views

Avatar
Peter Prins

9 December 2007 at 8:22am Community Member, 8 Posts

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

Avatar
Tobbe

9 December 2007 at 10:28am Community Member, 25 Posts

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

You can read more in the first tutorial.

/Tobbe

Avatar
Willr

9 December 2007 at 12:20pm Forum Moderator, 5511 Posts

and make sure you actually saved the file :P 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.

Avatar
Sean

9 December 2007 at 5:45pm Forum Moderator, 921 Posts

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