Yep, demo.php seems to work fine!
http://www.ki4hij.com/geoham/escal/demo.php
I guess it must have something to do with either the block-calendar.php or the custom_head.php then.
custom_head.php looks like this:
<?php
// Custom head section to include the ESCal CSS
$CSS=1; require ("escal/showCalendar.php");
?>
block-calendar looks like this:
<?php
if (eregi("block-Calendar.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
ob_start();
$OL=1; require ("escal/showCalendar.php"); //required if you're going to use overLib
require ("escal/showCalendar.php"); //the line that shows the calendar
// What's following is the section required for the listing
// Uncomment if you want the listing to appear.
// You will have to modify the escal/templates/monthly.php file accordingly
// so that it fits in your site.
//$LIST=1;
//$DF = "D - M d";
//$template="monthly.php"; //just specify the name of the template - no path!
//require ("escal/showCalendar.php"); //display the list of events
$content = ob_get_clean();
?>
|