Integrate with Real Name module

bobgeier - November 3, 2009 - 23:29
Project:Team Notifications
Version:6.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

This I hope should be a relatively easy and straightforward feature request. It would be nice if the team notification used the drupal username function so that it integrated with the Real Name module (see Real Name project). "Bob Smith" is an easier team member to pick out than some usernames like bbs1265.

#1

libsys - December 2, 2009 - 17:50

Since RealName simply overrides theme_username($object), all we'd need to do is invoke this function when setting usernames so that instead of doing a straight $user->name;, we'd do theme('username', $user);. Right?

The attached files make this very small change in a few places where I noticed usernames were being set, and I have verified that RealName is invoked in the notifications form in my test intstance- "foobbs1265" becomes "Fred Foo." I did not test the autosuggest form, FWIW.

AttachmentSize
notifications_team.622582-DRUPAL-6--1-0.patch 1.38 KB
notifications_team.622582-DRUPAL-6--2-0-BETA5.patch 1.35 KB

#2

libsys - December 2, 2009 - 18:08
Status:active» needs review

forgot to change the status...

 
 

Drupal is a registered trademark of Dries Buytaert.