XF 2.0 template syntax for group

Some Guy

New member
I'm looking for something like this for my public navigation display condition.

{$visitor.is_ingroup.4}

Is there a way to show only group 4 a navigation item?

12345555555.webp
 
Try either

Code:
<xf:if is="{{$xf.visitor.isMemberOf(4)}}">

or

Code:
{{$xf.visitor.isMemberOf(4)}}

Let me know if either of those work for you.
 
Back
Top Bottom