There used to be an 'even_empty' option in the style plugin that would call the plugin theme even when there were no results. I used that to display empty calendars. I'm working on the Calendar upgrade to Views 2 and can't find any way to set that any more. When there are no results, my theme never gets triggered.
What is the best way to do this in Views 2?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | theme.inc_.patch | 760 bytes | karens |
Comments
Comment #1
merlinofchaos commentedThis may have gotten lost. It should not be too hard to restore.
Comment #2
karens commentedHow about this? It seems to work.
Comment #3
merlinofchaos commentedLooks good; I'll likely commit it later today or tomorrow (I've got a cold which has been causing a massive sinus headache since yesterday so I'm unsure if I'll do anything useful today or if I'll just veg & play games again today) -- but one note. I'm using spaces in the definition strings, so it'll be 'even empty' rather than 'even_empty'. Otherwise this looks just fine.
I love it when patches like this are that easy.
Comment #4
karens commentedYou should definitely take the day off. And I also love it when patches are this easy :)
Comment #5
merlinofchaos commentedCommitted! As I suggested, it is 'even empty' not 'even_empty'.
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.