/*********************************************
  CPGNuCalendar
  ********************************************
  Copyright 2005 by Kris Henneman
  
  Original highly modified code ported from an early 2003 
  version of WebCalendar by http://webcalendar.sourceforge.net
  to PHP-Nuke.  It has since been ported to CPG-Nuke.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  CPGNuCalendar is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
*********************************************/

Suggested installation procedure for CPGNuCalendar:

1.  Either unzip the contents of the zip file directly to the root of your dragonfly install and it will put all of the files where they need to go, or upzip the contents to a CPGNuCalendar directory and then copy the files to their appropriate folders.  By default, the module is now installed into a CPGNuCalendar directory.  This can be changed, but will then require some manual changes to filenames etc.

2. If you previously had 1.09 installed, disable the module before installing the new version.

3. Click on the Install link on the modules screen.  If you previously had 1.09 installed, the install will find the old tables and they will be renamed and upgraded to the new version.  Your events will not be lost!  If this is a new install, 25 holidays will be installed but not activated until approved by the admin.  If this is an upgrade from 1.09, ALL previous events must be approved before they will display on the calendar.

4. CPGNuCalendar is now installed and ready for use.

5. Click on the CPGNuCalendar link in the admin menu under the Informative section and you be presented with the administration console.  By default, the Calendar Settings screen is displayed.  This is where you can change certain configuration settings for the calendar.

6. By clicking on the Category Manager link at the top of the admin console, you can manage your calendar categories.

7. By clicking on the Pending Events link at the top of the admin console, you can approve events to be displayed on the calendar.  By default, only pending events or events that have been approved today are displayed.  If you want to see all of your events, you can click on the "View all events" link at the bottom.

8. It is now safe to delete the old CPGNuCalendar files:
	Delete modules/Calendar entire directory
	Delete language/english/calendar.php file
	Delete blocks/block-Calendar.php file

******************************************************
	Instructions for UPGRADE to 2.0.4
******************************************************

Follow the above installation instructions to number 4, then start here.

1. If you already have the small month block calendar on your website, go to the Admin console and click on blocks.  Now edit the calendar block and choose CPGNuCalendar_Small_Month.  Save your changes and it is now safe to delete the block-CPGNuCalendar.php file from the blocks directory.

2. If you want to use the Coming Events block, add the CPGNuCalendar_Coming_Events block to your list of active blocks.

3. Now you are ready to configure the blocks.  From the admin menu, click on CPGNuCalendar and then click on the Block Settings link at the top of the screen.  This is where you can configure the look of your blocks.



Have fun and enjoy your awesome new CPGNuCalendar

Thanks for using CPGNuCalendar,

Kris

Paypal donations can be made payable to khenn@pa.net