[Solved] Smarty if statement is not parsed in 1.11
Posted: Sun Sep 23, 2012 12:00 am
This may be due to lack of sleep, but....
In a 1.10 site template I have
and BLAH shows only for the page with id 18. Niiiice.
But, in 1.11 I use the same code and the whole { if $content_id == 18 }BLAH{ /if } shows up in the live page - the smarty is not parsed.
But in 1.11 other smarty like {title} is parsed OK.
Help?
Thank you

In a 1.10 site template I have
Code: Select all
{ if $content_id == 18 }BLAH{ /if }
But, in 1.11 I use the same code and the whole { if $content_id == 18 }BLAH{ /if } shows up in the live page - the smarty is not parsed.
But in 1.11 other smarty like {title} is parsed OK.
Help?
Thank you
