the docs say about "tal:condition" that the block will only be shown if the expression evaluates to true...
but I don't find the info if I couldn't easily compare a var to a string? should I always revert to php: stringname == 'value' ? Something like <div class="errormsg" tal:condition="errmsg:'unknonwn_user'"> Your username is unknown</div> _______________________________________________ PHPTAL mailing list PHPTAL@lists.motion-twin.com http://lists.motion-twin.com/mailman/listinfo/phptal