Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
 Pages:  1  2
Author: Subject: Display monthly events
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 Reply With Quote

Another request to be able to list weekly, monthly or yearly events.
View User's Profile View All Posts By User U2U Member
kvv
Super Administrator

Posts: 86
Registered: 6/17/2003
Member Is Offline
posted on 5/22/2007 at 03:09 PM Reply With Quote

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 909 times
View User's Profile View All Posts By User U2U Member
XTinitus
Junior Member

Posts: 6
Registered: 9/23/2006
Location: Montreal
Member Is Offline
posted on 5/24/2007 at 09:46 AM Reply With Quote

Wow, this is so cool. Thank you very much!
View User's Profile View All Posts By User U2U Member
crh0872
Newbie

Posts: 1
Registered: 6/13/2007
Member Is Offline
posted on 6/13/2007 at 10:12 PM Reply With Quote

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
View User's Profile View All Posts By User U2U Member
beguiner
Newbie

Posts: 1
Registered: 6/23/2007
Location: spain
Member Is Offline
posted on 6/23/2007 at 12:01 PM Reply With Quote

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, IA?m spanish and donA?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 havenA?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
View User's Profile View All Posts By User U2U Member
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 Reply With Quote
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!
View User's Profile View All Posts By User U2U Member
kvv
Super Administrator

Posts: 86
Registered: 6/17/2003
Member Is Offline
posted on 6/25/2007 at 03:00 PM Reply With Quote

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/ .
View User's Profile View All Posts By User U2U Member
kvv
Super Administrator

Posts: 86
Registered: 6/17/2003
Member Is Offline
posted on 6/27/2007 at 08:46 AM Reply With Quote

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 903 times
View User's Profile View All Posts By User U2U Member
kvv
Super Administrator

Posts: 86
Registered: 6/17/2003
Member Is Offline
posted on 12/20/2007 at 05:16 PM Reply With Quote

Do you use update_27_06.zip ?
View User's Profile View All Posts By User U2U Member
 Pages:  1  2
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004