July 21, 2010
Hide exposed search filter
I've figured out how to place a search filter into a Panels template but now I want to hide it when the view doesn't appear. When you expose the filter it appears as a block so I'm assuming the correct PHP snippet in the block configuration would hide it. Here's what I've found thus far:
Tiny snippet here.
This post uses views validation stuff.
MerlinOfChaos makes a point here that the filter is built before the view content is populated. Does this mean it's not possible to hide the exposed filter if the view is empty?
Posted by kkwaiser at July 21, 2010 09:20 AM