I currently have a view that shows on the user profile page (as a block). I got it to show results of the content for the current logged in user.
This works great for normal users as they will only be able to see theretheir current profile page. The problem is when an admin views a normal user profile page its showing the admins content not that users content. I have created a content type that my users can make for projects. However, I want to change the view so that should an admin view a users profile it willto show that usersthe content for the shown profile, not the current user, since admins that view other user profiles will not see that user's content.
Is there a way to set the view to get the uuiduid of the profile page rather thenthan the logged in user?
These are the view settings I have right now are:
CONTEXTUAL FILTERS
Content: Author uid
Provide default value: User ID from logged in user
RELATIONSHIPS
Content: Author
my Provide default value is set to User ID from logged in user as this works for normal users will not work for an admin looking at the profile of a normal user.