Hello,
I searched the issues queue, but I don't found such a question came up before.
I am using signup module and as per requirement i need to change few things.
1. Adding phone number and city,state details which i made it by adding to template.php file.
2. There is one email message when anonymous user signup. like : "An e-mail address is required for users who are not registered at this site. If you are a registered user at this site, please login to sign up for this Event."
I found that for 2nd point there is one function signup_form() in includes/signup_form.inc file. If i want i can change text there but it is not advisable. so i created new module and added that text with help of form_alter method but it did not workout.
function textchange_form_alter(&$form, &$form_state, $form_id)
{
switch($form_id){
case 'signup_form':
if ($signup_type == 'anon')
{
$form['collapse']['signup_anon_mail']['#description'] = t('Test text here');
}
break;
}
}
does anyone know how to change this text ?
3. Also when someone signup than there is text for signup confirmation. I also need to add additional text. for that it is in signup.module file with signup_sign_up_user() on line no 1242. How do i change that text with module or theme ?
Thank you
Tejas Mehta
Comments
Comment #1
LeisureLarry commentedI was able to change this text, using an existing module.
http://drupal.org/project/stringoverrides
Greats from Germany
LeisureLarry (interiete.net)