howarde
Member
Hi.
I'm working on a conditional, with two parts, and they both work as individual conditionals, but when I join them, it's not working.
Here's what I want to do. If the user is in a group, and has their custom field set to "NO" then... else.
Thanks.
I'm working on a conditional, with two parts, and they both work as individual conditionals, but when I join them, it's not working.
Here's what I want to do. If the user is in a group, and has their custom field set to "NO" then... else.
Code:
<xen:if is="{$visitor.customFields.display_ads_for_supportin} == 'no' AND !{xen:helper ismemberof, $visitor, 58}">
Do Stuff and block ads
<xen:else />
Do stuff with ads
</xen:if>
Thanks.