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   2186 Views

Avatar
Peter Prins

Community Member, 8 Posts

9 December 2007 at 8:22am

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

Community Member, 25 Posts

9 December 2007 at 10:28am

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

You can read more in the first tutorial.

/Tobbe

Avatar
Willr

Forum Moderator, 5513 Posts

9 December 2007 at 12:20pm

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

Forum Moderator, 922 Posts

9 December 2007 at 5:45pm

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