Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I have an action setup in drupal to e-mail me when a new user registers for the site. Right now it is only telling me their user name (%username). Is there a variable that can access added fields so I can get their real name (First Last), or another way to add this info to the action message? So instead of my new user action having a message like:

"%username created an account" -> "jschmoe created and account"

I could have:

"%first_name %last_name (%username) created an account" -> "Joe Schmoe (jschmoe) created an account".

I'm using Content Profile module for the first and last name fields, though have few enough users at the moment that I could switch to Profile module fields.

share|improve this question
I already have Profile and Content Profile. I just need to know how to access the field values from actions. Edited to clarify. – Rob Mosher Nov 11 '10 at 12:36

migrated from webmasters.stackexchange.com Aug 19 '11 at 15:04

1 Answer

You could try using the Realname module together with Token and Token Actions.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.