$Id: INSTALL.txt,v 1.5.2.2 2007/06/02 06:53:18 jaredwiltshire Exp $

You must be using WebCalendar 1.1.x
This release was tested with the 1.1.2 development release.
http://prdownloads.sourceforge.net/webcalendar/WebCalendar-devel-1.1.2.tar.gz?download


1. Install WebCalendar somewhere where it will be accessible below the path
   of you Drupal install.
   E.g. if your drupal site is accessible at
   "www.mysite.com/drupal/" webcalendar would have to be installed at
   "www.mysite.com/drupal/webcalendar/". This is due to restrictions browsers place
   on reading cookies.

   Do not install WebCalendar in a directory called "webcal" in the Drupal root
   directory! E.g. Do not install at "www.mysite.com/drupal/webcal/"
   We use "webcal" as an internal Drupal path.
   
   If possible install the WebCalendar tables in the same database as the drupal
   tables.

2. Copy the webcal folder into your modules directory

3. Enable the module in drupal

4. Configure the webcal module in Drupal:
   administer->settings->webcal

5. Set the permissions for accesing webcal in Drupal:
   access webcal:
     anonymous user should be given this permission when public access is
     enabled in WebCalendar.
     i.e. If you want a public calendar give this permission
     to "anonymous users" and enable public access in WebCalendar

   administer webcal:
     user can change the webcal settings in drupal
     (eg path to webcal, iframe properties)

   login to webcal:
     user has their own calendar

   webcal admin:
     user is a webcal admin

6. Copy login-app.php into your webcalendar root directory (overwrite the
   existing file)

7. Copy user-app-drupal.php into your webcalendar ./includes directory

8. Edit the settings in the config section at the top of user-app-drupal.php

9. Edit ./includes/settings.php in the webcalendar directory and change the
   user_inc line to "user_inc: user-app-drupal.php" (without the quotes)

10. Click the "Calendar" link on your menu and you should see webcalendar