Calendars
Calendars
KU CMS Sunflower can pull in syndicated event information from KU’s current calendar system called Localist. Localist events can be found/posted at KU Events Calendar.
- KU CMS sites in Drupal 7 will continue to pull in syndicated event information from the 25Live system.
- Drupal 7 sites are not configured to pull in information from Localist.
- For units/departments that host multiple sites, it is likely there will be a time when your events will need to be posted to both systems to support both Drupal 7 and KU CMS Sunflower sites.
All Events Pages
In KU CMS Sunflower, you have two options for All Events pages:
- Create your own All Events page on your site using one of the available Events sections:
- Events 1 – Three-Column
- Events 2 – Three-Column w/Images
- Events 3 – Two-Column
This approach is best for sites with a limited number of events. For sites with long lists of upcoming events, we recommend option 2.
- Point any All Events links to your account page on calendar.ku.edu (Localist):
- Go to the KU Events Calendar
- Select the ellipsis next to Filter Results below the hero image
- Select Departments
- Locate your department page
- Copy/paste the URL as needed
Add Event Information via Widgets
KU CMS Sunflower includes a number of sections that feature syndicated event information from Localist. To add event information to your site you will need to:
- Determine the section you wish to add
- Generate the correct widget embed code from Localist
- Copy/paste the embed code into a section or block (then add the block to a section)
Generate a Localist Widget Embed Code
- Go to the KU Events Calendar
- Scroll down to locate ellipses button to right of Filter Results button (View screenshot)
- In the Share Events section, select the Widget builder link in the second paragraph.
From the Build an Events Widget Page
- You must first determine what event section you wish to add. Then select the corresponding event widget option from the Template dropdown menu:
- Body 1 – Sidebar (3 events with images)
- Body 1 – Sidebar (3 events no images)
- Body 19 – News and Events
- Events 1 – Three-Column
- Events 2 – Three-Column w/Images
- Events 3 – Two-Column
- IMPORTANT – Do not use the "Default" widget
- Select Number of Results – You can change this number. But, keep in mind, KU CMS – Sunflower sections are configured to display a set number of event results. So long as you do not reduce the number of results below the set number of events, you cannot alter the number of events displayed on your KU CMS – Sunflower page here.
- Select the number of Days Ahead you want the event to display – Keep in mind, events will automatically drop off your widget based on the number you input.
- Select your Department from the dropdown menu
- Add any Additional Filters:
- Places
- Event Type
- Target Audience
- Topic/Interest
- NCAA Athletic
- Keywords and Tags
- Add any Additional Conditions:
- Only Show Featured
- Only Show Sponsored
- Include All Matching Instances
- Hide Past Events
- Content must match:
- At least one place, group, keyword or tag, and one filter item
- Any place, group, keyword, tag or filter item
- At least one place and group, and all keywords, tags and filter items
- Any place or group, and at least one keyword or tag, and one filter item
- Add filters for Excluded Content:
- Event Type
- Target Audience
- Topic/Interest
- NCAA Athletic
- Display Options - Leave as default
- Style - Leave as default
- Select Additional Display Conditions:
- Hide Descriptions
- Truncate Descriptions
- Render HTML in Descriptions
- Hide Event Images
- Hide Event Times
- Hide “View All Events” Link
- Open Links in New Window
- Make sure Include Styles is unchecked (these are Localist styles)
- Select Generate Embed Code
- Copy the Widget Embed Code
Create an Events Section or Block
Create an Events Section
The following widgets allow you to paste the embed code directly into the widget:
- Body 19 – News and Events
- Events 1 – Three-column
- Events 2 – Three-column w/Images
- Events 3 – Two-column
To add the embed code to a section:
- On your site, edit/create a section
- Paste the embed code into the Localist Code field
- Select any available configuration options (e.g., Featured articles only, All news articles, etc.)
- Save
Create an Events Block
The following widgets require you to first create a block and then add that block to the section:
- Body 1 Sidebar (3 events with images)
- Body 1 Sidebar (3 events no images)
To add the embed code to a block, you must first create the block:
- On your site, select Structure > Custom Block Layout
- Select Custom block library
- Select +Add custom block
- Select Sidebar Blocks for Body 1
- Enter a Block description
- From the Sidebar Item dropdown menu, select the corresponding option to the widget you selected:
- For widget: Body 1 Sidebar (3 events no images) = Select Events for Body 1
- For widget: Body 1 Sidebar (3 events w/Images) = Select Events w/Images for Body 1
- Provide Headline Text
- Paste the embed code in the Localist Code field
- Enter the All Events Link URL and link text
- Save
- You will be taken to the Configure block page
- Uncheck Display title
- From the Region field dropdown menu, select Block Staging Area (For blocks inserted into Body 1)
- Save
To Configure Blocks in General:
- On your site, select Structure > Block Layout
- Scroll to find your specific block from a specific region
- Select Configure
- Make updates
- Save