Allshookup
Junior Member
Posts: 4
Registered: 1/26/2005
Member Is Offline
|
| posted on 3/2/2005 at 08:31 PM |
|
|
Need help displaing on page, HELP ANYBODY
Hello,
I got the program install and all the admin screens work I just can't get the calander to show up on my .htm page.
PLEASE HELP!
I have been working on this for days. I have read all the forum for help but, nothing has worked.
My page is located at www.chariotsoflight.com/default1.htm
This is what I have tried.
This is in the HEAD:
<script language="JavaScript" src="/Calendar/cl_files/calendar1.js"></script>
This is in th BODY:
<?
include '/calendar/cl_files/calendar.php';
new calendar('Chariots_of_Light');
?>
|
|
|
niferzilla
Junior Member
Posts: 3
Registered: 3/1/2005
Location: Burington, ON Canada
Member Is Offline
|
| posted on 3/3/2005 at 04:11 PM |
|
|
| Quote: | Originally posted by Allshookup
Hello,
I got the program install and all the admin screens work I just can't get the calander to show up on my .htm page.
PLEASE HELP!
I have been working on this for days. I have read all the forum for help but, nothing has worked.
My page is located at www.chariotsoflight.com/default1.htm
This is what I have tried.
This is in the HEAD:
<script language="JavaScript" src="/Calendar/cl_files/calendar1.js"></script>
This is in th BODY:
<?
include '/calendar/cl_files/calendar.php';
new calendar('Chariots_of_Light');
?> |
I have the Calendar in my page....it's showing up fine So I hope this helps.
for starters, Your file should be a PHP file.
I created a new PHP page, and pasted all of my html into it. The very beginning of your code should be started with
<?
include 'path_to_calendar_dir_files/calendar.php';
?>
there was no Javascript involved. You are making a PHP page.
|
|
|
Allshookup
Junior Member
Posts: 4
Registered: 1/26/2005
Member Is Offline
|
| posted on 3/3/2005 at 04:57 PM |
|
|
I am getting this error message now?
Thanks for the reply, I have put my code into a PHP file but I keep getting the error below?
Warning: main(/Calendar/cl_files/calendar.php): failed to open stream: No such file or directory in D:\wwwroot\chariotsoflight.com\default1.php on
line 2
Warning: main(): Failed opening '/Calendar/cl_files/calendar.php' for inclusion (include_path='.;c:\php4\pear') in
D:\wwwroot\chariotsoflight.com\default1.php on line 2
LINE1 | <?
LINE2 | include '/Calendar/cl_files/calendar.php';
LINE3 | ?>
The path is correct, does anyone know why it wont show up?
|
|
|
Allshookup
Junior Member
Posts: 4
Registered: 1/26/2005
Member Is Offline
|
| posted on 3/3/2005 at 05:05 PM |
|
|
I have changed the path.
I have changed the path to the long format starting with d:/......
that seem to have helped but now the calendar is at the bottom of the screen with 2o or more errors. PLEASE take a look.
www.chariotsoflight.com/default1.php
Thanks in advance for your help,
|
|
|