(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...)

Comments

coreyp_1’s picture

agreed, this would be a useful feature.

coreyp_1’s picture

StatusFileSize
new3.08 KB

fixing the patch file. It left a "%" out of the sql query.

randallknutson’s picture

StatusFileSize
new3.37 KB

Missed a place where we need to call the hook.

joelstein’s picture

Status: Needs review » Reviewed & tested by the community

This patch works great for me. Can we commit it?

coreyp_1’s picture

StatusFileSize
new3.37 KB

Fixing a variable name

nikosnikos’s picture

I couldn't apply the patch correctly on the current 6.x-1.x-dev version.

dave reid’s picture

Status: Reviewed & tested by the community » Needs work
hass’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)