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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Using the calendar on a mirror site
Old 11-18-2004, 07:07 AM   #1
Squirrel
Calendar User
 
Squirrel is offline
Join Date: Jun 2004
Posts: 13
Default Using the calendar on a mirror site

Please can anyone help me? I have had to create a mirror site for http://www.cwmlaiprimary.co.uk/ because the floating side menu won't work in Netscape and Opera. Is there any way I can call the calendar with associated saved events from this page http://www.cwmlaiprimary.co.uk/escal/calendar.php to this one http://www.netscape.cwmlaiprimary.co.../calendar.php? At the moment I've got a copy of everything on the mirror site, but as the school updates their calendar it obviously won't show on the mirror site.

Many thanks indeed for any help you can give me.
 

Old 11-18-2004, 10:30 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Are they both on the same server?

If so, this would be very easy if you could use mySQL as it will work just by setting up the connection.

If you need to use the flat-file option, you would need to modify the actual PHP code to make this work.
__________________
-- Brian

Questions?

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

Old 11-18-2004, 10:34 AM   #3
Squirrel
Calendar User
 
Squirrel is offline
Join Date: Jun 2004
Posts: 13
Default

Yes, both sites are on the same server. I would prefer if possible to use the flat file option. Please can you tell me how to alter the php code?

Thank you so much for your time!
 

Old 11-18-2004, 10:56 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

They editing the showCalendar.php file on the mirror site and make the paths the same as the original site.
__________________
-- Brian

Questions?

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

Old 11-18-2004, 01:00 PM   #5
Squirrel
Calendar User
 
Squirrel is offline
Join Date: Jun 2004
Posts: 13
Default

I tried that before posting. I got 3 calendars showing and no events. Perhaps I got the code wrong - I tried

require ("http://www.cwmlaiprimary.co.uk/escal/showcalendar.php

"); in the three places where showcalendar.php is in the script. What did I do wrong?

Many thanks Brian!
 

Old 11-18-2004, 01:23 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Don't change the require command. You need to manually edit the showCalendar.php file and make the two path variables the same for both installations.
__________________
-- Brian

Questions?

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

Old 11-18-2004, 05:09 PM   #7
Squirrel
Calendar User
 
Squirrel is offline
Join Date: Jun 2004
Posts: 13
Default

Thank you so much Brian - that's sorted the problem perfectly. (Easy, when you know how, huh ) I'm new to php, so I apologise for being rather slow!
 

Old 11-18-2004, 07:34 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default



Glad to help!
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
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
Calendar does whatever it wants, but not what its supposed to do! Gee General Support 9 08-26-2005 08:05 AM
Can I setup more than one calendar? Ian Cook General Support 6 07-28-2004 05:28 PM
Newbie problem getting calendar in web page Ian Cook General Support 4 05-31-2004 07:00 PM
Multiple calendar views on a site jenniferwilde General Support 0 03-03-2004 01:41 PM



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