(somewhat related: http://drupal.org/node/517844)
Add the ability to hook the realname in other modules before it is rendered to modify the output of the realname. This allows for dynamic overriding of the rendered name.
Ex)
hook_realname_alter($account, $realname){ return $realname; }
(see attached patch...)
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 689642-hook-realname-alter.patch | 3.37 KB | coreyp_1 |
| #3 | 689642-hook-realname-alter.patch | 3.37 KB | randallknutson |
| #2 | 689642-hook-realname-alter.patch | 3.08 KB | coreyp_1 |
| hook_realname_alter.patch | 3.07 KB | christianchristensen |
Comments
Comment #1
coreyp_1 commentedagreed, this would be a useful feature.
Comment #2
coreyp_1 commentedfixing the patch file. It left a "%" out of the sql query.
Comment #3
randallknutson commentedMissed a place where we need to call the hook.
Comment #4
joelstein commentedThis patch works great for me. Can we commit it?
Comment #5
coreyp_1 commentedFixing a variable name
Comment #6
nikosnikos commentedI couldn't apply the patch correctly on the current 6.x-1.x-dev version.
Comment #7
dave reidComment #8
hass commented