[support] How to display the users real name as author?

Saint-Genest Gwenael gwenael.saint-genest at makina-corpus.com
Wed Oct 31 14:33:06 UTC 2007


    The name displayed is sent by theme_username() [1]. You need to
have (add?) this function overridded by your theme to allow a
personal field into "Submitted by" message. Are you using a personal
or a standard theme ?

Gwen

[1] http://api.drupal.org/?q=api/function/theme_username/HEAD

Luc Geers wrote:
> Hi,
> 
> The users of my website haves a numerical code that I want to use as login.
> I would like to have the users real name displayed as "posted by" on the
> articles (and not "posted by 65432100178").
> I use the contact_realname module to define a profile_name field, but don't
> find how to display the users name as posted by.
> 
> Can anybody help me?
> 
> Thanks!
> 
> Luc
> 
> 

-- 
Saint-Genest Gwenael <gwenael.saint-genest at makina-corpus.com>
Makina Corpus - http://www.makina-corpus.com/


More information about the support mailing list