3217 Posts in 853 Topics by 812 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 902 Views |
-
upadting ss files

21 September 2009 at 8:23pm
Hi
I'm currently doing the second tutorial (extending site)
I'm doing the news part & my problem is the following :I have modified the "ArticlePage.ss" file :
instead of :
<div class="newsDetails">
Posted on $Date.Nice by $Author
</div>I have written "Publié le" in french so it look like this
<div class="newsDetails">
Publié le $Date.Nice by $Author
</div>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
Thomas
-
Re: upadting ss files

21 September 2009 at 9:58pm
Have you flushed the cache by visiting the page with a ?flush=1? yoursite.com/?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.
-
Re: upadting ss files

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 www.mysite.com/?flush=1 it does not work but if do www.mysite.com/newssection/?flush=1 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)
Thank
Thomas
-
Re: upadting ss files

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
| 902 Views | ||
|
Page:
1
|
Go to Top |



