XF 1.1 Tooltip just for not logged in Users

TsinJu

Well-known member
#1
I am working on a small HTML Code and want to make a tooltip just to Users visible, that are not logged in.
Here is what i have till now...
Code:
<a href="{xen:link 'forums/questions.213'}" class="Tooltip" title="You must be logged into the Forum">
 

TsinJu

Well-known member
#4
Seems to be harder then i thought :/
This is the current code
Code:
Write us at <a href="{xen:link 'forums/questions.213'}" class="Tooltip" title="You must be logged into the Forum">Support Forum</a> or <a href="{xen:link 'chat/'}">IRC Channel</a>.
If i add <xen:if is="!{$visitor.user_id}"> to show the Tooltip just to Guests like
Code:
Write us at <a href="{xen:link 'forums/questions.213'}" <xen:if is="!{$visitor.user_id}"> class="Tooltip" title="You must be logged into the Forum"></xen:if>Support Forum</a> or <a href="{xen:link 'chat/'}">IRC Channel</a>
This part "Support Forum</a> or <a href="{xen:link 'chat/'}">IRC Channel</a>" is also affected, but shouldn´t.
I just want the Tooltip appear to Guests.

I hope someone can help me. Thank you!
 
Top