I've put a view (table style) with exposed filters in a panel page
If the view returns some results, all is ok, but if there's no result, the complete view is hidden, included the exposed filters, which prevent me from change them, so I'm stuck.
It's event worse if the option "Remeber" is checked in the exposed filter configuration, because then, the view is hidden forever.l

Comments

merlinofchaos’s picture

Project: Panels » Views (for Drupal 7)
Version: 6.x-3.0 » 6.x-2.6
Component: Views panes » exposed filters

Seems like this is Views, not Panels

Anonymous’s picture

I'm not sure. For exemple, the exposed filter does not desappears in the views preview if theres no data, but on only in a panel page

merlinofchaos’s picture

Status: Active » Closed (works as designed)

I believe you just need to place a value in the 'empty text' of the view which will cause it to appear. Ordinarily, views panes are hidden if they are empty which is the expected behavior.

phpepe’s picture

Perhaps you are overriding the output.
Try changing your theme to a core one, if this solve the problem, look for the file "views-view.tpl" (or similar).
In my case I had "if ($rows)" at the beginning of views-view.tpl, so, the exposed filters didn’t show when the var $row was empty. (I need to write that code for other feature in the site).
I changed to “if ( $exposed || $rows )” and solved this problem.

hdennen’s picture

#3 is it.

privatejava’s picture

#3 is correct ..!! Please specify any thing in the empty text like "No Results Found" !! It works

Thanks
-Narayan