• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest xen:username raw attribute


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:

<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

<xen:username class="{xen:if '!{$user.visible}','invisible'}{xen:if {$user.followed}, ' followed'}" /><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>