Lately I have encountered a strange behaviour of Page Specific Smarty in CMSMS 2.1.2 (my config - PHP 5.6, pretty URL's, additional modules: AceEditor 2, TinyMCE, Galery)
The problem is that when I define a variable within the Page Specific Smarty section of a page, it is not visible further in the page template or the page content itself.
for example, a sample Page Specific Smarty:
Code: Select all
{assign var="test_var" value="testing, testing, 1..2..3.."}
Code: Select all
{$test_var}
Code: Select all
{assign var="test_var" value="testing, testing, 1..2..3.."}
{$test_var}
It is strange, because it works perfectly fine in the older version, CMSMS 1.12, that I manage.
Do You have any idea what is going on and how to fix this ?