Visitor style_id conditional question.


Well-known member
So I made a conditional statement and it works for me when I am logged in as admin no problem..
          <xen:if is="{$visitor.style_id} == '2'">
          {xen:phrase my_phrase1}

          <xen:if is="{$visitor.style_id} == '3'">
          {xen:phrase my_phrase2}
Both of these work as I said when logged in as admin, but I created a test user and found that it does not display the phrase for a normal logged in user.

Anyone have a clue of what's going on here?


Well-known member
Ok even weirder here...and don't know if this adds better info to the problem at hand but...

I have been playing around and testing different situations..and it displays properly in chrome while logged in as a regular user but not in firefox. On the other hand it displays in both ff and chrome for admin.