Submitter
SUPPORT TOPIC File Information
- Submitted: Jul 30 2007 12:05 PM
- Last Updated: Aug 08 2007 11:22 AM
- File Size: 14.46K
- Views: 3051
- Downloads: 519
Previous Versions
Download zcalendar_displayV1
This snippet uses the data from zcalendar and display all events in a month by month calendar from a user-chosen date range.
It shows start dates, spanned dates and finish dates. Each event includes a hyperlink to the original zcalendar event and tooltips showing the description on mouseover. It is highly customizable for presentation.
Instructions:
########## Snippet configurable parameters ############
$zcalendar="zcalendar";//set to the name of the table to connect to.
$zcal_link='';//set to the doc id or alias name of the page where your original zcalendar is located for hyperlinks to events.
$day_heading_length = 3; # Size of weekday abbr in calendar (0-4) 4=full day name
############### Custom messages #######################
//date selection form
$oneMonth="This Month";
$threeMonth="Next 3 Months";
$sixMonth="Next 6 Months";
$twelveMonth="Next 12 Months";
$allYear="All of this Year";
$go="Go";
//Calendar messages
$ongoing="Ongoing: ";
$spanicon="--> ";
$moreInfo="Go to event: ";
$lastDay="Last Day: ";
//Set the number of line breaks between months (good to make it fit a month to a page for printing depending on your page width).
$line_breaks="2";
##################### END CONFIGURABLE PARAMETERS ####################################
Changelog:
8/8/07:
Updated zcalendar_display to make it FURL friendly.
Now xhtml compliant.
It shows start dates, spanned dates and finish dates. Each event includes a hyperlink to the original zcalendar event and tooltips showing the description on mouseover. It is highly customizable for presentation.
Instructions:
- Install zcalendar.
- Call zcalendar_display in a separate page. (you can place a hyperlink from zcalendar to this new calendar page if you wish).
- That's it. All existing events are automatically added to the calendar!
########## Snippet configurable parameters ############
$zcalendar="zcalendar";//set to the name of the table to connect to.
$zcal_link='';//set to the doc id or alias name of the page where your original zcalendar is located for hyperlinks to events.
$day_heading_length = 3; # Size of weekday abbr in calendar (0-4) 4=full day name
############### Custom messages #######################
//date selection form
$oneMonth="This Month";
$threeMonth="Next 3 Months";
$sixMonth="Next 6 Months";
$twelveMonth="Next 12 Months";
$allYear="All of this Year";
$go="Go";
//Calendar messages
$ongoing="Ongoing: ";
$spanicon="--> ";
$moreInfo="Go to event: ";
$lastDay="Last Day: ";
//Set the number of line breaks between months (good to make it fit a month to a page for printing depending on your page width).
$line_breaks="2";
##################### END CONFIGURABLE PARAMETERS ####################################
Changelog:
8/8/07:
Updated zcalendar_display to make it FURL friendly.
Now xhtml compliant.
- 248 Total Files
- 19 Total Categories
- 50 Total Authors
- 131,652 Total Downloads
- TripTracker Gallery Latest File
- Dean Latest Submitter












