Adding Events to Your Web Site

There are several container rules you can use for publishing events on your web site, as well a page type driver you can use for displaying a single event.

The main container rules are Calendar Event Calendar and Calendar Event Listing. There is also the Calendar Event Cart rule, but this is covered in the next section.

The Calendar Event Calendar Display rule makes data available to easily output a calendar-style display on your site. If you elect to just show a single month at a time, then only events from that month are available to list.

The Calendar Event Listing rule is to display a list of events. You can split up this list into multiple pages.

To view an event in the context of a whole page, create a new page type using the Calendar Event Details driver. You can then create a new page in your site using the newly-created page type.

To link to an event, use the url field in the event template data. For instance, if your event details page is located at /event/view, when you loop over events you can link to /event/view/{$event.url}.