1

using Drupal 7.

I have added a field in the user account settings called "author summary" (field_author_summary)

When a user is editing their profile, they can enter a brief description of themselves into this field.

Now, the goal is to display this information as a block, directly under the content they are the author of.

I can't figure out the proper contextual filters and/or relationships.

Any ideas?

Thanks!\

1
  • Just to clarify, I want to pull a field from a profile (the author of the current node) and display it in a block.
    – Jason
    Commented Jun 7, 2014 at 2:10

1 Answer 1

0

I assumed that you have create a block view. (In case if you want to know how to create, check the revisions of this answer)

Add Author Relationship

enter image description here

Add Fitter Criteria : User: Current with author relationship enter image description here

select Is the logged in User - yes. Click on Apply.

It pulls a field from a node (the author of the current node) and display it in a block

3
  • Krishna, thank you for your reply, very detailed. However, I want to display a field from the node author's profile, not the current user.
    – Jason
    Commented Jun 6, 2014 at 17:31
  • @Jason I've updated my answer hope it helps. If I missed anything from your question. let me know. Commented Jun 9, 2014 at 5:31
  • Thanks @Krishna Mohan. For some reason, it still won't work. That Filter seems to be messing it up. When I click "Yes" for "Is the logged in user", the block doesn't show up... When I click "No" (Is NOT the logged in user), the same profile field shows up for all content, regardless of node author. Gosh, I wish it weren't so complicated. All I would like to do is to display a little biographical information for each node's author, regardless of current user or if they're logged in or not.
    – Jason
    Commented Jun 13, 2014 at 15:33

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.