AndyB
Well-known member
I would like to use the {ip} found in this Option:

In my template I have the following:
	
	
	
		
When I hover my mouse over the IP link, I get the following:

Notice the {ip} is still in the URL and not being converted.
What is the proper template code?
Thank you.
				
			
In my template I have the following:
		Code:
	
	<xen:foreach loop="$results" value="$result">
<tr class="dataRow">
    <td>{$result.username}</td>   
    <td><a href="{$xenOptions.ipInfoUrl}{$result.ip}">{$result.ip}</a></td>
    <td>{$result.user_agent}</td>
    <td>{xen:datetime $result.view_date}</td>
</tr>
</xen:foreach>When I hover my mouse over the IP link, I get the following:

Notice the {ip} is still in the URL and not being converted.
What is the proper template code?
Thank you.
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
 
		 
 
		

 
 
		 
 
		