invalid condition expression


Well-known member
I am adding this to my header but this is not working as it errors out. It says The following templates contained errors and were not saved: navigation_visitor_tab: 1) Line 11: Invalid condition expression.

This is coming from flexile. I am modifying it to work with my theme. I just want avatar up near the name at top. I am sure it is @showAvatarinUserbar. I am unable to track it down.

<a href="{xen:link account}" class="navLink accountPopup" rel="Menu"><xen:if is="@showAvatarInUserBar"><img src="{xen:helper avatar, $visitor, s}" class="miniMe" alt="" /></xen:if><strong>{$visitor.username}</strong></a>


Well-known member
I think maybe it might be the property that needs to be added

<property property_name="showAvatarInUserBar" property_type="scalar" definition="1" group_name="flexileProperties" title="Show Mini Avatar in User Bar" description="If selected, this will show a small version of the logged-in user's avatar next to their name in the user bar at the top of the screen." css_components="" scalar_type="boolean" scalar_parameters="" display_order="1" sub_group="User Card"><![CDATA[1]]></property>

I am not sure how to add that to default theme.