Skip to main content
2 of 2
clarified a misunderstanding
Dan
  • 265
  • 2
  • 9

View users contributed content in profile

I have users that have profiles using Profile2 module. I created a content type called Projects. A user can add a project, it has fields: title, description, and file. I would like to add a view to the users profile page that lists all of their Projects.

How can I connect the profile to the content author and use a contextual filter to get only that users content when viewing their profile?

Any help is greatly appreciated.

Edit: An example to clarify: If user1 is logged in and views his profile he will see a list of his projects.

If user1 views user2's profile he will see a list of user2's projects.

Dan
  • 265
  • 2
  • 9