values assigned to Template variables disappear after page refresh in modx
- by Gaurav Sharma
Hi all,
I created a template variable in modx by the name 'test_var'.
Then in the home page resource edit content editor I wrote [*test_var*].
Then I published the resource.
Then for checking if it works I executed the page using the preview button. The value appeared fine but when I refreshed the page, the value of the template variable disappeared ?
This is very strange. Please help me what I am doing wrong.
Thanks