AndyB
Well-known member
It would be nice to be able to use xen:Options within a xen:helper.
This works fine:
This does not work:
membersearchGroupPermissions = 3,4,5
This works fine:
Code:
<xen:if is="{xen:helper ismemberof, $visitor, 3,4,5}">
stuff to display for usergroups 3, 4 and 5.
</xen:if>
This does not work:
membersearchGroupPermissions = 3,4,5
Code:
<xen:if is="{xen:helper ismemberof, $visitor, {$xenOptions.membersearchGroupPermissions}}">
stuff to display for usergroups 3, 4 and 5.
</xen:if>
Upvote
0