Hi all,
Would like to know, if there is any way I can change the field 'Username' into 'UserID' in the account information in Drupal.
Kindly help me in this regard.
Thanks Abuthahir
--------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.
On what screen? Or do you mean in the database?
On Tuesday 10 April 2007 12:16 am, Syed Abuthahir wrote:
Hi all,
Would like to know, if there is any way I can change the field 'Username' into 'UserID' in the account information in Drupal.
Kindly help me in this regard.
Thanks Abuthahir
In general. That is during Account registration and then, Login, etc. End user should know, it is User ID (and not User name).
Not required in the database as it is not exposed to end user.
Larry Garfield larry@garfieldtech.com wrote: On what screen? Or do you mean in the database?
On Tuesday 10 April 2007 12:16 am, Syed Abuthahir wrote:
Hi all,
Would like to know, if there is any way I can change the field 'Username' into 'UserID' in the account information in Drupal.
Kindly help me in this regard.
Thanks Abuthahir
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Syed Abuthahir wrote:
In general. That is during Account registration and then, Login, etc. End user should know, it is User ID (and not User name).
Not required in the database as it is not exposed to end user.
The easiest way (though it's kind of hackish) is to use the locale module. Just make a new locale, start it with a copy of the english one (or whatever the language of the site is) then "translate" the parts you want to change. Use that for your site's default locale.
Susan
Thanks guys,
I was able to do it successfully, as you mentioned.....[in a hackish way :) ]
Regards, Abu
Susan Stewart HedgeMage@binaryredneck.net wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Syed Abuthahir wrote:
In general. That is during Account registration and then, Login, etc. End user should know, it is User ID (and not User name).
Not required in the database as it is not exposed to end user.
The easiest way (though it's kind of hackish) is to use the locale module. Just make a new locale, start it with a copy of the english one (or whatever the language of the site is) then "translate" the parts you want to change. Use that for your site's default locale.
Susan
The cleanest way to do that currently is to use the translation system. Enable the locale module in core. Define a new language that is a "custom English", visit the pages you want to translate to build up the cache, and enter translations from "User name" to "User ID". It's kinda weird, but it works. :-)
That said, I'm not sure why you'd need to in that case.
On Tuesday 10 April 2007 12:57 am, Syed Abuthahir wrote:
In general. That is during Account registration and then, Login, etc. End user should know, it is User ID (and not User name).
Not required in the database as it is not exposed to end user.
Larry Garfield larry@garfieldtech.com wrote: On what screen? Or do you mean in the database?
On Tuesday 10 April 2007 12:16 am, Syed Abuthahir wrote:
Hi all,
Would like to know, if there is any way I can change the field 'Username' into 'UserID' in the account information in Drupal.
Kindly help me in this regard.
Thanks Abuthahir
-- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012
"If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson