I have a site with user registration setup and it works, but the email to the admin does not have enough information. I want to capture the user's name from the registration form. So I need to find out
1. how to add the request for that data and
2. how to add it to the email. I installed the Registration module, but didn't see anything in there that lets me do that. I am not a PHP programmer, so I'd like to be able to do this with adding fields etc. from within Drupal Admin. How should I proceed?

Comments

VM’s picture

typically one would utilize tokens. for example the default emails from core are customizable @ admin/config/people/accounts

DocDJ-forum’s picture

That only lets me access the email to the users. I want to modify what the administrator gets when registrations have to be approved.

regards,
DJ

VM’s picture

understood. The example was provided so you could review the concept of tokens.

you'll want to investigate Mail Edit.module or similar to edit those unavailable to the core admin ui by default.

DocDJ-forum’s picture

Thanks VM. The mail edit module sounds like exactly what I need. I want to refrain from writing any PHP because I may eventually need to have a non-programmer maintain the site.
I have used tokens in webforms, but your review suggestion was a good one.

regards,
DJ

DocDJ-forum’s picture

The mail_edit module looks like it can help, but I still can't find the builtin element of Drupal that contains the account creation (registration) form USED BY THE USER so I can add fields the user must supply. The default is only to collect a "user name" and email address. I want to collect a real human's name (1st & last names) so I can look them up in our organization's membership list, before approving registration. I can't find the form in content, structure, modules, or appearance, so I can edit it.

Where should I look to find the BUILT-IN user registration form so I can add fields to it? Or should I create a new account registration form and if so how do I tell Drupal to use it?

regards,
DJ

VM’s picture

To add fields to the user object and subsequently to the registration profile in Drupal 7 go to admin/config/people/accounts/fields add your fields to the user and check the Display on user registration form checkbox.