1

I have a display name field I created for my users (available in account settings). I'd like to display the display name in the node if the person authored that node. I see I have an author field I can use... but that displays the login of the user, while I want to display their pretty display name that I setup instead. Is there a way to include this field instead of the author field?

In views it's easy to do, but I'm trying to use the field in a node.

| improve this question | | | | |
  • did you try entity reference field ?? – Adi Nov 5 '15 at 5:47
3

There is a module for it. You can choose which custom user field to use. This module only works for drupal 6 and drupal 7 https://www.drupal.org/project/realname

| improve this answer | | | | |
  • 1
    that worked easily - thank you. I just added the module and in the configuration I chose the display name field I already set up. saved the configuration and voila! the name appears that way on the node. nice. – Sage Nov 5 '15 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.