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

Can you use Xen syntax in notices?

RobinHood

Well-known member
#1
I'd like a section of the notice to only display when a user is logged in.

I've tried wrapping it in

Code:
<xen:if is="{$visitor.user_id}">
stuff
</xen:if>
But it still displays when logged out.

Any ideas?

I know I could use two notices, one for logged in users and one for visitors but I have a lot of notices like this that I don't want duplicated.
 

RobinHood

Well-known member
#3
I've now managed to resolve my issues without the need for logged in and logged out criteria, but thanks for the info anyway! :)