Module is written not to display the block if there are no upcoming events and there is no text entered in the field "display when no upcoming events." The module works as indicated. BUT, if there is text entered in the footer field, the block displays with the footer text when there are no upcoming events. Is this a bug or intended? I would like the block to disappear when there are no upcoming events but want to be able to include a footer.

Comments

Se7enLC’s picture

Hmm, that's interesting. The fact that the block doesn't display when there are no items is an unintended feature - the string to display is just blank, and therefore doesn't display - but when there's a footer, it displays, even with no items.

I could add in a check to see if there are no events and no "no events" text, and if so, return the same empty string, skipping over the footer text. That seems like it would be a good idea! It might be awhile until I get that change in there (still backed up by a few other important changes), but if somebody wants to try a patch, that would be a pretty easy one to put in.

jdwfly’s picture

Needs patch

jdwfly’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

1.4 no longer works at all.