3

I'm trying to change the message users see after creating an account. It currently says:

Thank you for applying for an account. Your account is currently pending approval by the site administrator. In the meantime, a welcome message with further instructions has been sent to your e-mail address.

What's the best way of changing this? Would the String Overrides module help? A Rule, perhaps?

Many thanks.

3 Answers 3

2

This is exactly what the String Overrides module is for.

If you only need just a couple strings, you can also use settings.php. See this section:

/**
 * String overrides:
 *
 * To override specific strings on your site with or without enabling locale
 * module, add an entry to this list. This functionality allows you to change
 * a small number of your site's default English language interface strings.
 *
 * Remove the leading hash signs to enable.
 */

You don't want to use Rules, because although you can add a new message with a rule, the old message will still be there as well (which isn't what you want, I assume).

2
  • Thanks for your help, Patrick. I'm trying my hardest to resist editing setting.php! Is this right? i.imgur.com/SVkS40N.png Commented Jul 27, 2013 at 12:51
  • 1
    It is worth noting that the string overrides module needs the exact text including the line breaks in the orginal message. See drupal.org/node/1261668 Commented Jan 21, 2015 at 13:16
0

I solved this with Rule module because this module was already used in my application but as Patrick Kenny said we can set new message with a rule but the old message will still be there as well. This problem I solved with the help of CSS (hiding message div with display:none property).

1
  • hm, how about further improving your rule, so that you would not need any CSS tweaks, and which should work for any theme also? Commented Jan 12, 2018 at 9:05
-3

You can change those messages in Configuration>Account settings (admin/config/people/accounts). There is E-mails section where you can change messages used during account registeration process.

1
  • 1
    The OP is not talking about emails they are wishing to remove the on-screen notification Commented Jan 21, 2015 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.