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

Outputting xen:username without link

Discussion in 'Styling and Customization Questions' started by Russ, Oct 16, 2011.

  1. Russ

    Russ Well-Known Member

    Is there a way of converting this:

    Code:
    <xen:username user="$conversation.last_message" />
    
    Into something so when it outputs it will only show the username without the hyperlink to the profile?

    I tried:

    {$conversation.last_message} for kicks, but no go ;p
     
  2. ragtek

    ragtek Guest

    xen:username outputs always an link, but you could try

    {$conversation.last_message.username}

    or use an alternative method instead of helperUserNameHtml
     
    Russ likes this.
  3. Russ

    Russ Well-Known Member

    Beautiful, I tried {$conversation.username.last_message};p, thanks ragtek.
     

Share This Page