If no events exist for the date range I'm looking at, the template *should* display the phrase "No Events"...instead, it displays nothing at all.
I'm especially suspicious of the placement of the <%unless($total_events){%>
statement in the following code:
<TABLE BORDER="0" WIDTH="400">
<TR><TD COLSPAN="2">MEETINGS</DIV></TD></TR>
<%FOREACH EVENTLIST%>
<%IF EVENTS EXIST%>
<%$total_events++;%>
<%FOREACH EVENT%>
<% next if ($EVENT->{details}->{type} ne "meeting"); %>
<TR><TD>
<A HREF="javascript penWin('/calendar/calendar.cgi?template=details.html&view=Event&event_id=<%= EVENT FIELD(id) %>');"><B>
<%= $EVENT->{'details'}->{'title'} %></B></A><BR>
<%= EVENT FIELD(location) %></TD></TR>
<%/FOREACH%>
<%/IF%>
<%/FOREACH%>
<%unless($total_events){%>
<CENTER><I><%= $_NO_EVENTS_LABEL %></I></CENTER>
<% } %>
</TABLE>
I kinda get the feeling that the last few lines of code (beginning with <%unless) are ignored...maybe cause they're outside the loop? Dunno...tried rearranging it several ways, but all to no avail.