SCHOOL CALENDAR
===============

Installation
------------
Copy the calendar folder to somewhere in your intranet file structure.
A shortcut icon could be created for users' desktops or a link added
in an intranet web page.
IIS must be running on your network server (or Personal Web Server 
on a stand-alone computer).

To customise for own school
---------------------------
Open the file CUSTOM.INC in a text editor and change name of school.
Create own logo and save it as schlogo.gif in the images folder.
Your logo should be about 70 x 90 pixels with transparent background.

Username and password
---------------------
These will be asked for when a user clicks on the [Admin] button.
Both set initially to ADMIN (not case sensitive). 
They may be changed by editing the database calendar.mdb using Access 
97.

This action will have the effect of removing the [Admin] button and 
showing an [Add] button. An [Edit] button will appear on each event. 

To disable password protection
------------------------------
Password protection may not be required if you can make use of NT 
permissions to control access to the calendar folder or shortcut to 
a specific user-group, and you want all members of that group (eg. 
Staff) to be able to administer it fully.

Open the file CUSTOM.INC in a text editor and delete the apostrophe ' 
at the start of the following line so that it reads:

Session("Admin") = 1

The calendar will now show the [Add] and [Edit] buttons automatically. 

All users who have 'read', 'write' or 'change' access to the calendar.mdb file will be able to administer the calendar. 
Other users should not be given any access at all unless you keep the 
password protection on.

To alter NT folder and file access permissions:
Open Windows NT Explorer on the server and locate the calendar folder.
Right-click on the folder icon to get the context menu and select Properties. Select the Security tab then click on the Permissions 
button.

If you have a user-group called Staff, add 'Staff' - 'Change' and 
remove 'Everyone' and/or 'Domain Users' completely.

To set up calendar events initially
-----------------------------------
The database CALENDAR.MDB may be opened in Access 97 for mass editing
and additions for a new year. Personally, I found it easier to export 
it to Excel then copy and paste it back again when finished.

To change colour coding for events
----------------------------------
Open the file EVENTS.ASP in a text editor and do a search for 
the word 'COLOUR' (about half-way down).
Edit the hexadecimal colour codes shown to those that you require.
If the event-title starts with the letter 'R' the current colour
is set to green, if 'M' it is brown, otherwise it will be blue.
If you have changed the event-titles then 'R' and 'M' may need
changing to match the first letter of your new titles.

To change the three event-title options
---------------------------------------
  Events/Activities
  Meetings
  Recording/Reviewing

Open the file ADDEDIT.ASP in a text editor and do a search for 
the word 'Activities' (about half-way down).
Be careful to alter just the titles only (each one appears twice).
You may also need to change the initial letters "M" and "R" that 
are used in this script and in events.asp (for the event colour 
coding as mentioned in the section above).

Also, if necessary, open the database calendar.mdb and use search & 
replace to match up your event-title changes.

If weekday name appears twice in the date
-----------------------------------------
Open the file EVENTS.ASP in a text editor and do a search for 
the word 'WEEKDAYNAME'. In the two lines below, move the initial 
apostrophe to the start of the second line instead of the first.

Summary of changes made by Ian Lee 12/12/01
-------------------------------------------
* Set for European date format dd/mm/yy instead of mm/dd/yy.
* Calendar now opens at page displaying events for current date.
* Name of weekday added to title date, and font enlarged.
* Current date highlighted on calendar.
* Admin link replaced by an [Admin] button which is now removed once 
  the correct username and password have been entered.
* Password protection now easily removable.
* New file custom.inc added for schools to insert own name and logo.
* The [Edit] button shown with each event is reduced in size.
* A [Cancel] button added to add/edit page and a [Return] button added
  to confirmaton page for easier return to previous events page.
* Descriptive pop-up ('Alt') text added to all button images.
* Delete button moved to add/edit page for increased safety.
* Event_Title field set to three selectable options only -
  Events/Activities
  Meetings
  Recording/Reviewing
* Colour of each event table matched to the event-title.
* Date_Added field is not wanted, removed from script & database.

All original lines remain in the scripts and all added lines are 
labelled for easier locating.

My appologies to the author Manohar Kamath for interfering with
his excellent work without permission. I have tried to contact 
him via the email link on his website but there has been no response.


 Ian Lee
 ICT Systems Manager
 Didcot Girls' School
 Oxfordshire
 Web site:  http://www.dgs.oxon.sch.uk
===================================================================
DISCLAIMER: These notes and any associated software are published 
in good faith. They have not been sanctioned by RM and neither RM, 
Didcot Girls' School or myself will accept responsibility for any 
problems that may arise either directly or indirectly through their 
use.
===================================================================
