[SOLVED] Problem with range of dates in Calguys Calendar

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm
Location: Berrien Springs, Michigan, USA

[SOLVED] Problem with range of dates in Calguys Calendar

Post by rfuste »

Hello,

I've used the "Calendar" module in the past with success, but noticed that it was recommended to use CGCalendar now, so I'm using it for the first time now, and I've encountered a problem when editing existing events.

When I first create an event, which happens to span a few days, I enter the starting date, check the "all day" event, and then specify a different ending date. When I check on the live site, everything looks good.

The problem arises whenever I re-open an event to do further edits to it. The "all day" checkbox is still checked, but now it shows the drop-down hour options (which should only be available when "all day" is unchecked):

Image

Just below that, the "end date" is also still checked, but now there's no drop-down menu options to select the end date:

Image

Therefore, on the public site, where it should read Apr 21 - Apr 26, it now reads Apr 21 - 23:59.

Image

Lastly, and least of worries, is a weird repeated value in one of the regular text input fields below:

Image

Anyone seen this date range issue before? I'm afraid to open any other events, since they always get corrupted with the updates on them.

Thank you so much for any help!
Rob

P.S. Running CMSMS 1.10.3 and CGCalendar 1.9.4 (with CG Extensions 1.28.1)
Last edited by rfuste on Fri Feb 01, 2013 7:30 pm, edited 1 time in total.
asdf
Forum Members
Forum Members
Posts: 39
Joined: Thu Jul 08, 2010 1:11 pm

Re: Problem with range of dates in Calguys Calendar

Post by asdf »

I noticed exactly same problem not long ago. Have not had time to have a good look, but planned to test different combinations to be able to report problem/bug. If you uncheck All day, hours may disappear in the editor but still be shown on the site.
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm
Location: Berrien Springs, Michigan, USA

Re: Problem with range of dates in Calguys Calendar

Post by rfuste »

Hello asdf,

Thanks for the feedback - I've tried checking and unchecking both the start and end date checkboxes, and various combinations, and they all continue to exhibit the same problem.

Anyone out there with ideas on how to troubleshoot?

Thanks so much!
Robert
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Problem with range of dates in Calguys Calendar

Post by paulbaker »

There are a couple of open bug reports for CGCalendar that seem to fit your symptoms and some suggested work-arounds too:

http://dev.cmsmadesimple.org/bug/view/4667
http://dev.cmsmadesimple.org/bug/view/6540

They might help you out.
rfuste
Forum Members
Forum Members
Posts: 50
Joined: Wed Jun 07, 2006 7:56 pm
Location: Berrien Springs, Michigan, USA

Re: Problem with range of dates in Calguys Calendar

Post by rfuste »

Hello Paul,

Thank you for pointing me to the bug tracker for CGCalendar. Indeed those two links point to the same problem and/or very closely-related issues, but the proposed work-arounds didn't work for me.

Has anyone out there switched from Calendar to CGCalendar and then back to Calendar again? I want to move in the direction that community recommends (to CGCalendar) but if this bug doesn't get solved soon, then I'm going to be forced to go back to Calendar (which I've used successfully for many clients in the past) for my latest project.

Thanks for any input!
Rob
asdf
Forum Members
Forum Members
Posts: 39
Joined: Thu Jul 08, 2010 1:11 pm

Re: Problem with range of dates in Calguys Calendar

Post by asdf »

I noticed a new version has been published, so I tested some cases we may need. I think it works better now, but not exactly I would expect but maybe it's just my thinking :)

Current configuration: CMS Version 1.10.3, CGExtensions 1.28.2, CGCalendar 1.9.6

Default start time for new events: 09:00
Force at least one category: Yes
New events are "All Day" events by default: Yes

Events created:

June 4th: leave All Day checked, To Date is on but input boxes are not visible, uncheck to be able to save the record.
Result: start 06/04/12 00:00:00 end 06/04/12 23:59:00
This is acceptable, but one day is one day, to me times would not be must.

June 5th: uncheck All Day, uncheck To Date.
Result: start 06/05/12 end blank
Where are times? This is illogical as all day was unchecked and hour selector appeared.

June 6th to 8th: leave All Day on, switch To Date off and on to get the input appear.
Result: start 06/06/12 00:00:00 end 06/08/12 23:59:00
This is acceptable, but I would prefer no times for all day event. Also, hour selectors were not shown so why hours are recorded.

June 11th to 13th: uncheck All Day, switch To Date on and off.
Result: start 06/11/12 09:00:00 end 06/13/12 17:15:00
Correct, the length of work day is obviously defined somewhere.

I'll test editing when I have some time again, tomorrow I hope.
Post Reply

Return to “Modules/Add-Ons”