• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Visitor style_id conditional question.

EQnoble

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


          <xen:if is="{$visitor.style_id} == '3'">
          {xen:phrase my_phrase2}
          </xen:if>
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?
 

EQnoble

Well-known member
#2
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.