11/25/2001 --
GenericCalendar.asp -- BugFix 1
Who Needs
this Fix?
If you downloaded and installed
GenericCalendar after 11/25/2001 you already have the fixed version
of this file. You do not need to update!
Description of the Problem
Everything works
fine so long as the event you want to add either begins and ends in
the same month, or it begins one month and ends the next. The
problem occurs when the event begins in one month and doesn't end
until more than a month later (e.g. begins in August and ends in
October). The event displays correctly in August and October, but
never shows up in September.
The Fix
Look for this code in
GenericCalendar.asp (the first line below
should be about line 125. The first two lines below are already in
the code, you need to add the third line.
strCalendarDOWTextColor =
Session("dbCalendarDOWTextColor")
strWhere = "Month(StartDate) = " & Month(dEventDate) & " OR
Month(EndDate) = " & Month(dEventDate)
strWhere = strWhere & " OR (Month(StartDate) < " & Month(dEventDate)
& " AND Month(EndDate) > " & Month(dEventDate) & ")"
If this is too confusing I have
the fixed GenericCalendar.asp file available for download... then
you can just replace the original with the fixed version.
Download the Fix
Follow these steps...
1. Download the fix. Get the
.zip file here, or get the
.txt file and
readme files separately.
2. Rename genericcalendar.txt to genericcalendar.asp
3. Put it into your asp folder, replacing the
original version of the
file.
4. That's it, go ahead and try it!
|