Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

I'd Like to show Past Events in List Mode
Old 08-23-2005, 11:48 AM   #1
macdonut
Calendar User
 
macdonut is offline
Join Date: Jul 2005
Posts: 11
Default I'd Like to show Past Events in List Mode

Hi Guys,

My site uses phpcalendar to show the football calendar for the 2005/2006 season. As each game ends, I update the event to show the score/scorers. What I'm ideally looking for is a way of displaying the full season. I'm familiar with all the options in List Mode, but ALL seem to only give the option of showing events from TODAY onwards, or THIS MONTH onwards.

This, in my opinion is an unnecessary limitation (assuming I've not missed something obvious). What I'd like to do is display 13 months FROM JULY 2005!! Not from current month. This means that users of the calender will be able to see all fixtures/results for the entire season, not only those in current and future months.

Before I make a feature request, have I missed something obvious? I've looked pretty deep but it seems to me that I'd need to change code that I don't have access to in order to fulfill this requirement.

A simple fix for this would be to include a variable in List Mode called $startDate which, if set, would determine the date to start displaying events from. If $startDate is NOT set, the current date/month/year could be used as it presently does.

Any thoughts anyone?

Thanks

Ian

Last edited by macdonut; 08-23-2005 at 12:16 PM.
 

Old 08-23-2005, 12:34 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You can use $listMonths = 13; and set the month and year variables to $mo = 7; and $yr = 2005; respectively.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 08-23-2005, 01:11 PM   #3
macdonut
Calendar User
 
macdonut is offline
Join Date: Jul 2005
Posts: 11
Default

Quote:
Originally Posted by Brian
You can use $listMonths = 13; and set the month and year variables to $mo = 7; and $yr = 2005; respectively.
Smarty bloody pants . Thanks mate, that's exactly what I wanted.

Ian
 

Old 08-24-2005, 09:00 AM   #4
macdonut
Calendar User
 
macdonut is offline
Join Date: Jul 2005
Posts: 11
Default

Brian,

One thought. It might be worth updating the documentation with your advice. When I was trawling the forums for a solution to this, I found one or two posts from people who were looking to do something similar.

Cheers, Ian
 

Old 08-24-2005, 10:01 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Hmmm, I just copied the code right off the page of instructions:

http://www.easyphpcalendar.com/docs/...s%20Module.htm

__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display Empty Days in List Mode? Dakko General Support 1 07-26-2005 05:19 PM
Navigation for the list mode Andreas General Support 2 06-30-2005 04:45 PM
List module to show events MackDude General Support 7 05-01-2005 09:00 PM
list module doesn't list all events... hazonweb General Support 2 04-14-2005 04:34 PM



All times are GMT -4. The time now is 09:24 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |