Department Events
![Screenshot of Department Events widget](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20default.PNG.webp?itok=02XlsiLC)
What is it?
The Department Events widget is a tool to create an automatically generated feed of upcoming events for a given department.
How do I use it?
This feed is generated from the Events you can create within your website in Drupal when you check the "Show on front page" box on the event edit page. In the event edit page, you can also add a summary of the event to appear in the Department Events widget.
![Screenshot of the show on front page edit page section](/sites/cse.umn.edu/files/styles/folwell_full/public/Screen%20Shot%202019-10-25%20at%2011.37.34%20AM.png.webp?itok=wcTMcsc_)
The Department Events widget allows you to include optional "Intro" text that will appear above the widget itself. You must also select the department from which you want to display events.
In addition, you can customize how the events are displayed. The default is three events displayed horizontally as text, as seen in image on the top of this page.
Each event displays until the end of the calendar day on which it occurs.
![Screenshot of Department Events edit page](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20options.PNG.webp?itok=5dUnGHkv)
Display options
- The List Type allows you display events either horizontally or vertically.
- The Display Options include text date, styled date, location, additional info, and more link. You can choose multiple options by holding down the "Shift" or "Control" button and selecting more. See below for examples of these options.
- The Number of Items allows you to display a maximum of 12 events in the widget.
- In the Events Page Link section, you can type in a URL and link text to add a link to your website's Events page.
- The Background Style drop-down menu allows you to place a background color behind the events.
- The Widget Angle drop-down menu will slope the top of the widget left or right.
Vertical Orientation
![Default vertical orientation display option](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20default%20vertical.PNG.webp?itok=kHeJ489W)
Text Date
!["Text Date" display option](/sites/cse.umn.edu/files/styles/folwell_full/public/Department%20Events%20text%20date.PNG.webp?itok=xYTYKJdV)
Styled Date
!["Styled Date" display option](/sites/cse.umn.edu/files/styles/folwell_full/public/Dep%20events%20stylized%20date.PNG.webp?itok=W-GmGAgD)
Location
!["Location" display option](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20location.PNG.webp?itok=a_hpocH2)
Additional Info
!["Additional Info" display option](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20additional%20info.PNG.webp?itok=5uT74P-u)
More Link
!["More Link" display option](/sites/cse.umn.edu/files/styles/folwell_full/public/dep%20events%20more%20link.PNG.webp?itok=3nYV392X)