::. Multi-Calendar Generator

This plugin will automatically generate the requested number of rows and columns of calendars on your page.

By default, the Multi-Calendar Generator will start with the current month unless the $mo and $yr variables are set before using this function, in which case it will start with the defined month and year.

NOTE: If using the multi-calendar generator and the List Mode 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 $listMonths="X"; variable.

To display multiple calendar on the same page, inset the following code where the calendars should appear:

<?php
$MULTI=1;
$epcMultiWidth = "600px";
$epcMultiPad = 10;
$epcMultiNav = "580px";
$epcMultiCol = 3;
$epcMultiRow = 2;
require ("calendar/calendar.php");
?>

$MULTI=1;
This will enable the multi-calendar function.

$epcMultiWidth = "X";
Set X to the width of the multi-calendar table. This can be a percentage (%) or pixels (px).

$epcMultiPad = X;
Set X to the amount of padding (in pixels) to use in the table cells.

$epcMultiNav = "X";
Set X to the width of the multi-calendar navigation table. This can be a percentage (%) or pixels (px).

$epcMultiCol = X;
Set X to the number of columns of calendars to display.

$epcMultiRow = X;
Set X to the number of rows of calendars to display.

$epcMultiAdv = X;
Set X to the number of months to advance the calendar when clicking the navigation arrows. This is optional and if not set the calendar will advance the number of months being displayed.

*Replace "calendar/" with the actual path to the calendar scripts relative to the directory you are in.

There is an example of this in the demo.php file. Remove the indicated lines to view the example.

Copyright © 2001-2009 NashTech, Inc. All Rights Reserved.