Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Integrating on to Webpage
Old 02-11-2006, 11:57 PM   #1
StownFBLA
Calendar User
 
StownFBLA is offline
Join Date: Feb 2006
Posts: 4
Default Integrating on to Webpage

I am having a hard time integrating the calendar on my webpage. Can someone help me? The page link that I am trying to intergrate on is http://www.stownfbla.org/nonflash/calendar.html
and my source code is attached.
Attached Files
File Type: txt CalPIC.txt (10.8 KB, 464 views)
 

Old 02-12-2006, 08:23 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You have some structural problems with your page. There are two sets of HTML tags, BODY tags, etc. That's really messing up the code for the page.

Please see the Integration section of the instructions for details on how to add the calendar code to your own pages.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-12-2006, 06:02 PM   #3
StownFBLA
Calendar User
 
StownFBLA is offline
Join Date: Feb 2006
Posts: 4
Default

Can you help me? If you delete the second set of html codes and add the other ones for me? I have tried it my self by following the integration.
 

Old 02-12-2006, 09:54 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Please zip and attach a copy of the code for your page.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-12-2006, 11:14 PM   #5
StownFBLA
Calendar User
 
StownFBLA is offline
Join Date: Feb 2006
Posts: 4
Default

I am getting this error message when I put the EPC code in my page:

Warning: main(calendar/calendar.php): failed to open stream: No such file or directory in /home/stownfbl/public_html/nonflash/test.php on line 6

Fatal error: main(): Failed opening required 'calendar/calendar.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/stownfbl/public_html/nonflash/test.php on line 6

And I know what it is; however I don't know what to do. For some reason it is not going to the file.
 

Old 02-12-2006, 11:41 PM   #6
StownFBLA
Calendar User
 
StownFBLA is offline
Join Date: Feb 2006
Posts: 4
Default

I have sort of fixed the error. But now It just doesn't want to show up. I have created a test file and it worked on there; however, when I want to up the other graphics and tables and stuff of my webpage it doesn't show up.
 

Old 02-13-2006, 08:49 AM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Where you have require("calendar/calendar.php"), try changing it to require("../calendar/calendar.php").
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Web Page Integration Not Working
Old 02-15-2006, 01:12 AM   #8
Syntex
Calendar User
 
Syntex is offline
Join Date: Feb 2006
Posts: 4
Default Web Page Integration Not Working

I have installed all components and I can access calendar by going to http://www.catchingbass.net/calendar/ which is where I installed the program. I am having trouble integrating it into my web page at http://www.catchingbass.net/tourney.htm . Can anyone give me some advice on why it's not showing up....
 

Old 02-15-2006, 08:23 AM   #9
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Most servers don't parse PHP on .htm pages. Try changing the page name to tourney.php and see if it will work then.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-15-2006, 01:36 PM   #10
Syntex
Calendar User
 
Syntex is offline
Join Date: Feb 2006
Posts: 4
Default

I will try to drop it into a frame. But, I need to disable the list below the calendar to make it work. How do I do that. The mouseover and popup function will work fine if I can just remove that list.....Any suggestions
 

Old 02-15-2006, 01:43 PM   #11
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Please see the Integration section of the instructions. It will detail how to do this.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-20-2006, 12:22 AM   #12
Syntex
Calendar User
 
Syntex is offline
Join Date: Feb 2006
Posts: 4
Default

Brian,

Ok let me start by letting you know that I know almost nothing about this stuff....So here we go:

Now it's working http://www.catchingbass.net/tourney.php But, I have to use two entries to make the mouse over work. If I use the <center><?php $OL=1; require("calendar/calendar.php"); ?></center> by itself I get nothing.

By accident and in fustration I added <center><?php include("calendar/calendar.php"); ?></center> below it which is something I learned from another page and the calendar showed up with mouseover.

Now, If I remove the <center><?php $OL=1; require("calendar/calendar.php"); ?></center> the calendar is still there with no mouseover. So, I have to use both to get it to work....I am sure something is wrong I just dont know what it is. Any Ideas.

Thanks Again!

 

Old 02-20-2006, 09:06 AM   #13
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

<center><?php $OL=1; require("calendar/calendar.php"); ?></center> is not the proper way to add this code.

As per the example in the documentation, the OL code should appear immediately below <body> like this:

<body>
<?php $OL=1; require("calendar/calendar.php"); ?>


__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 02-20-2006, 10:54 AM   #14
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Syntex: This is exactly how it is designed to operate. You are supposed to add both those lines. But as Brian described, you haven't followed the integration instructions.

This line adds only the code that makes the mouse-over popup work
<?php $OL=1; require("calendar/calendar.php"); ?>

Then you need to add this line to make the calendar appear...
<?php require("calendar/calendar.php"); ?>

With only the first, you won't see anything on the front end... It only adds stuff in the code. With only the second one, the mouse-over won't work... So, no, nothing is wrong with your installation. But do fix where you added your first line like Brian said.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-20-2006, 11:32 AM   #15
Syntex
Calendar User
 
Syntex is offline
Join Date: Feb 2006
Posts: 4
Default

Thanks alot guys, I didn't understand that I needed both lines to make it work. In anycase, This is a great calendar.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
integrating calendar to blog mode with events dynamically generated from DB connectus General Support 1 11-24-2005 07:24 AM
Integrating mcimagemanager with tiny MCE? parrottvision Installation / Upgrade Questions 2 11-21-2005 04:34 PM
Using Calendar in my webpage! ashleek007 General Support 1 06-29-2005 12:32 PM
Integrating into a php environment? PenguinMarn General Support 1 08-13-2004 10:44 AM
Need a GURU to review my calendar webpage error Dave General Support 4 02-19-2004 03:23 PM



All times are GMT -4. The time now is 09:57 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |