K Kml Member Mar 7, 2024 #1 Hey I'm looking for a conditional statement in templates to allow certain content to be displayed based on usergroup, Any hints ?
Hey I'm looking for a conditional statement in templates to allow certain content to be displayed based on usergroup, Any hints ?
Solution Ozzy47 Mar 7, 2024 Code: <xf:if is="{{$xf.visitor.isMemberOf([x, y])}}"> Show content... </xf:if>
Ozzy47 Well-known member Mar 7, 2024 #2 Code: <xf:if is="{{$xf.visitor.isMemberOf([x, y])}}"> Show content... </xf:if> Upvote 3 Downvote Solution
K Kml Member Mar 7, 2024 #3 Ozzy47 said: Code: <xf:if is="{{$xf.visitor.isMemberOf([x, y])}}"> Show content... </xf:if> Click to expand... The legend himself Upvote 0 Downvote
Ozzy47 said: Code: <xf:if is="{{$xf.visitor.isMemberOf([x, y])}}"> Show content... </xf:if> Click to expand... The legend himself