Changing the small letter in the ¨User Account page

mortenson - May 1, 2008 - 15:07

When an anonymous user is creating his new account filling the form in the ¨User Account¨ page, there are some explanations near each field. For example in the Email field says ¨Enter a valid email address.......¨. How can you change that text (not of the fields you create using the profile module, but the default fields)? I have search through the codes in the profile module but cant find the one that contains those texts.

thanks

I don't think this is the

WorldFallz - May 1, 2008 - 15:18

I don't think this is the best way to do this (you'll have to redo it each time drupal gets updated) but I think those strings are in the user.module. I would use the http://drupal.org/project/stringoverrides module.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

thanks a lot, Never thought

mortenson - May 1, 2008 - 16:05

thanks a lot,

Never thought that a module like this existed

But I still cant find the

mortenson - May 1, 2008 - 18:37

But I still cant find the strings I am looking for...I have search the user module codes with no success

You don't say which version

WorldFallz - May 1, 2008 - 18:54

You don't say which version of drupal you are using, but in my D5 site the user registration form starts on line 1310 of user.module.

===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime."
-- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz

One way to change hardcoded

cog.rusty - May 1, 2008 - 16:50

One way to change hardcoded strings is to enable the locale module, add a new language, let's call it "Custom English", make it the default, and search and "translate" the strings you want.

thanks cog.rusty this method

mortenson - May 1, 2008 - 18:58

thanks cog.rusty
this method is quite fast and easy

 
 

Drupal is a registered trademark of Dries Buytaert.