Not a bug please delete

AndyB

Well-known member
Affected version
2.1.2
The following template code works:
Code:
<xf:if is="$xf.visitor.isMemberOf([3,4])">
	$0
<xf:else />
	<xf:textboxrow name="recipients" value="{$xf.options.conversationManagerRecipient}" readonly="readonly"
	rowtype="fullWidth"
	label="{{ phrase('recipient') }}"
	explain="{{ phrase('conversationmanager_explain') }}" />
</xf:if>

The following template doesn't work. The value of $xf.options.conversationManagerUserGroups is 3,4.
Code:
<xf:if is="$xf.visitor.isMemberOf([{$xf.options.conversationManagerUserGroups}])">
	$0
<xf:else />
	<xf:textboxrow name="recipients" value="{$xf.options.conversationManagerRecipient}" readonly="readonly"
	rowtype="fullWidth"
	label="{{ phrase('recipient') }}"
	explain="{{ phrase('conversationmanager_explain') }}" />
</xf:if>
 
Last edited:
Back
Top Bottom