UPOINT:: CGI Scripts:: @1 Calendar Publisher II
.
Installation:
  • One main script, calendar2.cgi
  • Three data files (empty when start)
  • Some icon and button images.
  1. Defined the path to Perl at the first line of the script (default is #!/usr/bin/perl).
  2. Create a folder "calendar2" under the root directory and chmod to 777.
  3. Create a sub-folder "data" under the "calendar2" folder and chmod to 777. Upload all the 3 *.txt files here and chmod to 777.
  4. Create a sub-folder "icons" under the "calendar2" folder. Upload all icons to this folder.
  5. Create a sub-folder "images" under the "calendar2" folder. Upload all buttons to this folder.
  6. Set the variables in the script and upload the script to the "calendar2" folder above. Chmod to 755.

Calling the calendar:

To call the monthly calendar (and show the current month):
 calendar2.cgi?mode=user&id=XXXXXX

To call the latest event list:
 Direct : calendar2.cgi?mode=latest&id=XXXXXX
 SSI: <!--#include virtual="calendar2.cgi?mode=latest&id=XXXXXX" -->

To call the admin interface:
 calendar2.cgi?mode=admin

* Note: XXXXXX is the sub-user ID.

Displaying the calendar:

You may either call the calendar on the same browser window or a pop-up window. For the latter, it is recommended that you do not use your own template.