At the Message templates settings, each template can use several tokens. These include two tokens for a user login name: [user] for the notification's recipient and [user-name] for the user who triggered the notification. I am using the RealName module to display user's real names instead of their login names and would like the real names to also appear in the notifications. There is a [realname] token for the notification's recipient, but not a corresponding token for the user who triggered the notification (something like "[user-realname]"). Would it be possible to also add such a token?
Comments
Comment #1
univate commentedThis is something for the realname module to implement and expose as available tokens.
Comment #2
mechanoid commentedThis would be fantastic. I am sending out rules-based notifications for workflow purposes.
Usernames reflect corporate login names in my organization. It would be nice for the notification emails to token replace with their Realname.
Current example:
If approved, doej needs this project completed by 2009-01-05.
Realname token ideal:
If approved, John Doe needs this project completed by 2009-01-05.
Any chance of getting [user-realname] exposed as a token in the next version?
Comment #3
Bilmar commentedsubscribing
Comment #4
pdumais42 commentedsubscribing
Comment #5
aleada commentedthis would be very helpful in all messaging functions....
Comment #6
robby.smith commented+1 subscribing
Comment #7
nancydruOn a customer site I am working on, in PathAuto we use [realname], which is already provided. I would assume that Rules can see that token.
Comment #8
robby.smith commentedHello,
I found [realname] to be available in the action 'Send a mail to a user'
But when I use [realname] more than once in the message it does not work properly (anything after the first use of [realname] actually shows '[realname]' instead of the replacement. Is this normal?
Thanks!
Comment #9
nancydruI would think not. You should ask that of the module providing the action.
Comment #10
hass commented