I am having a hard time setting up my Panels page for the user profile page ie: /user/%user
I am using the "Reference" module, and have my content type "News" reference users. I created a view for this called "User News Reference" to make sure it is working correctly. The view has a "page" and a "block". The "page" display for the view correctly returns the referenced data when you manually put the user's id in the path.
I then went to panels and used the Panel's page for the User Profile Page, ie: /user/%user I created a variant and my user's profile to the top of the content and then I added the view "User News Reference" to the center content. I then loaded the user page with a valid user that has referenced "news" content, but the referenced material never shows up.
I created images of every step along the way to help you help me diagnose the problem:
1) First here is my view that I created that returns "news" content that references the user.
2) Here is the view in page display showing the "news" content that references the user with id = 1 (added to show that the references are configured correctly)
3) here is the panel page. In the context section I first have the User Profile, and then the "User News reference" view. I followed it up with some custom content to show that the panel page is actually loading correctly and the page shown is the User Profile Panel page.
4)After setting all of that up here is the page for user 1. This is the Panel's version of the user profile. Note that you can see the profile and the custom content, but not the "news" referenced content from the view.
5)To be sure that the view was loading properly, I went to the view and changed the contextual filter from "display no results if the filter value is not in the url" to "display all results for the specified field" and reloaded the user profile for user 1. then all of the "news" content is returned on the user profile page for user 1, proving that the "User News Reference" view is loading properly for the user profile panel.
Can someone help me understand what I need to do correctly to get the user:Uid to show up in the url for the view used in the panel? I believe the view used in the panel is using the "block" display of the "User News Reference" view, but not sure how it is misconfigured.
I thought it might have something to do with the "context" section in for the Panels User Profile.
I thought I had to add another context, and tried under "user", but the only option was the currently logged in user, or a user by name.