Maybe I'm weird, but it bugs me to see "no upcoming events." This patch makes the block disappear when there's nothing to show.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | event.upcoming_block.patch | 1.93 KB | BachusII |
| no_upcoming_events.patch.txt | 354 bytes | binford2k |
Maybe I'm weird, but it bugs me to see "no upcoming events." This patch makes the block disappear when there's nothing to show.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | event.upcoming_block.patch | 1.93 KB | BachusII |
| no_upcoming_events.patch.txt | 354 bytes | binford2k |
Comments
Comment #1
David Lesieur commented+1 for the idea, but please do not comment out unwanted code -- just remove it.
Comment #2
killes@www.drop.org commentedI disagree, it is confusing if blocks simply disappear.
Comment #3
BachusII commentedIt bugs me too, to see no upcoming events. Hence this patch.
My patch is against event-5.x-1.x-dev by the way.
I made it an option, hidden in the configure block on
admin/build/block/configure/event/1.I agree with killes that it can be confusing. But I say, let the admin figure it out himself.