By default the most out of the box Open Atrium provides is username token for email messages.
Not sufficient if you plan to use OA in a professional environment. Also username is shown in listings instead of user's full name while it really ought to be users full name.
Here's a solution to the problem:
- Install & enable the realname module: http://drupal.org/project/realname (dev release since there's a bug with Imagecache Profile)
- Install & enable auto_nodetitle: http://drupal.org/project/auto_nodetitle
- Go to administer > content management > content types
- Click 'manage fields' for the 'profile' content type
- Add a text field called Full Name
- Edit the main settings for the profile content type by clicking 'edit' from the content types list
- Expand the "Automatic title generation" fieldset, which for me was the first fieldset on the screen
- Choose 'Automatically generate the title and hide the title field'
- Under "pattern for the title", enter: [field_profile_fullname-raw]
- Go to Administer > User Management > Realname
- In the general tab, check 'Show realname in nodes', and 'Overwrite user fields in view to show realnames'
- Click the 'module' tab, select 'content profile', and click 'use this module'
- In the 'fields' tab, choose 'Full Name' and save.
- In Messaging templates insert [realname-node-author] for node author's display name and [realname-comment-author] for comment author.
On a related note -- if you want your project names in emails (Casetracker Project title field) then this little patch here does the trick.
It's quiet in here! Why not leave a response?
Leave a Response