Create a view that returns no results (i.e. events with no events in the future, etc.) with a content pane. Add that pane to a panel and override the title. Also give it some CSS properties (id or classes). Normally, you'd expect an empty view to not display in the panel at all, which I believe is what it does if you do not override the title (you get an empty pane). However, with the title overridden, Panels outputs a pane with the overridden title in it but does not apply any of the CSS properties I set.
That's a problem because I use the classes to lay out the elements according to the Blueprint framework. Without the CSS classes, the title just get dumped in a vertical stack and there isn't even an ID provided automatically by Panels or anything else with which to style them.
As soon as I add a node to match the view, the panel gets updated showing the correct CSS ID and classes on the pane. It'd be more helpful to either have it retain that all the time even if the view is empty or not output anything including the title if the view is empty.
Comments
Comment #1
merlinofchaos commentedTechnically the other oen came later, I know, but I answered it first: http://drupal.org/node/614178