The University of Vermont

UVM WEB GUIDE: Template Publishing System

Content Feature: Calendar

Oracle Calendar

If your department or organization maintains a departmental calendar via Oracle Calendar (formerly CorporateTime), you can add your department's calendar listings to your Web site.

Oracle Calendar accounts can be obtained from CIT.

To add a calendar to the template, use this special code in the link column of any of your menu files (defaultmenu.html, news_&_events.html, etc.) or in your content area preceded by ?Page=:

Calendar&agenda=last-name,first-name
Calendar&agenda=department,division
Calendar&agenda=resource-name,resource

Items marked in bold signify the name of the Oracle Calendar account.

In addition, you can combine multiple agendas into one single calendar by using this code: Calendar&agenda=last-name,first-name,last-name2,first-name2,department,division

Items marked in bold signify the names of the Oracle Calendar accounts.

The default setting is set to display the next seven days (one week). You can change this or create multiple links for different date ranges by adding the following code to that above:

For the next 24 hours, add this code:
&period=day

For the next 30 days, you can use this code:

&period=month

For the month after next, add this code:
&period=nextmonth

For the next 60 days, you can use this code:
&period=twomonth

For the next 365 days, you can use this code:
&period=year

When using days, you can choose any number; all you need to do is change the coding to reflect that. For instance, you could call up the next 75 days by using this code:
&period=75days

To display calendar information in a calendar format (in lieu of a list), you can append a format code as follows:
&displayformat=ascal

To display the English department calendar for the next month (or 30 days, to be specific) in a calendar format your code would look like this:
Calendar&agenda=Dept,English&period=30days&displayformat=ascal

To display calendar items with only a start time and not an end time, e.g. 8AM as opposed to "8AM to 10AM", add the following code:
&time_format=simple

To add a custom header to your calendar append the following in your code string:
&label=My+Department+Calendar

You can also add custom introduction to your calendar by pointing to an HTML document containing the desired content. In the following case, an introductory paragraph is saved as the file calendarintro.html and the following code appended is appended to the calendar call:
&intro=calendarintro.html

Did you know?
You can also offer your Oracle Calendar in iCal format. The iCal format is compatible with the iPhone and iPod, Google Calendar, and Macintosh iCalendar, among others. Your iCal link looks like this:
http://scripts.uvm.edu/cgi-bin/CT_Cal.pl?fn1=surname&gn1=givenname&period=year&asical=1
You may also wish to display this iCal icon: [http://www.uvm.edu/www/images/ical.gif]

Resource 25 (Facilities Calendar)

Coming in April 2005.

To add a R25 calendar listing to your Web site, use this special code in the link column of any of your menu files (defaultmenu.html, news_&_events.html, etc.) or in your content area preceded by ?Page=:

R25& immediately proceeded by any combination of the following (you will need to insert an "&' when using more than one option):

organization=
Only currently used department names in R25 can be used. A department list is available.
room=
The "short" room name must be used. A room list is available.
type=
Valid types are available from this type list.
start= and end=
Start and end dates must be specified in the form "2005-03-21". The start date defaults to today, the end date defaults to 1 week after the start date.
period=
The time period can be specified in days. For instance, period=30 would show 30 days worth of events.
category=
Specify a category like "Hot Event".
display=
Finally, you can set the display format to column, table, or calendar.

Last modified October 27 2009 02:35 PM

Contact UVM © 2009 The University of Vermont - Burlington, VT 05405 - (802) 656-3131