This is the reference line in the PHP file...
<?php $CSS=1; require("calendar/calendar.php"); ?>
This is the code that shows up in the rendered HTML page...
<link href="/calendar/theme/default/esstyle.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
<!--
.s22 {background-color: #A4CAE6;}
.s21 {background-color: #F2BFBF;}
.s23 {background-color: #CCFF00;}
.s24 {background-color: #FBF484;}
.s29999 {background-color: #FFC18A;}
-->
</style>
All the code looks OK, but it still wasn't working. Just for fun, I replaced the reference line in the PHP file with this...
<link rel="stylesheet" type="text/css" href="calendar/theme/default/esstyle.css">
After that, the calendar displayed correctly. The problem was that, in the calendar.php file, I had the variable $urlPath set to "/calendar/". I changed it to "calendar/" and changed back to the original PHP reference line. Now the calendar displays just like it should...
However...when I try to go back into the Setup Manager, it tells me that the $urlPath variable is not set. How do I work around this?
~bruno71
Last edited by bruno71; 12-19-2005 at 02:57 PM.
|