Reputation: 33
I've created a snippet and included it on my template and when I make changes to the file it does not show. If I view the snippet it looks like it has changed
This is my snippet (really simple):
echo date();
This is my update:
echo rand(0, 1000);
Shown above is the change however in my template it will not change.
I know this might seems stupid (it is). However I hope you can help.
Upvotes: 2
Views: 2423
Reputation: 3415
If partial cache is enabled then you will find you will have to clear the Modx cache manually.
To do this, log into the admin area, and go to:
Site
-> Clear Cache
Upvotes: 1
Reputation: 33
I had this problem again, then I realised the template wasn't linked to a static file.
So if this happens to you, check your template.
Upvotes: 1