XF 2.0 conditional statement to hide content for specific user

KSA

Well-known member
I would like to hide XFMG slider for specific user using conditional statement and Im not quite sure how to go about achieving that. ur help would be appreciated.

Code:
<xf:if is="$xf.visitor.user_id == 1">
   Hide content...
</xf:if>

is the above statement correct? if so how can i plug this in to achieve what i want to do..thanks folks in advance.
 
Back
Top Bottom