Author |
Topic |
macho
Junior Member
Denmark
150 Posts |
Posted - 12 August 2002 : 06:48:18
|
quote:
Clear the cookies and also within internet properties, under the privacy tab set the slider to low. That should help.
It did - tks!
Edit: no error, see next post!
At my testsite now when viewing by week I get this error msg:
ADODB.Recordset error '800a0cc1' Item cannot be found in the collection corresponding to the requested name or ordinal.
/forum/events_functions.asp, line 1200
Line 1200 is around here in function DisplayWeek:
Do while not rs.eof intEventRepeat = Rs("event_repeat") <------ Line 1200 if Rs("event_repeat") = "" then intEventRepeat = 0 blnRepeat = EventRepeat(intEventRepeat, strToDate(Rs("start_date"))) if blnRepeat then
Textversion: http://www.staal-larsen.dk/snitz/events_functions.txt - Calendar: http://www.staal-larsen.dk/forum/events.asp |
Edited by - macho on 12 August 2002 07:04:15 |
|
|
macho
Junior Member
Denmark
150 Posts |
Posted - 12 August 2002 : 06:55:34
|
Sorry, my mistake, forgot to add event_repeat to line 1172 (strSQL =)
the error is now gone! |
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 12 August 2002 : 14:27:08
|
You got it macho, now you know how to do it. |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
macho
Junior Member
Denmark
150 Posts |
Posted - 12 August 2002 : 17:02:48
|
GauravBhabu, I wish I could be so happy about this. But it's still not doing what I want it to.
Well, no more error messages at the pages - that's good!
But this is what is still happening: When adding an event with Start Date 12 Aug 02, End Date 16 Sep 02, Event repeating once a week - the event is showing up every day in the calendar!
Now when I add another event with Start Date 14 Aug 02, End Date 14 Dec 02, Event repeating one a month - this event will show up on the calendar in month view but only if there is another event happening that day. In this case my monthly repeating event is showing from 14 Sep 02 until 16 Sep 02, still only in month-view, not showing in week-view or day-view!
This is all kind of frustrating to me!
I hope that you understand what is happening - have tried to explain it the best way I can!
I will say, it's not the End of the World if this thing doesn't get to work for me, but I sure would be glad if it did!
|
|
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 12 August 2002 : 17:19:53
|
Post link to text version of latest events_functions.asp. And link to the calendar page with the changed files. |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
macho
Junior Member
Denmark
150 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 12 August 2002 : 19:21:19
|
Find the following statements at around line 70
'Response.Write rsEvents("event_title") do while not(rsevents.EOF)
Add the following statements just below the above statement
intEventRepeat = rsEvents("event_repeat") if rsEvents("event_repeat") = "" then intEventRepeat = 0 blnRepeat = EventRepeat(intEventRepeat, strToDate(rsEvents("start_date"))) if blnRepeat then
Find the following statements at around line 79
end if rsEvents.MoveNext loop
Modify to look like as below
End if end if rsEvents.MoveNext loop
|
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
Edited by - GauravBhabu on 12 August 2002 20:05:55 |
|
|
macho
Junior Member
Denmark
150 Posts |
|
GauravBhabu
Advanced Member
4288 Posts |
Posted - 12 August 2002 : 20:06:23
|
Change rs to rsEvents as highlighted in my earlier post |
CSS and HTML4.01 Compilant Snitz Forum . ForumSquare . Rakesh Jain
It is difficult to IMPROVE on Perfection, There is no harm in Keep Trying.
Prayer Of Forgiveness "I forgive all living beings. May all living beings forgive me! I cherish the friendliness towards all and harbour enmity towards none." -- Aavashyaka Sutra(Translated) |
|
|
macho
Junior Member
Denmark
150 Posts |
Posted - 12 August 2002 : 20:56:48
|
The error is gone again after changing.
It now seems that when I'm adding an event, Start Date 13 aug 02 End Date 13 Sep 02, recurring every week, events starting after 13 aug 02 wont show up in the calendar! Look here to see what is under Upcoming Events (Kommende Begivenheder) and compare it with the events in month view: http://www.staal-larsen.dk/forum/events.asp
Won't be able to make any more changes today; have to catch up some sleep now -
Latest text version of events_functions.asp: http://www.staal-larsen.dk/snitz/events_functions.txt / Calendar with latest changes: http://www.staal-larsen.dk/forum/events.asp |
Edited by - macho on 12 August 2002 20:57:51 |
|
|
n/a
deleted
593 Posts |
Posted - 12 August 2002 : 21:15:24
|
quote: Originally posted by GauravBhabu
To correct the Display of events in week view or day view, you have to apply the similar criteria, we applied to monthview, in the functions for those modes (week view and day view etc.) There are many other bugs in the events Mod and will require changes, Infact after we finish modifying, the code will be completely changed. I did it once for me and spent a lot of time and decided to write one from scratch. A demo of work in progress can be found here.
Not intended to interrupt the discussion going on here, but:
Want to drop in to comment: Wow, this is a real "event calender" we need.....superb. Very happy to see that you are redesigning this nice mod... now you can really call it "Events Calendar" MODS.... Thanks for your great efforts and look forward to see it's full release as a new EC MOD.... (I see a light on the end of a tunnel for this one!).
Best...
|
Taku
|
|
|
Topic |
|