Sean, just had a quick look. If you leave the template the way it was before, this patch works, because preferredname gets passed to the display_name function and then gets output in $r.name.
But if you change the template to output preferredname, everyone who doesn't have a preferredname set in the database shows up as having no name at all. -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. https://bugs.launchpad.net/bugs/661619 Title: Real name used instead of display name for members of a group Status in Mahara ePortfolio: In Progress Bug description: In a Mahoodle installation (Mahara 1.3) I have the first and last name fields locked as they are updated from Moodle and entered a display name. That is generally used throughout Mahara. However, in a group, the real name is used in the "members" area on the homepage. In the group info box however, where I am admin, my display name is used. The display name should also be used in the Members block. _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp