Calender Events
Permalink
Hello,
i don't know, if i'm in the correct forum here for our problem.
we use the integrated calender on one of our customer webpages.
when the event is on 2 days, the event will not shown on the second day.
For example it starts on the first day on 2 p.m. and ends on the next day on 11 a.m.
is it possible to show the event on the second day too?
i don't know, if i'm in the correct forum here for our problem.
we use the integrated calender on one of our customer webpages.
when the event is on 2 days, the event will not shown on the second day.
For example it starts on the first day on 2 p.m. and ends on the next day on 11 a.m.
is it possible to show the event on the second day too?
If settings are right, events should across all dates required. See attached images.
Hello Steevb,
thats right, this working correctly.
but when i insert the events on a page with an eventlist the events will only shown on the first day, not on the second day.
thats right, this working correctly.
but when i insert the events on a page with an eventlist the events will only shown on the first day, not on the second day.
added to my reply before:
when the day change, the event will not be shown in the eventlist anymore
when the day change, the event will not be shown in the eventlist anymore
i found the solution
you have to change the filter in the script.
on the File: concrete -> blocks -> event_list -> controller.php
near by the line 95 is the following entry
$list->filterByStartTimeAfter($time);
This have to be changed to:
$list->filterByEndTimeAfter($time);
and
$time = Core::make('date')->toDateTime($date . ' 00:00:00')->getTimestamp
to:
$time = time();
than it works and all events will be shown till the endtime in the eventlist
you have to change the filter in the script.
on the File: concrete -> blocks -> event_list -> controller.php
near by the line 95 is the following entry
$list->filterByStartTimeAfter($time);
This have to be changed to:
$list->filterByEndTimeAfter($time);
and
$time = Core::make('date')->toDateTime($date . ' 00:00:00')->getTimestamp
to:
$time = time();
than it works and all events will be shown till the endtime in the eventlist