show events of the day all day in CGcalendar upcoming list

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

show events of the day all day in CGcalendar upcoming list

Post 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
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

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

Post 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. ;)
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Contact:

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

Post by paulbaker »

According to the bug report this has been fixed by Calguy, so it should be OK in the next release.

Thanks Calguy ;)
User avatar
map_1961
Power Poster
Power Poster
Posts: 410
Joined: Fri Apr 20, 2007 7:26 pm

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

Post 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
Post Reply

Return to “Modules/Add-Ons”