For a better experience, click the Compatibility Mode icon above to turn off Compatibility Mode, which is only for viewing older websites.

Events Sidebar

The Events Sidebar (example shown in the RightRail) lists the next 3 events in queue. Only the name, start date, and start time are displayed. Multiple-day events are only listed once on the first day of the event.

Implementation

  1. Follow the directions for adding a component. The Events Sidebar component is located in the Select a Rendering dialog box in Sublayouts > V2 > Sidebars > Events Sidebar.
  2. In the Control Properties dialog box, enter parameters to define which Department or Category the sidebar should find events for, to specify where the event's detail page is, and to customize the sidebar's appearance or functionality. See below for a list of parameters, and read Configuring the Calendar for more information on adding parameters.
  3. Click OK until all dialog boxes are closed.
  4. Save and approve the page for publication.

Component Parameters

Parameter Name Value(s) Description
Department A number or list of numbers corresponding to a department. Example:1,2,3 Filters events to only display events in a specific department. IDs may be comma separated and are listed on the Department ID Listing page.

cat A number or list of numbers corresponding to a category. Example:1,2,3
Filters events to only display events tagged with a specific category. IDs may be comma separated and are listed on the Category ID Listing page.
 
subcat A number or list of numbers corresponding to a subcategory. Example:1,2,3
Filters events to only display events tagged with a specific subcategory. IDs may be comma separated and are listed on the Subcategory ID Listing page.
DetailsPage A path to a sitecore page where the calendar details should appear 
Example: /sitecore/content/Home/ studentaffairs/programs_events/ events/details
The details page must have the Event Details component placed on it.
q Example: "Entrepreneur Entrepreneurship" (quotes required) A word, or number of words to search the calendar for. The example to the right would look for for both "entrepreneur and entrepreneurship" in the titles or bodies of the events.

Audience Example: "Alumni Freshman" (quotes required)
Works like q above. The example to the right would look for for both "alumni and freshman" audiences.
MaxResults A single number. Example: 3 Specifies the number of events that appear in the sidebar. The default is three.
Title A string of text. Example: More Events Changes the wording of the sidebar's default "Upcoming Events" title.
LinkTitle A string of text. Example: Even More Events
Changes the wording of the sidebar's default "More Events" link
LinkURL A path to a sitecore page where the More Events link should go. Example: /sitecore/content/Home/ studentaffairs/programs_events/ events Changes the URL of the "More Events" link (usually to this should be changed to point to the site's own events page). The default link goes to the University Events Calendar.
UseAnd Example: true This parameter allows for more specific filtering. For example, if you only wanted events tagged with a specific department AND category to show on your calendar, you would use this parameter in addition to the standard Department and cat parameters. By default, the list of events will display any events tagged as a department OR category.