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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

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

upadting ss files

Go to End

5 Posts   1294 Views


Community Member, 211 Posts

21 September 2009 at 8:23pm

I'm currently doing the second tutorial (extending site)
I'm doing the news part & my problem is the following :

I have modified the "" file :

instead of :

<div class="newsDetails">
Posted on $Date.Nice by $Author

I have written "Publié le" in french so it look like this

<div class="newsDetails">
Publié le $Date.Nice by $Author

My probléme is that the file is not updating tough I did use the enviroment builder to do it

What am I doing wrong

Thank you



Forum Moderator, 5523 Posts

21 September 2009 at 9:58pm

Have you flushed the cache by visiting the page with a ?flush=1? You can also try empty your browser cache (ctrl + f5 on firefox). Also if its not changing after using ?flush=1 then make sure you are editing the right file.


Community Member, 211 Posts

21 September 2009 at 10:16pm

Thanks for your answer

I tried waht you said and it kind of worked but in a weird way :

If I do it does not work but if do it does.

Is it normal and if it is can you expalin me why I have to put the url of the site tree where the changes occured (hope I'm clear)




Community Member, 904 Posts

21 September 2009 at 11:30pm

By appending ?flush=1 to a SilverStripe URL, you only delete the cache of that page, not the whole cache. So if newssection is the page where you altered the .ss file, the behavior is normal.
To flush the whole cache, run /dev/build?flush=all


Forum Moderator, 435 Posts

22 October 2009 at 2:34am

good tips