| Pages: 1 2 |
dlpirl
Junior Member
Posts: 3
Registered: 5/10/2007
Location: SF Bay Area
Member Is Offline
|
| posted on 5/11/2007 at 05:11 PM |
|
|
Another request to be able to list weekly, monthly or yearly events.
|
|
|
kvv
Super Administrator
Posts: 86
Registered: 6/17/2003
Member Is Offline
|
| posted on 5/22/2007 at 03:09 PM |
|
|
To be able to display monthly events you need to replace calendar.php and events.php files with its updated copies attached.
The new function is:
$calendar->show_month_event()
PS: DON'T FORGET TO CHANGE PATH at the top of calendar.php file.
Attachment: update_22_05.zip (13.46kb)
This file has been downloaded 651 times
|
|
|
XTinitus
Junior Member
Posts: 6
Registered: 9/23/2006
Location: Montreal
Member Is Offline
|
| posted on 5/24/2007 at 09:46 AM |
|
|
Wow, this is so cool. Thank you very much!
|
|
|
crh0872
Newbie
Posts: 1
Registered: 6/13/2007
Member Is Offline
|
| posted on 6/13/2007 at 10:12 PM |
|
|
kvv,
after installing your patch, it works great except that when I switch to a month that doesn't have any events, i get the following error message:
Warning: Invalid argument supplied for foreach() in /*****/calendar/cl_files/events.php on line 115
Can you help me?
Thank you
|
|
|
beguiner
Newbie
Posts: 1
Registered: 6/23/2007
Location: spain
Member Is Offline
|
| posted on 6/23/2007 at 12:01 PM |
|
|
| Quote: | Originally posted by crh0872
kvv,
after installing your patch, it works great except that when I switch to a month that doesn't have any events, i get the following error message:
Warning: Invalid argument supplied for foreach() in /*****/calendar/cl_files/events.php on line 115
Can you help me?
Thank you |
Hi, I´m spanish and don´t writte english well, sorry, but i have same problem and my solution is :
You can hide this error message :
@$calendar->show_month_event();
the @ symbol hide the error message in the functtion and in the months that haven´t events no show the error message and the months that have events
show well.
NOTE: this solution hide error mesasse only but the rest of script run well
I hope help you
|
|
|
dante_in_Calgary
Junior Member
Posts: 3
Registered: 6/10/2007
Location: Calgary
Member Is Offline
|
| posted on 6/25/2007 at 05:18 AM |
|
|
Weekly vs. Monthly Events
I got the monthly event summary to work and initially it wasn't sorting but then KVV did a fix to the class file and all was good. Now I'm wanting
(on a different page) to show the weekly event list and I can't seem to get anything but blank when I change the code back from
$calendar->show_month_event(); to $calendar->show_event();
Is it because the class files changed and that now it can only show monthly?
I'm Perplexed!
|
|
|
kvv
Super Administrator
Posts: 86
Registered: 6/17/2003
Member Is Offline
|
| posted on 6/25/2007 at 03:00 PM |
|
|
New class file allow show events by day $calendar->show_event().
If you have a problem with it please post your ticket in the support system http://www.softcomplex.com/support/ .
|
|
|
kvv
Super Administrator
Posts: 86
Registered: 6/17/2003
Member Is Offline
|
| posted on 6/27/2007 at 08:46 AM |
|
|
For all who have sorting problem with monthly view.
Please use updated files attached.
If you already use files from Update_22_05.zip you need to replace events.php file with it updated copy attached (Update_27_06.zip).
The other users need to use both files (calendar.php and events.php)
Attachment: update_27_06.zip (13.53kb)
This file has been downloaded 630 times
|
|
|
kvv
Super Administrator
Posts: 86
Registered: 6/17/2003
Member Is Offline
|
| posted on 12/20/2007 at 05:16 PM |
|
|
Do you use update_27_06.zip ?
|
|
|
| Pages: 1 2 |