Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
The author pane shows the login name(raw-username) above the avatar. How to show the real name instead?
p.s. I'm using 'realname' module; it works everywhere else in the site
Comments
Comment #1
MichelleI don't know why it's not working and don't have time to dig into it but wanted to get this moved over to the right queue.
Comment #2
Vasu CreditAttribution: Vasu commentedSorry that I didn't make it clear.
I do not use 'Author pane' module.
What I meant was that the name on top of the avatar is author's user-name.
Is there any way the real name of the author can be shown using a token from an user account field or from one of the contributed modules like name or realname.
p.s. updated to the latest 7x-2.0.
Comment #3
MichelleOh, then it's using the simplified version which does:
$name = theme('username', array('account' => $context));
That's using theme_username as it should be so it should pick up the Real Name module. If it's not, you may need to ask in its queue.
I'm going to leave this active for now since I've done so little with the 7.x branch and troky may have more input but I don't see any issue on AF's end.
Comment #4
Vasu CreditAttribution: Vasu commentedSorry. Not related to advanced forum at all. Error still persisted after disabling advanced forum. Changing to correct tokens in 'realname' module setting solved the problem.
Anyway thanks for your time :)
Comment #5
MichelleGlad you figured it out. :)