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

XF Page usergroup conditional

Morgain

Well-known member
#1
I have this type of code for an XF Page Title,

Code:
<xen:h1> {$visitor.username}'s Toybox</xen:h1>
which displays as [MyName]'s Toybox if I'm logged in

How do I add a conditional so if it's someone not logged in it reads
[General Visitor]'s Toybox

I knew how to do this on another forum ...
and I HAVE searched the Manual, FAQ, general forum searches.