I'm new to panels so I'm probably just doing something wrong.

I'm creating a website for a photography trip to Cancun. I have created a node type for past trips and created a view that shows which models and advertisers went with what year (using arguments). The problem is the view doesn't show anything. Yet if I click the Customize this page button at the bottom of the site and then click settings on the views and click OK (I made no changes) the view shows up until I reload the page.

I'm using Panels 6.x-3.9, Views 6.x-2.12, and the Acquia Slate theme.

CommentFileSizeAuthor
#2 models view.txt5.22 KBlvthunder
#2 panel.txt7.55 KBlvthunder
#2 sponsor view.txt3.46 KBlvthunder

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Please provide an export of both the panel and the view. It's difficult to tell what's wrong without konwing your configuration.

lvthunder’s picture

StatusFileSize
new3.46 KB
new7.55 KB
new5.22 KB

Here are text files of my two views and the panel. Thanks for helping me out.

lvthunder’s picture

Status: Postponed (maintainer needs more info) » Active
merlinofchaos’s picture

Status: Active » Fixed

Your views are both accepting an argument of field_sponsoryear_value which is a CCK field of some sort. It looks like it has some kind of user UID validation.

It looks like the pane is configured to pass the panel arguments, which in this case will be the node ID, I believe. So it's passing a node ID into this argument, which seems like it will probably create a query that won't work.

I highly recommend you use content pane displays instead of just adding the views directly for this, because you can associate contexts to arguments much more obviously and get a better idea of what's going on under the hood.

lvthunder’s picture

I have no idea how to do what you are recommending. Is there something out there somewhere to tell me how to do this. The video I saw on http://drupal.org/node/561730 talked vaguely about doing it, but didn't give any specifics.

lvthunder’s picture

Status: Fixed » Closed (fixed)

I finally figured out how to do it. Thanks merlinofchaos.