String Overrides is a phenomenally versatile module that will make your life MUCH easier if you are administering a Drupal website. The basic premise is this…
There is a “string” of text on my website that I need to replace with something else. I have used it a few places, here is a particular use-case:
When a new user creates an account they get a message along the lines of:
I need to change this message and add in an email address they can contact if their account isn’t approved in so many hours so the message reads something like this:
String overrides can do this… WITHOUT you having to manually edit PHP to change the wording. (which I drastically prefer because A.) I hate messing with PHP and B.) the changes will stick even if you update the module whose text you need to change)
String Overrides is very basic and thankfully stupid simple to use. It gives you two fields, left and right, original and replacement. Copy and paste the original text you need to replace into the original field. If there are some HTML tags in the text, as shown above, you might need to use your browsers code view to get the actual text+code and not what is just being displayed by your browser. Put what you want it to be replaced by in the “replacement” field to the right. Save. Need more? Hit “add row.” It is very simple and it works quite well!
You can grab the module from here: