Hide stickynote if statement isn't valid

Freeze

Member
Im trying to fix that none members don't see the stickymessage on the login and register page and members don't see it at all.

my if statement is
<xen:if is="!{$visitor.user_id} AND !{<xen:if is={$contentTemplate} == 'login'} OR {<xen:if is={$contentTemplate} == 'register'}">

but it don't seems to be valid.
 
Top