View Full Version : Two months on one page?
10-25-2005, 07:12 PM
Hey gang --
I made it this far:
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?
10-25-2005, 07:19 PM
I think you're looking for the multi-calendar generator plugin:
10-25-2005, 09:07 PM
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:
-- which pieces do I delete to get rid of the top calendar, but still have the hover details working?
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.
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. :)
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?
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.
10-26-2005, 12:27 PM
Ok -- all purchased...now I start upgrading!
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.