EQnoble
Well-known member
So I made a conditional statement and it works for me when I am logged in as admin no problem..
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?
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?