Hi I'm trying to make this macro work:
{%if (cmscontext.currenttemplate.pagetemplatecodename == "deleteMe01") { "NewsTag = \'2\' " } else { "" }%}
Basically, I'm trying to insert value
NewsTag = '2' into WHERE field if template code name is
deleteMe01 but I'm getting syntax error. I tried bunch of different combinations but now I'm stuck.
Could someone help me with this?
Thanks