set a varaiable in smarty code example Example: asign var smarty {assign var="editable" value=$cond1&~$cond2}