Was wondering where I could edit the captions / descriptions on the user/register page for Account Information? For example, the default text under email says, "A valid e-mail address. All e-mails from the system will be sent to this address. The e-mail address is not made public and will only be used if you wish to receive a new password or wish to receive certain news or notifications by e-mail." I'd like to edit this text.

Also, perhaps I should create a new thread about this, but I've been editing the user list page to add more fields to be displayed, and I currently have this code that I took from a page on the forums...

<table width = "100%" border="0" cellspacing="2" cellpadding="0" align="left">
<tr><td></td><td rowspan=5 valign= "top" align="right"><?php if($user->picture) {print '<br />'.theme('user_picture', $user);} ?></td></tr>

<tr><td>Name: <?php print check_plain($user->profile_fullname) ?></td></tr>
<tr><td>Email: <?php print check_plain($user->profile_email) ?></td></tr>
<? if ($user->profile_prefered){ print '<tr><td> Email Address : '.$user->profile_home_email.'</td></tr>'; } ?>
<? if($user->profile_home_address){ print '<tr><td>Home address: '.check_plain($user->profile_home_address).'</td></tr>';} ?>
</table>

The email address part is not working -- anyone know the proper code to display the user's email address in the user list?

Thanks in advance for the help,
-Chase

Comments

catch’s picture

If you're hacking user.module that's not such a great idea, you'll have a lot of work to do every time you upgrade.

You'd be better off looking at logintoboggan module and maybe try translating the strings by replacing english with a custom english (like myenglish or whatever) translation in the built in localisation module (which is a bit of a hack, but much less than hacking core modules just to change a few words, plus it'll survive upgrades)