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

Upcoming Events

Below is an example of the Upcoming Events component without calendar icons. Implementation directions and parameters follow.

See Adding Calendar Icons for the parameters needed to add yellow or blue icons to the left of the event titles.

Upcoming Events



Implementation


Adding an Upcoming Events component is the same process as adding any other component in the Presentation > Details.

  1. Follow the directions for adding a component. The Upcoming Events component is located in the Select a Rendering dialog box in Sublayouts > V2 > Active Data Calendar > Upcoming Events.

  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 listing of applicable parameters. See 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.

Upcoming Events 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. This is a required parameter. 
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.
MoreEvents
Example: /sitecore/content/Home/studentaffairs/programs_events/events
A path to a sitecore page where the calendar more events are listed, usually a page with an Event Listing component. 
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.
NumberWithPhotos A number. Example: 10 A number that shows the first X images with photos, if available. 
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.