When creating a new user via the administrator screen (admin/user/user/create) is it possible to hide/change the help text at the top that reads.

This web page allows administrators to register new users. Users' e-mail addresses and usernames must be unique.

I would like to avoid using CSS or hacking core modules.

Comments

muhleder’s picture

Status: Active » Fixed

The help text has nothing to do with the shared email module, but the way to do it is here.

http://drupal.org/node/290

sittard’s picture

The text is a bit misleading once the module has been installed and although it's not really part of the module I think the overall UI should be a consideration.

Using the Locale module is a great idea but it seems a bit overkill and I don't want the additional server overhead of a full multi-lingual site.

muhleder’s picture

Good point, could probably change the text using one of the hook_form_alter variations?

sittard’s picture

The closest I can find is to use hook_help as follows:

function mymodule_help($path, $arg) {
  switch ($path) {
    case 'admin/user/user/create':
      return '<p>'. t("New Help Text Here.") .'</p>';
    }
}

But this only appends the new help text and I would like to remove it!

muhleder’s picture

http://api.drupal.org/api/function/hook_form_alter/6

If you can use a php debugger like komodo or eclipse you can see exatcly what to change. Or you might be able to print_r($form).

Probably better off asking in the forums, I haven't got time to do it myself, and more people there to help out.

sittard’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.