TsinJu
Well-known member
Using Sheldon´s "3 Wide Font Awesome Postbit" as reference i would like to change the display that the Counter is inside/after the Tooltip Phrase and displayed is just the clickable FontAwesome Icon
Trying it just shows that i am a miserable Coder
Here´s what i was trying on the Trophy Points
and thats the original Code from the Modification
Edit: I got something working.. Maybe someone, with more programming experience, could look over whether I have done it right?
Trying it just shows that i am a miserable Coder
Here´s what i was trying on the Trophy Points
Code:
<xen:if is="@messageShowTrophyPoints AND {$user.user_id}">
<dl class="pairsInline">
<dt><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed"><span class="fa fa-trophy fa-fw Tooltip" title="{xen:phrase trophy_points}" : "
{xen:number $user.trophy_points}"></span></a></dt>
</dl>
</xen:if>
and thats the original Code from the Modification
Code:
<xen:if is="@messageShowTrophyPoints AND {$user.user_id}">
<dl class="pairsInline">
<dt><span class="fa fa-trophy fa-fw Tooltip" title="{xen:phrase trophy_points}"></span></dt>
<dd><a href="{xen:link 'members/trophies', $user}" class="OverlayTrigger concealed">{xen:number $user.trophy_points}</a></dd>
</dl>
</xen:if>
Edit: I got something working.. Maybe someone, with more programming experience, could look over whether I have done it right?
PHP:
<xen:if is="@messageShowTrophyPoints AND {$user.user_id}">
<dl class="pairsInline">
<dd> <a title="{xen:phrase trophy_points}: {xen:number $user.trophy_points}" href="{xen:link 'members/trophies', $user}" class="Tooltip"><span class="fa fa-trophy fa-fw"></span></a> </dd>
</dl>
</xen:if>
Last edited: