tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/17/2007 at 07:40 PM |
|
|
yes, this matters. php calendar will only work in php file. You should either convert the index to php or show php calendar in frame/iframe.
|
|
|
germanjenn
Junior Member
Posts: 3
Registered: 4/17/2007
Member Is Offline
|
| posted on 4/17/2007 at 08:28 PM |
|
|
thanks... I'm now using this code:
<iframe src="/innovation/cal/cl_files/calendar.php" width="100%">
<?
new calendar(UpcomingEvents);
?>
</iframe>
but getting an Object Not Found error within the iframe. any suggestions?
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/18/2007 at 05:15 AM |
|
|
you'll need to remove
<?
new calendar(UpcomingEvents);
?>
from the code, because that's php and your page is still HTML.
this will not fix the problem you're describing though.
Make sure the page you refer in the src attribute of the iframe exists, works and looks the way you want. You can plug it into the iframe then.
|
|
|
germanjenn
Junior Member
Posts: 3
Registered: 4/17/2007
Member Is Offline
|
| posted on 4/18/2007 at 07:16 PM |
|
|
Ok, the problem seems to be that there is nothing located in cl_files/calendar.php.
I've created my calendar in the admin section, but it seems like it's not creating a corresponding file to link to on my server. Should I be seeing
a .php file with my calendar's name on it? Or is there another way to link to the calendar that I've created?
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/18/2007 at 09:42 PM |
|
|
I can't answer this question without looking at the files. Please submit a support ticket providing the URL of the calendar installation and
temporary FTP access to the files.
|
|
|