• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Hide stickynote if statement isn't valid

#1
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.