Hi,
Got the latest build Event Calendar for 2.4.7 from github few weeks ago.
Problem:
not all 'datetimes' events are shown
My event has got these DateTimes.. no pattern, just added dates.
Start Date,"End Date","Start Time","End Time","All day"
12-12-2013,"12-12-2013","16:00","<em>none</em>","No"
28-11-2013,"28-11-2013","16:00","<em>none</em>","No"
14-11-2013,"14-11-2013","16:00","<em>none</em>","No"
07-11-2013,"07-11-2013","16:00","<em>none</em>","No"
31-10-2013,"31-10-2013","16:00","<em>none</em>","No"
24-10-2013,"24-10-2013","16:00","<em>none</em>","No"
13-06-2013,"13-06-2013","16:00","<em>none</em>","No"
30-05-2013,"30-05-2013","16:00","<em>none</em>","No"
23-05-2013,"23-05-2013","16:00","<em>none</em>","No"
25-04-2013,"25-04-2013","16:00","<em>none</em>","No"
04-04-2013,"04-04-2013","16:00","<em>none</em>","No"
11-04-2013,"11-04-2013","16:00","<em>none</em>","No"
Code:
public function agendaItems() {
$today = date("Y-m-d");
return DataObject::get_one("Calendar")->Events(null, $today, null, false, 99, null);
}
Template:
<% if agendaItems %>
<div id="events">
<ul>
<% control agendaItems %>
<li class="clearfix $EvenOdd">
<div class="eventdetails">
<% if Announcement %><% else %><a href="$Link" class="clearfix"><% end_if %>
<span class="date">$_Dates</span>
<span class="eventTitle">$EventTitle</span>
<% if Announcement %><% else %></a><% end_if %>
</div>
<div class="eventdownload"><a class="btn add" href="$ICSLink"><% _t('ADD','Add to Calendar') %></a></div>
</li>
<% end_control %>
</ul>
<a href="$RSSLink" class="feed"><% _t('SUBSCRIBE','Subscribe to the Calendar') %></a></span>
</div>
<% else %>
<% _t('NOEVENTS','There are no events') %>.
<% end_if %>
The result:
I see the upcoming events, but not alle DateTimes are shown, only the first 6
Question:
How do i show all DateTimes for all events?
Note:
"Number of events to display on default view" = 50
"Number of future dates to show for repeating events" = 50