son et lumiere
Member
I have a problem:
	
	
	
		
I'm trying to make use of the $visitor array in an addon template, but it doesn't work. It's fine anywhere else, but not in that particular template.
How would I go about making $visitor usable within a given template? Thanks in advance.
				
			
		Code:
	
	<xen:if is="{$visitor.customFields.LegacyRep.no}">
visitor array returns "no" </br>
<xen:else />
visitor array returns "yes" </br>
</xen:if>
<xen:if is="{$user.customFields.LegacyRep.no}">
user array returns "no" </br>
<xen:else />
user array returns "yes" </br>
</xen:if>I'm trying to make use of the $visitor array in an addon template, but it doesn't work. It's fine anywhere else, but not in that particular template.
How would I go about making $visitor usable within a given template? Thanks in advance.
 
 
		 
 
		 
 
		 
 
		![[xFv]](/community/data/avatars/s/90/90390.jpg?1701363589) 
 
		 
 
		 
 
		