Features:
- Data is stored in a text file.
- Time zone adjustment.
- Multiple events on the same day.
- Recurrent events (monthly and yearly).
- Multiple calendars on the same page.
- Customizable templates.
Download:
Version 2.2.2 (17 KB) 14 May 07 (Timezone adjustment fix)
Demo:
In action - Multiple calendars (password: demo)
Licence:
Installation:
- Extract all files to a directory on your web server.
- CHMOD data.txt to 666.
- Load
http://YOURSITE/PATH/TO/CALENDAR/index.phpon a web browser, and check the Document Root setting status. - Edit config.php as following:
-
If there's an error with the document root in step 3,
read this FAQ entry
to find your document root and change
$cal_cfg['document_root']accordingly. - Change
$cal_cfg['password']to your preferred password. -
If you want to display Sunday at the beginning of a week,
change
$cal_cfg['sunday_endweek']tofalseand change the order of$cal_cfg['days']accordingly.
-
If there's an error with the document root in step 3,
read this FAQ entry
to find your document root and change
Usage:
<?php
include('PATH/TO/CALENDAR/calendar.php');
$calendar = new WingedCalendar();
// to display a single calendar
$calendar->show_calendar();
// OR to display multiple calendars
$calendar->show_calendar(PREVIOUS, NEXT);
// where PREVIOUS and NEXT are the number of months
// before and after the current month respectively.
// e.g. $calendar->show_calendar(1, 1); displays 3 consecutive months
?>
Link to the style sheet in the <head> section:
<link rel="stylesheet" type="text/css" href="PATH/TO/CALENDAR/style.css" />