Support Help with XF display condition

kutaz

XF is cool thing
Loyal Member
How can I change this code, so it will be visible for few ID groups instead only one?
Code:
$xf.visitor.isMemberOf(3)
So I want to add there ID group 4 too, how can I do it? Cuz I can't do it with "," etc...
 
Solution
How can I change this code, so it will be visible for few ID groups instead only one?
Code:
$xf.visitor.isMemberOf(3)
So I want to add there ID group 4 too, how can I do it? Cuz I can't do it with "," etc...
Did you try ?
Code:
<xf:if is="$xf.visitor.isMemberOf([3,4])">

Marks-Man

Loyal Member
How can I change this code, so it will be visible for few ID groups instead only one?
Code:
$xf.visitor.isMemberOf(3)
So I want to add there ID group 4 too, how can I do it? Cuz I can't do it with "," etc...
Did you try ?
Code:
<xf:if is="$xf.visitor.isMemberOf([3,4])">
 
Solution
Back
Top Bottom