2

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.

Billy Jamieson
  • 33
  • 1
  • 1
  • 7

2 Answers2

1

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

Jack
  • 3,271
  • 11
  • 48
  • 57
1

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.

Billy Jamieson
  • 33
  • 1
  • 1
  • 7