Thank you, i've just had a read through but my head goes missing on stuff like this, if anyone would be so kind to show me the exact code to show a banner to different usergroups, thank you.
4. How can I show content to a specific user group?
<xen:if is="{xen:helper ismemberof, $visitor, x}">
This content will show to members of user group x
</xen:if>
<xen:if is="{xen:helper ismemberof, $visitor, x, y, z}">
insert the code for your banner here
</xen:if>
Rich (BB code):<xen:if is="{xen:helper ismemberof, $visitor, x, y, z}"> insert the code for your banner here </xen:if>
x, y, z = replace with a comma-separated list of the usergroups you want to show the banner to (e.g. 5, 12, 19).
Combine an if-else:Thank you @James however what if I wish to show one banner to all uaergroups and another to one specific user group?
<xen:if is="{xen:helper ismemberof, $visitor, x, y, z}">
insert the code for the specific usergroup(s) here
<xen:else />
insert the code for everyone else here
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.