Page 1 of 1

show events of the day all day in CGcalendar upcoming list

Posted: Mon Oct 22, 2012 1:26 pm
by map_1961
Hi.

Even if the topic was discussed already http://forum.cmsmadesimple.org/viewtopi ... ay#p266812 and marked as solved there is still no satisfying solution available:

If you want to display all events of the day in a CGcalendars upcoming list they are gone once the event start time hast past by.
This is the code:

Code: Select all

{CGCalendar category="xxxxxxx" limit="3" display="upcominglist" unique_only="0"}
So i tried 2 add

Code: Select all

displayforday="true"
But this causes that very old events of the year are shown in the upcoming list. But the explained functionality given in the module help like...
displayforday: Used with display=upcominglist, this parameter specifies that 00:01 of the current day should be used for calculating wether an event should be displayed, rather than the current server time.

... is not working for me.

Maybe there is another solution avalable or other settings that have tp be set?

Thanks map_1961

Re: show events of the day all day in CGcalendar upcoming li

Posted: Fri Feb 15, 2013 6:42 pm
by paulbaker
+1, map_1961. For me, it shows the very oldest events.

I believe there is a bug in the code. I have raised a bug report, and in it I have given a suggested code change.

http://dev.cmsmadesimple.org/bug/view/8939

With the code modifications, CGCalendar correctly shows upcoming events, including those dated today which have already started. ;)

Re: show events of the day all day in CGcalendar upcoming li

Posted: Tue Oct 15, 2013 10:19 am
by paulbaker
According to the bug report this has been fixed by Calguy, so it should be OK in the next release.

Thanks Calguy ;)

Re: show events of the day all day in CGcalendar upcoming li

Posted: Wed Oct 16, 2013 5:57 pm
by map_1961
Hi guys.

Thanx a lot for resolving this issue. I'll check and let u know next days. I still run core 1.11.7 with cgcalendar 1.10.4 and have to update the system netx weeks. Currently i solve by giving Events a start and an end time.

Thankx a lot from Germany

map_1961