How to show content of a user only if they have filled out a custom user field

Matthew Hawley

Well-known member
ThSo I made this addon that pulls a user's github repos and puts it in a profile tab. Only problem is that if a user hasn't filled in the custom user field it doesn't look right.

Don't tell me to do this:
Code:
<xen:if is="{$visitor.customFields.field_id}">

</xen:if>

That only shows content to a user if they have filled in a custom user field. It doesn't show content of a user if they have filled in a custom user field.
 
Last edited:
Top Bottom