Uniphix
Active member
I suggest to add an <xen:username raw="true" />
So that way if we want to override the username to become a display name or something of that sort for some places... For example in template sidebar_online_users
There is this:
problem is i'd like to be able to have {$user.username} to be <xen:username raw="true" /> it'd simply return the username that I desire that does not have a hyperlink since I'm creating it already... besides shouldn't this whole line be something like
So that way if we want to override the username to become a display name or something of that sort for some places... For example in template sidebar_online_users
There is this:
HTML:
<a href="{xen:link members, $user}"
class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
problem is i'd like to be able to have {$user.username} to be <xen:username raw="true" /> it'd simply return the username that I desire that does not have a hyperlink since I'm creating it already... besides shouldn't this whole line be something like
HTML:
<xen:username class="{xen:if '!{$user.visible}','invisible'}{xen:if {$user.followed}, ' followed'}" /><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
Upvote
0