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


Go Back   Easy PHP Calendar > Pre-Sales Questions > General

General Get answers to your questions before purchasing the Easy PHP Calendar.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Running Calendar from different web server than website
Old 03-08-2006, 03:24 PM   #1
Roo
Calendar User
 
Roo is offline
Join Date: Feb 2006
Posts: 48
Default Running Calendar from different web server than website

Hi there,

Due to our staff not having PHP available yet on our UNIX box, I am having to work with the calendar running on a Windows box. The website I am going to pull the calendar to is on the UNIX box.

I noticed in the help file that one should ONLY use relative paths.

Do you have any suggestions in this case?

Thanks,

Suzanne
 

Old 03-08-2006, 03:27 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

Iframe to the page on your Windows box... More than likely the navigation won't work.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 03-08-2006, 03:35 PM   #3
Roo
Calendar User
 
Roo is offline
Join Date: Feb 2006
Posts: 48
Default

Quote:
Originally Posted by ve9gra
Iframe to the page on your Windows box... More than likely the navigation won't work.
Although I try to stay away from I-frames for accessibility and usability purposes, I could try, but I don't see how that will help me with calling the required css or the php for the calendar? Unless you can suggest something that I have not thought of?

Thanks! ;-)
 

Old 03-08-2006, 06:33 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

I don't know if it will work this way, but it is not designed to be...
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 03-09-2006, 08:38 AM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

You'd have to make a completely functional page on your Windows box, so all the code would be handled from there. Then you just iframe to, let's say for example, the /calendar/demo.php file.

I didn't say it would work for sure, the navigation is more than likely (99% sure) to not work, and it sure wouldn't be a supported installation.

It would be much less of a hassle to just wait to have PHP installed on your Unix box and then go from there.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 03-09-2006, 09:39 AM   #6
Roo
Calendar User
 
Roo is offline
Join Date: Feb 2006
Posts: 48
Default

Quote:
Originally Posted by ve9gra
You'd have to make a completely functional page on your Windows box, so all the code would be handled from there. Then you just iframe to, let's say for example, the /calendar/demo.php file.

I didn't say it would work for sure, the navigation is more than likely (99% sure) to not work, and it sure wouldn't be a supported installation.

It would be much less of a hassle to just wait to have PHP installed on your Unix box and then go from there.
Actually, it is working where I just pull the calendar into a webpage residing on the AIX box using IFrame. Works fine? I can log in to administrator or events from there as well. (By the way, will that menu go away when we purchase, or will it always be there?)

Any potential problems I should look for while testing?

And yes, it probably would be best to wait until the PHP has been installed on the AIX box, but they are having severe problems with the install, and the client wants the calendar yesterday. ;-)

Suzanne
 

Old 03-09-2006, 03:34 PM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

To remove the links to the Event Admin and Setup Admin, just edit the demo.php page to your liking.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 03-09-2006, 03:50 PM   #8
Roo
Calendar User
 
Roo is offline
Join Date: Feb 2006
Posts: 48
Default

Quote:
Originally Posted by ve9gra
To remove the links to the Event Admin and Setup Admin, just edit the demo.php page to your liking.
Hi there...ok, silly question! ;-)

If I remove the links from there, how will the administrator and the Events Managers get to their login screen?

I've looked in the help file, but I have either bypassed it or overlooked it if it is in the file.

Thanks! ;-)

Suzanne
 

Old 03-09-2006, 08:26 PM   #9
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,968
Default

Using a direct URL to your Windows box... http://www.your-website.fake/calendar/setup/ and http://www.your-website.fake/calendar/events/
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

You can use javascript
Old 07-11-2006, 10:55 AM   #10
john
Calendar User
 
john is offline
Join Date: Jul 2006
Posts: 4
Default You can use javascript

You can create the following on the server with php installed.

makejavascript.php:

<?php

function ob_makejavascripthandler($output) {
return sprintf('document.write(unescape("%s"));',
rawurlencode($output));
}

ob_start("ob_makejavascripthandler");

?>



content-syndicate.php:

<?php
include('makejavascript.php');
include('demo.php');
?>

Place both files in the directory you installed Easy PHP Calendar in.

On the server w/o php (in this case your AIX server), create a html page with this bit of javascript:

<script language="Javascript" type="text/javascript" src="http://your_server.your_domain/calendar/content-syndicate.php"></script>

The javascript will pull in the php calendar. Or, you could create a .js file with the above code and call that in your html page.

Note though that the links used to view the next (>>), previous (<<), or current (==) calendar will not work w/o additional code tweaking. I haven't done this as I won't be using that on my calendars.
 
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
Small Calendar is larger within web page islandwood General Support 6 09-28-2006 10:02 AM
Calendar Suddenly Killed My Web Site calendar-user General Support 4 11-07-2005 02:42 PM
local web server bigal3433 General 6 08-29-2005 09:21 AM
Local web server settings? lalpert General 0 05-31-2005 09:24 PM
Newbie problem getting calendar in web page Ian Cook General Support 4 05-31-2004 07:00 PM



All times are GMT -4. The time now is 12:50 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 |