1

I currently have a content view that displays a list of nodes for a blog. I would like to display the node authors real name (John Smith) at the top, but currently I am only able to display their username (john_smith) by creating a relationship to Content: Author and then adding User: Name.

How can I grab some fields from the node authors user profile?

The fields I need are $field_first_name, $field_last_name, $field_position.

FYI: I realize that there are modules that might be able to fix this problem such as Real Name, but I am hoping to do this without it.

enter image description here

1 Answer 1

2

If you don't use any special modules and you have simply added fields to the user acount (on /admin/config/people/accounts/fields then you should be able to add those fields in the Views UI. Just like you do it with all other fields, except that you use the author relationship that you have already created.

1
  • Ha! I must have needed to save it. I swear it wasn't there. It's there now! Thanks.
    – Dan
    Commented Mar 9, 2014 at 0:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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