Views do not show up in Preview or in the live Panel.
Views are listed corrected in Add Content / Views dialog, but when the panel is actually run, they are missing. Viewing Source shows nothing but some empty Div tags. Nothing shows, not even content options like Override Title or More link.

Views work when referenced directly by drupal as blocks or pages.

help!

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

I'm unable to duplicate this. I always use Views with my panels and I've never seen or heard of anything like this.

charhite’s picture

I'm not surprised, I saw nothing like this in the forums. I assume we've got something configured wrong, possibly at the drupal site level.
What do you think could cause this sort of behavior?

This might be related: I also tried to use the Insert Block module, and it fails in a similar way.

spyderboy’s picture

Charhite-

Does your view work elsewhere? As a block? As a page? Views work for me in Panels with this version. Make sure you are running the latest version of Views, CCK and CTools, and also have run update.php.

charhite’s picture

Views work as expected as blocks and pages.
CCK 6.x-2.5 (excepted computed field which is 6.x-1.0beta3) content copy, content permissions, fieldgroup, node reference disabled.
CTools 6.x-1.2
panels 6.x-3.2

update.php has been run at least a couple times since panels was installed.

How does Panels reference views? Could we have a path variable not pointing correctly?

mattcasey’s picture

Have you created a 'panel view' in your views? Don't use block or page settings. It took me a while to realize this, and this will add on the Views page a place to import arguments, etc. It will takes some fiddling with to set up right and make sure the panels are passing your information if it is filtered or anything.

merlinofchaos’s picture

Be sure to turn on the views content panes module.

charhite’s picture

aha!
I didn't think to look at the View Display dropdown again.
If I create a display of Content pane (I didn't see "panel view"), I can add it to a panel (from the new view panes option) and it works.

I'm still curious why I have the option in Panels to add Views but they don't work for me. I assume others, everyone else on the planet, can add views to panels and see the data?

btw merlinofchaos - I checked and views content panes is enabled

thanks everyone for the help

esmerel’s picture

Status: Postponed (maintainer needs more info) » Fixed

It's because you can set *all* of your views to be visible to Panels, in which case you'd just use the 'add view' option, but if you only want specific views visible to panels, you create a panel display for that view.

Status: Fixed » Closed (fixed)
Issue tags: -views, -panels

Automatically closed -- issue fixed for 2 weeks with no activity.