I want to modify some system messages that come out of core modules.

Specifically, I would like to change the message shown to after the registration message is sent to the user. I can quite easily hack the User and the Comment modules but, as these are core modules, I'd have to remember to re-fix this when we do a Drupal update.

(1) Is there a better way to change system messages? or,

(2) If you have to hack a core module, what is the best way to manage these for the future.

- Geoff

Comments

pbarnett’s picture

There is a set of overridable core functions in includes/theme.inc, each of which can be overridden in a theme's template.php;
for example, there's function theme_status_messages by adding a function called phptemplate_status_messages to template.php, if that helps at all...

If you want to modify the contents of the emails that are sent, that's in admin/user/settings

Pete.