Quiver
Active member
How come this works in forum_list template?
But when I try to call {$XTopUser.homepage} in ad_header template it doesn't work?
Code:
<xen:if is="{$TwistedPromotion_TopUser}">
<div class="section staffOnline avatarList">
<div class="secondaryContent">
<h3>{xen:phrase twistedpromotion_topuser}</h3>
<ol>
<xen:foreach loop="$TwistedPromotion_TopUser" value="$XTopUser">
<li>
<xen:avatar user="$XTopUser.user" size="s" text="{$XTopUser.username} ({xen:number $XTopUser.totalPosts})" class="Tooltip" title="{$XTopUser.username}" />
<xen:username user="$XTopUser.user" rich="true" />
<xen:if is="{$XTopUser.homepage} == ''">
<i>has not set their homepage.</i><br />
<a href="http://www.twistedpromotion.com/account/personal-details">Click to set your homepage.</a>
<xen:else />
Visit {$XTopUser.username}'s website:<br />
<a href="{$XTopUser.homepage}" target="_blank">{$XTopUser.homepage}</a>
</xen:if>
</li>
</xen:foreach>
</ol>
</div>
</div>
</xen:if>
But when I try to call {$XTopUser.homepage} in ad_header template it doesn't work?