Sheldon
Well-known member
Alright, I have this:
Then some more code...
Then the closing <div>
Obviously not working, and I have attempted every iteration I could run across.
What I want is say...
Usergroup 6 <div class="backImg2">
Usergroup 7 <div class="backImg3">
Usergroup 8 <div class="backImg4">
I want all visitors to see whatever that usergroup has representing in the "backImg" part, but when the user chooses the Usergroup they are in, the div class is styled differently.
I'm tired.
Code:
<div class="
<xen:if is="{xen:helper ismemberof, $visitor, 6}">backImg2 </xen:if>
<xen:if is="{xen:helper ismemberof, $visitor, 7}">backImg3 </xen:if>
<xen:if is="{xen:helper ismemberof, $visitor, 1}">backImg4 </xen:if>
">
Then the closing <div>
Obviously not working, and I have attempted every iteration I could run across.
What I want is say...
Usergroup 6 <div class="backImg2">
Usergroup 7 <div class="backImg3">
Usergroup 8 <div class="backImg4">
I want all visitors to see whatever that usergroup has representing in the "backImg" part, but when the user chooses the Usergroup they are in, the div class is styled differently.
I'm tired.