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

Using Multi-Calendar, Events Don't Show
Old 05-20-2005, 06:07 PM   #1
SierraMist
Calendar User
 
SierraMist is offline
Join Date: May 2005
Posts: 10
Default Using Multi-Calendar, Events Don't Show

I've downloaded and installed the trial version of the calendar, and so far am very pleased! If the client likes it, we'll definitely be buying...

One problem though. I have it set to multi-calendar, to show two months at a time. However, the events for those months don't show in the listings module I added below.

For instance, if I'm viewing May/June, and there's an event in May, nothing shows up. But if I go back to March/April, the May events appear.

Why is this, and can it be fixed?
Thanks!
 

Old 05-20-2005, 06:10 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You'll need to tell the listings module to display two months of events. Look in the instructions for the Listing Module section to see all of the available options.

You're looking for $listMonths.
__________________
-- Brian

Questions?

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

Old 05-20-2005, 06:11 PM   #3
SierraMist
Calendar User
 
SierraMist is offline
Join Date: May 2005
Posts: 10
Default

Thanks for replying so quickly, Brian!

I did try that, but it still doesn't seem to work. See here:

http://www.healthforbabies.org/calendar/index.php
 

Old 05-20-2005, 06:17 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You'd need to reset the $mo and $yr variable to the start month.

So, before using the multi-calendar do this:

$oldmo = $mo;
$oldyr = $yr;

Then, just before the listings module add:

$mo = $oldmo;
$yr = $oldyr;

I'll add this in so it will be automatic in the next version.
__________________
-- Brian

Questions?

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

Old 05-20-2005, 06:19 PM   #5
SierraMist
Calendar User
 
SierraMist is offline
Join Date: May 2005
Posts: 10
Default

Worked like a charm!

Thanks!
 

Old 06-23-2005, 02:40 AM   #6
kcgbjc
Calendar User
 
kcgbjc is offline
Join Date: Jun 2005
Location: Orange County, CA
Posts: 6
Send a message via Yahoo to kcgbjc
Default

Just a bit lost. Where do I add the code you mention? Have tried before the <php . . . and inside the <>.

Code:
$oldmo = $mo; $oldyr = $yr; 
<?php $MULTI=1; $epcMultiWidth = "95%";$epcMultiPad = 2;$epcMultiNav = "95%";$epcMultiCol = 2;$epcMultiRow = 1;require ("cal2/calendar.php"); ?>
$mo = $oldmo; $yr = $oldyr; 
<?php $LIST=1; $listMonth="X"; $DF = "D - M d"; $template="monthly.php"; require ("cal2/calendar.php"); ?>
 

Old 06-23-2005, 05:57 AM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Disregard this fix... it's been rolled into the new version. Update your installation if you're experiencing this problem.
 

Old 06-23-2005, 10:19 AM   #8
kcgbjc
Calendar User
 
kcgbjc is offline
Join Date: Jun 2005
Location: Orange County, CA
Posts: 6
Send a message via Yahoo to kcgbjc
Default

I have 6.2.2 installed and I still have the issue. I am showing two calendars (Normal Mode, June & July), however the List Mode below only shows June's events, not July's.
 

Old 06-23-2005, 10:46 AM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You need to tell the List Mode to display two months too.

So, right after $LIST=1 add:

$listMonths="2";
__________________
-- Brian

Questions?

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

Old 06-23-2005, 12:25 PM   #10
kcgbjc
Calendar User
 
kcgbjc is offline
Join Date: Jun 2005
Location: Orange County, CA
Posts: 6
Send a message via Yahoo to kcgbjc
Default

That did it! Thanks!
 
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
Is it possible to add new events from outside the easyPHP Calendar? cervinakuy General 7 08-31-2005 11:13 AM
List module to show events MackDude General Support 7 05-01-2005 09:00 PM
Color of events get combined in small version of calendar webber General Support 1 04-05-2005 09:52 AM
{Fixed} Events Added Won't Show Up Kr0n0s General Support 8 11-25-2003 02:58 AM



All times are GMT -4. The time now is 11:10 AM.


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 |