For Guest, the home tab is called Continue and for Members it's called Home.
...
<xen:if is="{$visitor.user_id}">
<li class="navTab home PopupClosed"><a href="{$homeLink}" class="navLink">{xenhrase continue}</a></li>
<xen:else />
<li class="navTab home PopupClosed"><a href="{$homeLink}" class="navLink">{xenhrase home}</a></li>
</xen:if>
Oh.. i thought this line: <xen:if is="{$visitor.user_id}"> was saying if this user IS a visitor... no?
<xen:if is="!{$visitor.user_id}">
FOR GUESTS
</xen:if>
Ah, ok. Thanks for your help! btw, how did you wrap that in the blue code tag? I looked but couldn't see a BBcode tag for that and ended up with smiles in my example.
I think so
HTML:<xen:if is="{$visitor.user_id} == 0"> For Guest <xen:else /> For Members </xen:if>
<xen:if is="!{$visitor.user_id}">
I'm a Guest visitor
<xen:else />
I'm a Member visitor
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.