By xsean on
may i know how to change the default message "Your password and further instructions have been sent to your e-mail address." after user click submit for 'Create New Account'?
i had tried search solution in drupal but seem did found any post related to this issue. some recommend use stringoverride but is there solution to write php custom code in the custom module or template.php?
hope can hear you guys reply soon. thank you.
Comments
drupal_set_message()?
Hi,
Could the drupal_set_message(), http://api.drupal.org/api/function/drupal_set_message/6 function work for you?
Best
George Baev
George Baev
Drupal Developer
My LinkedIn profile: http://bg.linkedin.com/in/georgebaev
how?
yes, but how?
Administer->User
Administer->User Management->User Settings
Never mind that, I hadn't
Never mind that, I hadn't read your post carefully enough.
However, you can always open modules/user/user.module and search for that message and change it (not sure if this is the "right" way, but it should work.
No need to hack core
I tried the stringoverrides module to no avail and ended up changing the login message by altering the messages session variable as follows:
This needs to go in your custom module.
In Drupal 7, do this way
http://drupal.org/node/1259502#comment-5887242
Do what? You linked to an
Do what? You linked to an issue that has gone completely unanswered and unresolved, the only reply is someone who had no idea what the issue was about.
New Zeal's idea works for me.
New Zeal's idea works for me. Thanks