1. 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

Discussion in 'Closed Suggestions' started by Uniphix, Oct 11, 2011.

  1. Uniphix

    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:

    <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>

Share This Page