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
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
Op 31-okt-07, om 15:33 heeft Saint-Genest Gwenael het volgende geschreven:
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 ?
I use a personal theme. Does this means that i have to modify theme_inc?
I have set Contact real name display to "alter user contact forms", but don't find any field where the users can enter there names?
Greetings,
Luc.
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@makina-corpus.com Makina Corpus - http://www.makina-corpus.com/ -- [ Drupal support list | http://lists.drupal.org/ ]
Hi Luc you might want to check this comment posted:
http://drupal.org/node/122303#comment-204277
On 11/1/07, Luc Geers luc.geers@gmail.com wrote:
Op 31-okt-07, om 15:33 heeft Saint-Genest Gwenael het volgende geschreven:
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 ?
I use a personal theme. Does this means that i have to modify theme_inc?
I have set Contact real name display to "alter user contact forms", but don't find any field where the users can enter there names?
Greetings,
Luc.
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@makina-corpus.com Makina Corpus - http://www.makina-corpus.com/ -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]