Yes it seems to be somehow connected to 'duration' and that the events is fetched as a feed.
If i in the FullCalendar View template replace the event feed
Code: Select all
events: {
url: '{$fetch_url}',
type: 'GET',
data: {
'{$actionid}showchildren': 1,
'{$actionid}detailpage': '{$detailpage}',
'{$actionid}eventtemplate': '{$actionparams.eventtemplate|default:''}',
'{$actionid}editpage': '{$actionparams.editpage|default:''}',
'{$actionid}editeventtemplate': '{$actionparams.editeventtemplate|default:''}',
},
error: function() {
alert('{$mod->Lang('error_fetching_events')|cms_escape}');
}
},
defaultView: 'agenda',
duration: { days: 3 },
with
Code: Select all
events: [
{
id:'1',
title:'Multi-day event',
summary:'',
details:'',
canedit:1,
candelete:1,
color:null,
textColor:null,
start:'2017-07-24 09:00:00',
end:'2017-08-04 14:00:00',
allDay:false,
detail_url:'\/\/localhost:8888\/cmsms222\/index.php?mact=CGCalendar,cntnt01,default,0&cntnt01event_id=1&cntnt01display=event&cntnt01returnid=1'
}
],
defaultView: 'agenda',
duration: { days: 3 },
Then the event display correctly.
So something goes wrong in the combination of 'duration' and using event feed.