How to create a Panel with an exposed form created with a View

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
chowdah's picture

Is this even possible?

I am using panels 6.x-3.x-dev and the latest Views module. I am trying to make a directory search page with Panels and am having problems with the output of a form that I am creating by exposing the input with Views. The page would be made up of two panels - one a glossarized directory listing (this works fine in the panel), the other an exposed form for a proximity search and a taxonomy filter. I have the View created and it works fine - the view exists with display types 'Page' and 'Content Pane'. Both outputs work fine in the Views preview, and the Page display type works when I visit the page's set url.

When I try to add either of the View's outputs [page or content pane] in a panel, nothing displays when I preview the panel or visit the panel's url. When I add the page type to the panel, I use the "Override URL:" option to enter the path of the Panel Page.

I've read a few posts about this issue but everybody seems to have a different answer for the problem and none of them are working for me. Is there something basic I'm missing here? Is there a tutorial or documentation that somebody could point me to?

Comments

good idea

iTiZZiMO's picture

im also interested in this topic to. especially if you have to views.
could anybody descibe it with panel 3.5 or 3.7?

Check your content pane view

sbauch's picture

I had a similar issue, and changing an option on the content pane display in Views did the trick for me. By changing "Use panel path" to "yes," and not messing with anything in panels beyond adding the view pane as content, I think you'll get what you're looking for. Now the trick for me is putting the exposed filter on other pages in order to in effect replace core search

Exposed Filters

SpiesInOrbit's picture

I had a similar problem with the view not appearing when it had no results, which consequently led to the exposed filters disappearing too. I created a "Content Pane" display and set the "Use panel path" setting to "Yes", then set the "Exposed form in block" to "Yes". I then added the exposed filter form block to the panel. Be sure to "inherit" the path for the block.

What you want: "good-quality merchandise; the lowest possible prices; guaranteed satisfaction" - GrassArts.com