PDA

View Full Version : Two months on one page?


cbaisden
10-25-2005, 07:12 PM
Hey gang --

I made it this far:
http://symphonyblog.com/calendar/

I thought by adding this code to /demo.php...
<?php $OL=2; require("calendar.php"); ?>

...that I would be able to make two calendars appear. And you can see that I did. The problem is that it is the same calendar twice...not October and then November.

How do I change this?

Brian
10-25-2005, 07:19 PM
I think you're looking for the multi-calendar generator plugin:

http://docs.easyphpcalendar.com/source/Plugins/MultiCalendarGenerator.htm

:)

cbaisden
10-25-2005, 09:07 PM
OK --

that works...now i can see all three calendars, but there is only one detailed listing.

See what I mean? Only October is showing as a list:
http://symphonyblog.com/calendar/

Question #2:
-- which pieces do I delete to get rid of the top calendar, but still have the hover details working?

C

Brian
10-25-2005, 09:46 PM
Everything you want to do is explained in detail in the Integration section of the instructions. http://epcal.com/docs/

This is from the docs from the link in my previous post:

NOTE: If using the multi-calendar generator and the List Mode (http://docs.easyphpcalendar.com/source/Integration/ListMode.htm) calendar all on the same page, be sure to set the list mode to show the number of additional months being displaying by using the $listMonth="X"; variable.

Remove the third require("calendar...") to remove the first calendar on the page.

Brian
10-25-2005, 09:48 PM
If you still need help, please zip up and attach your page to this post and I'll modify it so it will display the way you wish. :)

cbaisden
10-26-2005, 12:12 PM
Hey Brian -- I think I pretty much got it how I want it.

So now when I upgrade, will I have to do all of this stuff again? Or is it just as simple as upgrading the license?

Brian
10-26-2005, 12:20 PM
It appears that you've modified the demo.php file (looks good BTW). So, if you upgrade in the future, be sure to back up this file first, upgrade the script, then restore the demo.php file if needed.

cbaisden
10-26-2005, 12:27 PM
Ok -- all purchased...now I start upgrading!