custom messages
agilpwc - May 5, 2008 - 04:12
| Project: | LoginToboggan |
| Version: | 7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Description
It would be nice if you could customize the message that displays on the screen after a user registers.
Currently it is hard coded to "A validation e-mail has been sent to your e-mail address. In order to gain full access to the site, you will need to follow the instructions in that message."

#1
i'm happy to review and commit a quality patch that accomplishes this, but i have no interest in writing it at this moment.
#2
Can you use the String Overrides module for this?
#3
Just wanted to mention that I'm also looking for the ability to customize this message (without hacking the module).
Thanks,
Mindy
#4
Our project requires custom mesages as well.
Here's my attempt to submit a patch that does this. I made the preauth welcome message, the regular welcome message and the successful validation messages configurable in the Logintoboggan admin screen.
#5
logintoboggan_uninstall()to see how the variables are named for the module. specifically, full module name prefix, and not much in the way of word abbreviation.'#tree' => FALSE,is unnecessary in$form['messages']$msgidare generally frowned upon.#6
I rerolled the patch with your suggestions. I added to the logintoboggan_uninstall() to delete the variables I created. Let me know if things are still weird.
#7
please submit patches in unified diff format -- the default format is too difficult to read.
#8
rerolled with unified diff format
#9
Use localization module to customize displayed message in drupal...
R.Navaneethakrishnan
http://navaneethakrishnan-drupal.blogspot.com/
#10
#11
it would be nice to be able to select the color code for such messages.
I think a red message is too harsh; should only be used when real damage can occur. that may be the case for some.
other users might prefer green, but it's too nice for me. yellow, on the other hand, says "pay attention" (duh). and there is always the option of using no colour at all - or I hope there will be ;)
what I'm getting at is, let the user choose at its discretion. right?
#12
If the module passes the message through t(), you can use String Overrides.