Use the calendar page template as the central place on your website to publish events. You can then embed a ‘feed’ of upcoming events in any other page e.g. your home page. When you publish a new event in the source calendar, the events list updates automatically.
You can also embed a feed of upcoming events that have certain tags – say, ‘Research seminars’. For example, some departments do this on their research landing page.
The Faculty of Social Sciences home page has an events list in the third row:
- Go to the page where you want to add the events list.
- Go to Edit > Edit centre content or Edit right content.
- Place your cursor in the visual editor where you want to add the events list.
In the toolbar, select Insert a > Calendar/events feed. The Calendar/events feed window appears:
- In the Page path box, select the page picker button and browse to the location of the calendar you want to take a feed from. Alternatively, type the relative URL of the calendar (without the
Choose one of the Show up to options:
- Show all events within a specified number of days in the future
- Show all events up to a maximum number
- Show events which took place recently up to a maximum number
- Optionally, select Also show end times on events.
- Optionally, to link events in your list to the full calendar item, select Titles are clickable links.
To only show events with particular tags, type the tags separated by commas in the Filter by tag box. For example:
Conferences, Research seminars
Select Insert. Text similar to the following displays in the visual editor:
[sched-cal view=upcoming num=3 tags='Conferences,Research seminars']/yourdept/calendar[/sched-cal]
The attributes of the
[sched-cal]tag above specify:
- show the next three upcoming events
- only show events that have any of the tags ‘Conferences’ and ‘Research seminars’
- When you have finished editing your page, select Publish. The events list is added to your page. When you add a new event to the source calendar in the future, the events list will update automatically.
Email webteam at warwick dot ac dot uk
How to report a problem