WebCal Documentation Part 2THE PERL SCRIPTS ARE NO LONGER BEEING SUPPORTED - PLEASE GO TO TETRABB.COM FOR THE NEWEST VERSION OF THE WEBBBS FORUM
@datafiles: The absolute paths — not the URLs — of your events data
files. You can have as many as you like, so you could, for example,
have one or more (such as those provided with the script) to store
“static” holiday info, another to store “official” events, and yet
another to store events entered by your visitors. You could even set
up distinct calendars, if you wished, to display varying subsets of
the list of data files.
%editfiles: Define this variable with a list of the names and paths
of those files which you want to make accessible to those using the
add and delete scripts.
$DataDirPath and $DataDirURL: These variables are optional, and should
point to the absolute path and URL, respectively, of a world-writable
data directory in which the script can put information pages about
events added to the database. If you leave these variables undefined,
the event entry form will allow only a short description and URL, and
the script won’t create any new pages. As well, if the directory
you’ve specified doesn’t exist or if the script is unable to write
to it, no option for the creation of information pages will be
$DataDir_header and $DataDir_footer: The full paths to optional text
files containing HTML code to be placed at the top and bottom of the
$bodyspec: Any attributes (BACKGROUND, BGCOLOR, TEXT, etc.) which
should be assigned to the <BODY> tag on admin pages.
$header_file and $footer_file: The full paths to optional text files
containing HTML code to be placed at the top and bottom of calendar
and/or admin pages. This allows you to include certain “standard”
information on all of those pages.
$CalendarTitle: An (optional) title to be used on your calendar pages.
$DisplayCounter: If this variable is set to 1, the full-size table
version of the calendar will display on each date a “counter” of the
number of days gone in the year and the number yet to go (e.g.,
“364/1″). If you prefer that the counter not be displayed, simply
leave this variable undefined.
$DisplayPhases: WebCal can, if you wish, calculate and display lunar
phases on your calendar pages. If you prefer that it not do so, just
leave this variable undefined.
$DefaultType: This variable sets the “default” calendar style for your
displays. It can be set to either “Table”, “Small Table” or “Text”.
$SmallTableText: If you set this variable to 1, small table displays
will be accompanied by a textual listing of the events for that month.
If you set it to 0, no such listing will be included. This can be
handy if, for example, you’re displaying timeshare availability.
While you’d want visitors to know whether certain dates were already
booked, you wouldn’t necessarily want them to know *who* booked them.
$PreviousLastOnly: If this variable is set to 1, visitors will *only*
have the option to move back or forward one month at a time. They
won’t be able to select specific months, and they won’t be able to
alter the calendar style.