values assigned to Template variables disappear after page refresh in modx

Posted by Gaurav Sharma on Stack Overflow See other posts from Stack Overflow or by Gaurav Sharma
Published on 2010-03-17T11:30:37Z Indexed on 2010/03/17 11:31 UTC
Read the original article Hit count: 320

Filed under:
|
|

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

© Stack Overflow or respective owner

Related posts about modx

Related posts about php