Creating a Custom CalendarThe Online UB Calendar of Events contains events in a number of categories, submitted to the calendar by representatives from all over campus. Follow these instructions if you would like to create your own custom calendar based on the data in our central calendar.
A custom calendar is created simply by linking to our program using certain parameters, described below.
The 'head' and 'foot' parametersYou can customize the look of the calendar by creating your own head.html and foot.html files to be wrapped around the calendar entries. For example, your head.html file may have your department's logo and some other HTML, and your foot.html may have a buttonbar or links to the rest of your pages.
The values to the head and foot parameters should be the actual location of the file son the Ubunix server, from the "root" (i.e. do not include http://wings.buffalo.edu or /net/wings/info/www). For example, this page is /net/wings/info/www/calendar/custom.html, so its value would be /calendar/custom.html .
Here are two sample parameters:
If no 'head' or 'foot' are specified, the regular calendar motif is used.
Showing Certain CategoriesSince your calendar is customized, you probably will not want to show every event in the database. To select only certain categories, use the 'lc' parameter, with a comma-separated list of categories to allow. Possible categories are:
Here's an example that will only show alumni events and performance
If you omit the 'lc' parameter, all categories will be included.
Events entered by specific peopleSay for example that you have entered events into the main calendar, and what to create a custom calendar that lists only the events that you (Joe Schmoe, username jschmoe) or your colleague from your department (Jane Doe, username jdoe) entered. This can be done with the 'lu' parameter which works similary to 'lc'.
Events based on dateBy default, you will see events for today and tomorrow. You can customize this by passing in other parameters:
Tying it all togetherHere are some examples of links that produce calendars with custom headers and footers, listing only events in the Alumni category that were entered by user alulld.
This week's events:
This month's events:
All events from today on: