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

Domain and Subdomain Share Calendar?
Old 06-09-2010, 04:20 PM   #1
jcimb
Calendar User
 
jcimb is offline
Join Date: Mar 2009
Posts: 12
Default Domain and Subdomain Share Calendar?

Still not sure after reading the forum whether I can have a domain and subdomain share one database.
Main domain: courtsandridges.org
Subdomain: swimteam.courtsandridges.org
Calendar's been set up and working for quite a while on main domain. Would like to access calendar now via subdomain.
The community has a swim team, and some events are to be displayed on both the main site and swim team site.
I've tried modifying calendar.php's URL path and modifying the requires: require("http://courtsandridges.org/calendar/calendar.php")
or
require("/var/www/vhosts/courtsandridges.org/httpdocs/calendar/calendar.php")

The only result I get that is not a white screen and is close to a calendar is with this:
urlPath="/calendar/"
and
require("http://courtsandridges.org/calendar/calendar.php")
even though I read that the require is not supposed to specify an absolute path.

Here is the page I'm testing with:
http://swimteam.courtsandridges.org/st_calendar.php

Version 6.3.29 ionCube

Thanks in advance!
 

Old 06-09-2010, 04:23 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

You need to install two instances of the calendar (one on each domain) for this to work. Then share a common mySQL database connection.
__________________
-- Brian

Questions?

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

Old 06-09-2010, 04:26 PM   #3
jcimb
Calendar User
 
jcimb is offline
Join Date: Mar 2009
Posts: 12
Default

Just to clarify - one license, two instances?
Thanks for super-quick reply.
 

Old 06-09-2010, 04:27 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The general rule of thumb is that if you would need another print calendar because it will be administered by a different "group", you will need a separate license. If it's to be used by the same "group" but for different groups of events, you can use the same license file or use categories and the showCat option to filter events.
__________________
-- Brian

Questions?

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

Old 06-09-2010, 04:36 PM   #5
jcimb
Calendar User
 
jcimb is offline
Join Date: Mar 2009
Posts: 12
Default

Cool - will give it a try and write back if I have problems.
Thanks Brian!
 
Closed Thread

Tags
subdomain

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
SubDomain Question computerguy General 6 11-03-2009 01:48 PM
Multiple Calendar Question wolfcry General 5 02-21-2008 11:15 AM
Domain / Subdomain Carey Design Studio General 10 01-26-2008 06:35 PM
Domain transfer ehenry5 General Support 1 05-07-2007 09:48 PM
Implementation with subdomain NickGoDawg General Support 9 03-16-2006 09:26 PM



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