posted September 01, 2005 08:19 PM
Ok so I guess I did modify the ssi.html template. I forgot about it, it has been awhile since I have messed with this.
What I have now is this
<!--#include file="preferences.pl"-->
<%
&getEvents( {'duration'=>$in{duration}} );
$DAY = $Grid->{'grid'}->[0]->[0];
$EVENTS = $DAY->{events};
$total_events=0;
%>
<DL>
<%FOREACH EVENTLIST%>
<%IF EVENTS EXIST%>
<%$total_events++;%>
<DT>
<br><cite>
<%FOREACH EVENT%>
<small><% if ($EVENT->{'schedule'}->{'start'}) { print &SimpleDateFormat::formatDate($EVENT->{'schedule'}->{'start'}, $Config->get(date_format)) } %>
<% if ($EVENT->{'schedule'}->{'end'} ne $EVENT->{'schedule'}->{'start'}) { print " - ", &SimpleDateFormat::formatDate($EVENT->{'schedule'}->{'end'}, $Config->get(date_format)) } %></small><br>
<% if ($_SHOW_EVENT_TIMES eq "ALL" | | $_SHOW_EVENT_TIMES eq "START") { %>
<% if ($EVENT->{'schedule'}->{'start_time'}) { %><%= SCHEDULE FIELD(start_time) %><% } %>
<% } %>
<%= $EVENT->{'details'}->{'title'} %><BR>
<%= $EVENT->{'details'}->{'location'} %>
<BR> </cite>
<%/FOREACH%> <hr color="blue" width="50%" size="2">
<%/IF%>
<%/FOREACH%>
</DL>
<%unless($total_events){%>
<CENTER><I><%= $_NO_EVENTS_LABEL %></I></CENTER>
<% } %>
<A HREF="<%=$AdminConfig->get("calendar_url")%>?calendar=default" target="_blank"><font color="#990000">View
Calendar</font></A>
It now shows up like this
09/04/2005 - 09/07/2005
First Baptist
Boulogne, FL
----
09/04/2005 - 09/07/2005
First Baptist
Boulogne, FL
----
09/04/2005 - 09/07/2005
First Baptist
Boulogne, FL
----
09/04/2005 - 09/07/2005
First Baptist
Boulogne, FL
----
09/11/2005 - 09/14/2005
Clingan Ridge Baptist
Cleveland, TN
But it still is listing (repeating)the event for each day.
I only need one listing for the events that span a few days.
------------------
_Alan