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
Comment #1
merlinofchaos commentedSeems like this is Views, not Panels
Comment #2
Anonymous (not verified) commentedI'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
Comment #3
merlinofchaos commentedI 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.
Comment #4
phpepe commentedPerhaps 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.
Comment #5
hdennen commented#3 is it.
Comment #6
privatejava commented#3 is correct ..!! Please specify any thing in the empty text like "No Results Found" !! It works
Thanks
-Narayan