Referencing template parameters in optional region expressions
Posted on 2004-08-18
I have a template parameter Product_ID which has a default value of "xxxnn". I would like to define an optional region, which shows only when the value of Product_ID has been set to something other than its default value.
I have defined the region using the following expression (generated by Dreamweaver), but it doesn't evaluate properly, because the region shows even when Product_ID is equal to "xxxnn"
<!-- TemplateBeginIf cond="Product_ID!="nnnxx"" -->
What is wrong with this expression? How do I write it so that it evaluates to True when Product_ID="xxxnn"?
(Product_ID is defined using the following expression":
<!-- TemplateParam name="Product_ID" type="text" value="xxxnn" -->)