I need to show a view in the sidebar that shows information about the current node's author (Username, picture, email). How do I go about doing this?

1 Answer 1

  1. Create a view with selecting a type as user.
  2. Add "User:Content authored" relationship.
  3. IN Contextual filters add nid and select the option of "provide default value" and select content Id from URL.


That's it :)

  • Interesting. Thanks that worked. I was going the other way. View as type "content" rather than "user" (same relationship and contextual filter) and it wasn't working. In theory it should work the other way as well, no? Commented Dec 18, 2012 at 23:43
  • Just tried with other way like view as type "content" and follow the same step and its working. In display i have added the username.
    – j2r
    Commented Dec 18, 2012 at 23:50
  • interesting. I must be getting tired. Thanks for following up. Commented Dec 18, 2012 at 23:59

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.