10379 Posts in 2194 Topics by 1710 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 199 Views |
-
Event Calendar: not all DatesTimes are shown, limited at 6

19 March 2013 at 2:05am
Hi,
Got the latest build Event Calendar for 2.4.7 from github few weeks ago.
Problem:
not all 'datetimes' events are shownMy 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 6Question:
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 -
Re: Event Calendar: not all DatesTimes are shown, limited at 6

24 March 2013 at 11:51pm
Please, some one?
-
Re: Event Calendar: not all DatesTimes are shown, limited at 6

3 April 2013 at 5:56am
still looking for the answer, please someone..
-
Re: Event Calendar: not all DatesTimes are shown, limited at 6

5 April 2013 at 3:28pm
Most of those dates are too far in the future to show up by default.
Check Calendar::$defaultFutureMonths.
| 199 Views | ||
|
Page:
1
|
Go to Top |
