petertdavis
Well-known member
Howdy,
I'm trying to figure out how to do this and not getting it exactly right. I'm using the ad_above_top_breadcrumb template to show one set of ads to any visitor who isn't logged in, another set of ads to certain usergroups, and no ads to the rest. Here's what I have right now...
Thanks!
I'm trying to figure out how to do this and not getting it exactly right. I'm using the ad_above_top_breadcrumb template to show one set of ads to any visitor who isn't logged in, another set of ads to certain usergroups, and no ads to the rest. Here's what I have right now...
Code:
<xen:if is="{$visitor}">
<--------Ad Code----->
</xen:if>
<xen:if is="!{xen:helper ismemberof, $visitor, 42, 4, 5, 32, 43, 3}">
<center>
<--------Ad Code----->
</xen:if>
Thanks!