Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By tesol on
How to change this registration message: 'A message with further instructions has been sent to your email address' ?
Thanks
Comments
String overrides
The simplest method is to install and use (strings overrides module).
The message your seeing is hard-wired into the core user module with "drupal_set_message"; but it's also using drupal's t() function (https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/t/7) which means you can override it with the string override module.
navigate to admin/config/people/accounts
You can change the messages manually in body field
Sumiullah, I've been there
Sumiullah, I've been there but that message doesn't appear to be there?
Move to welcome awaiting approval
On the admin/config/people/accounts scroll down to (welcome awaiting approval ) tab and change the default message there.You can use the tokens available
Thanks, Samiullah, I will try
Thanks, Samiullah, I will try that.
No, this message is hardcoded in user.pages.inc
Incorrect, you are referring to the email message. The original poster is referring to the message within drupal via drupal_set_message():
The offending code is below, resides in modules/user/user.pages.inc, you might be able to user hook_form_alter to grab the submit handler? Not sure off hand. Or just use the awesome string overrides module as suggested above.
I use this method: http://www
I change the string in settings.php: http://www.bluespark.com/blog/youre-doing-it-wrong-dont-hack-drupal-core...
Just ran into this today. If
Just ran into this today. If you change the string in
settings.php
it will also override the password reset message. So in our case, it said "Thanks for registering" for people who reset their passwords. Working on a more localised fix and will report back with any info.