ltwCalendar
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsProjectsltwCalendar

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old October 17th, 2003, 12:24 AM
ewok33 ewok33 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 5 ewok33 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
multiple calendars -- how to do this??

Hi!
If someoneone could PLEASE help me with this, I would really appreciate it. I want to add additional calendars (for different cities). Is there a place I can go to get instructions on how to do this? I searched this forum and read the help files but couldn't find anything. I figure I have to have a seperate calendar.php file for each version of the calendar and a seperate DB. Is this correct? Which files can be shared? What files need to be updated?

Thanks in advance for your help!!
ewok

Reply With Quote
  #2  
Old October 20th, 2003, 01:03 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: multiple calendars -- how to do this??

Sorry, I've been busy..

A few questions which will help refine my response..

1) Will all calendars be accessed under one domain and {docroot} ( ie http://yourdomain.com/CITY/calendar

or will they be distinct domains and {docroots}?
ie http://CITY.yourdomain.com/calendar

2) Will they all share the same "look and feel" thru a common header & footer file? or will each city look different.



Reply With Quote
  #3  
Old October 20th, 2003, 01:56 PM
prrk47002 prrk47002 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 275 prrk47002 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: multiple calendars -- how to do this??

These instructions "assume" all calendars will "live" under a single Internet Domain AND you are running V4 code. "CITY" gets substituted by the city name you would like to use.


1) Create a database & user for the calendars.
Each calendar will need it's own set of EVENT and LOG tables. You can get away with using a common USER and CATEGORY table.

2) Create a directory to hold the "common code".
{docroot}/calendars/private

3) Put the following files from the private dir of the release in {docroot}/calendars/private:
ltw_classes.php, ltw*mgr.php, ltwdisplay*.php

4) For Each CITY, create a directory to hold the "city specific code"
{docroot}/calendars/CITY
{docroot}/calendars/CITY/private

5) In the {docroot}/calendars/CITY directory, put the files:
calendar.php, ltw_install.php, ltw_style.css

6) In the {docroot}/calendars/CITY/private directory, put the files:
ltw_config.php, ltw_header.php, ltw_footer.php

7) Edit each ltw_config.php file for the settings you want.
a) Point the 'include_dir' to '../private'

b) MAKE SURE YOU USE UNIQUE TABLE NAMES FOR THE FOLLOWING:
'db_table_calendar'
'db_table_log'

c) Depending on how you display the calendars, you may also be able to put the stylesheet, header and footer files in the {docroot}/calendars/private directory and just point all the config files there.

8) run http://yourdoamin/calendars/CITY/ltw_install.php for each city.
NOTE, you only need to create the admin account ONCE
9) DELETE ltw_install.php off the server for each city.



Reply With Quote
  #4  
Old May 15th, 2008, 02:04 PM
rocketengr rocketengr is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 1 rocketengr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 22 sec
Reputation Power: 0
Changing Dir after install

I have installed the calendar in a directory and now several years later we are rearranging the website and want to change the directory for the calendar. How can you do this without reinstalling?

Thanks for the help

Reply With Quote
Reply

Viewing: Codewalkers ForumsProjectsltwCalendar > multiple calendars -- how to do this??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT