Calendar of Events - Configuration options

Like the KU Template, your departmental calendar can be setup & configured using server-side includes (SSI). Below is a list of all customizable calendar settings. These settings should be placed after your KU Template settings and before your call to the calendar of events. Once you've entered your settings, include the calendar with on the page with the following line of code.

<!--#include virtual="/~http/ssi/2009/mycalendar.shtml" -->

option

Sets the type of calendar view you want displayed on your page
Valid Values:
  • month - Presents a table view of a month's worth of calendar events
  • week - Presents a table view of a week's worth of calendar events
  • day - Presents a day view of a month's worth of calendar events
  • year - Presents a list of all events in a given year.
  • futurelist - Presents a list of future events separated by div tags
  • event - Presents a view of a single event
Default Value: month
Relevant options:
Example
<!--#set var="option" value="futurelist" -->

myorg

Your org number. This will cause the calendar to only include events that are listed under this org. Can be a comma separated list of multiple org numbers.
Default Value: none
Relevant options: month, week, day, year, futurelist
Example
<!--#set var="myorg" value="15" -->

showpublic

Set to 1 if you would like to include all public events in your calendar view.
Valid Values:
  • 1 (turns on)
  • 0 (turns off)
Default Value: 0
Relevant options: month, week, day, year, futurelist
Example
<!--#set var="showpublic" value="1" -->

exorg

IDs of orgs that you do NOT want included on your calendar. Can be a comma separated list of multiple org numbers. This is only useful when used in conjunction with showpublic.
Default Value: none
Relevant options: month, week, day, year, futurelist
Example
<!--#set var="exorg" value="13,16,17" -->

myorghighlight

Adds class "highlight" to all events that have this org number. Comma-separted list of org numbers allowed
Default Value: none
Relevant options: month, week
Example
<!--#set var="myorghighlight" value="13" -->

startday

Day to start displaying events from
Date Format: mm/dd/yyyy
Default Value: today's date
Relevant options: month, week, day, futurelist
Example
<!--#set var="startday" value="6/12/2010" -->

endday

Day to stop displaying events on
Date Format: mm/dd/yyyy
Default Value: Dependant on option
Relevant options: futurelist
Example
<!--#set var="endday" value="9/15/2010" -->

year

The year you want displayed
Default Value: current year
Relevant options: year
Example
<!--#set var="year" value="2010" -->

limit

Limit to this number of results. Defaults to unlimited results.
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="limit" value="10" -->

limitstart

Where to start the result set from. Default is 0 (first entry)
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="limitstart" value="30" -->

type_ids

Include all events of the given type ids. Comma-separated list allowed
Choices:
Type ID
Academic date 35
Alumni Association Event 64
Athletics 2
Baseball 56
Basketball (M) 12
Basketball (W) 13
Camp 7
Ceremony 44
Colloquium 63
Communication 66
Concert 31
Conference 8
Cross Country 45
Dance 26
Departmental 60
Entertainment 3
Film 29
Football 15
Golf (M) 46
Golf (W) 62
Governance 5
Hawk Week 75
Holiday 6
Internal 61
International Program 54
Leadership/Supervision 67
Learn about KU - About KU 68
Learn about KU - Administrative Functions 69
Lecture 9
Meeting 57
Navigating change 70
Networking 76
Panel Discussion 53
Personal Effectiveness 71
Play 33
Professional Development 10
Public Event 40
Rowing 47
Seminar 52
Soccer 48
Social Event 4
Softball 55
Student Group Event 58
Study Abroad 59
Swimming 49
Tennis 50
Track and Field 51
Valuing Diversity 72
Volleyball 24
Wellness - Personal 73
Wellness - Workplace 74
Workshop 43
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="type_ids" value="3,6" -->

mycategory_ids

Include all events of the given "mycategory" ids. Comma-separated list allowed. The IDs for your custom categories can be found under the "My categories" link in the KU Calendar Event Manager.
Default Value: none
Relevant options: all
Example
<!--#set var="mycategory_ids" value="3,6" -->

keywords

Include all events that have the given keywords in either the title or description. Comma-separated list.
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="keywords" value="football,ponies" -->

exkeywords

Exclude all events that have the given keywords in either the title or description. Comma-separated list.
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="exkeywords" value="tigers,wildcats" -->

calempty

Text to display if the calendar is empty
Default Value:
Relevant options: futurelist, year
Example
<!--#set var="calempty" value="No events are scheduled" -->

eventviewpage

Sets the page that listed events go to to see the event details
Default Value: none
Relevant options: futurelist, year
Example
<!--#set var="eventviewpage" value="eventpage.shtml" -->

ce_id

The id of a specific event you want displayed. The ce_id event of an event can be found by visiting the calendar of events, and then finding the event and clicking on it. Your resulting URL will have the ce_id in the string. Eg: http://calendar.ku.edu/index.php?option=eventview&ce_id=30755.
Default Value: none
Relevant options: eventview
Example
<!--#set var="ce_id" value="30755" -->

ce_ids

The ids of a specific events you want displayed. This will ONLY show the events whose ids you list. The ce_id event of an event can be found by visiting the calendar of events, and then finding the event and clicking on it. Your resulting URL will have the ce_id in the string. Eg: http://calendar.ku.edu/index.php?option=eventview&ce_id=30755.

Note: make sure your startday is set to be before the day of the actual events, or they will not appear

Default Value: none
Relevant options: eventview
Example
<!--#set var="ce_ids" value="30755, 30756" -->

addevent_ids

The ids of additional events you want displayed. This will show the events whose ids you list, in addition to any other events that match the options you pass. The ce_id event of an event can be found by visiting the calendar of events, and then finding the event and clicking on it. Your resulting URL will have the ce_id in the string. Eg: http://calendar.ku.edu/index.php?option=eventview&ce_id=30755.

Note: make sure your startday is set to be before the day of the actual events, or they will not appear

Default Value: none
Relevant options: eventview
Example
<!--#set var="addevent_ids" value="30755, 30756" -->

nonavbar

Turns off the top navigation bar for day, week, and month options
Default Value: 0
Relevant options: day, week, month, event
Example
<!--#set var="nonavbar" value="1" -->

caltemplate

URL to a template file that formats the output of your calendar event. See the templating section.
Default Value: none
Example
<!--#set var="caltemplate" value="http://webtools.ku.edu/scripting/kucal/caltemplate.shtml" -->

The University of Kansas prohibits discrimination on the basis of race, color, ethnicity, religion, sex, national origin, age, ancestry, disability, status as a veteran, sexual orientation, marital status, parental status, gender identity, gender expression and genetic information in the University’s programs and activities. The following person has been designated to handle inquiries regarding the non-discrimination policies: Director of the Office of Institutional Opportunity and Access, IOA@ku.edu, 1246 W. Campus Road, Room 153A, Lawrence, KS, 66045, (785)864-6414, 711 TTY.