---
title: "Template objects"
manual: "Event management and registration"
version: "9.0"
permalink: "https://docs.typo3.org/permalink/derhansen/sf_event_mgt:template-objects@9.0"
source: "ForAdministrators/Templates/Objects/Index.rst"
rendered: "2026-09-26T09:26:08+00:00"
---

# Template objects {#template-objects}

The following objects are available in the different views.

Please have a look at the templates included with the extension, since they show many of the properties
of the given objects and how to use them.

> [!TIP]
> You can use `<f:debug>{object}</f:debug>` in your template to see available properties of each object.

## Plugin: Events and event-registration {#plugin-events-and-event-registration}

### List view {#list-view}

| Object: | Description: |
| --- | --- |
| `{events}` | An object holding all events that matched the configured demand in the plugin settings |
| `{categories}` | All configured categories for the category menu (see `plugin.tx_sfeventmgt.settings.categoryMenu` in the [List view, Detail view, Registration view, Calendar view, Search view](https://docs.typo3.org/permalink/derhansen/sf_event_mgt:eventplugin-settings@9.0)) |
| `{locations}` | All available locations |
| `{organisators}` | All available organisators |
| `{speakers}` | All available speakers |
| `{eventDemand}` | The eventDemand object |
| `{overwriteDemand}` | The overwriteDemand object |
| `{contentObjectData}` | The current content object of the plugin |
| `{pageData}` | The current page data |

### Detail view {#detail-view}

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the given event |
| `{contentObjectData}` | The current content object of the plugin |
| `{pageData}` | The current page data |

### Registration view {#registration-view}

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the given event |
| `{contentObjectData}` | The current content object of the plugin |
| `{pageData}` | The current page data |

### Calendar view {#calendar-view}

| Object: | Description: |
| --- | --- |
| `{events}` | An array holding all events for the current calendar month |
| `{weeks}` | An array holding all events grouped by week (represented by the week number as key) and day. |
| `{categories}` | All configured categories for the category menu (see `plugin.tx_sfeventmgt.settings.categoryMenu` in the [List view, Detail view, Registration view, Calendar view, Search view](https://docs.typo3.org/permalink/derhansen/sf_event_mgt:eventplugin-settings@9.0)) |
| `{locations}` | All available locations |
| `{organisators}` | All available organisators |
| `{speakers}` | All available speakers |
| `{eventDemand}` | The eventDemand object |
| `{overwriteDemand}` | The overwriteDemand object |
| `{currentPageId}` | The PID of the current page |
| `{firstDayOfMonth}` | DateTime object with the first day of the current month |
| `{previousMonthConfig}` | Array with date, month and year of the previous month |
| `{nextMonthConfig}` | Array with date, month and year of the next month |
| `{weekConfig}` | Array holding the year and weeknumber for the current, previous and next week. This variable must be used to create a calendar view by week. |
| `{contentObjectData}` | The current content object of the plugin |
| `{pageData}` | The current page data |

### Search view {#search-view}

| Object: | Description: |
| --- | --- |
| `{events}` | An object holding all events that matched the configured demand in the plugin settings and the given searchdemand |
| `{categories}` | All available categories |
| `{locations}` | All available locations |
| `{organisators}` | All available organisators |
| `{speakers}` | All available speakers |
| `{searchDemand}` | The searchDemand object |
| `{overwriteDemand}` | The overwriteDemand object |
| `{contentObjectData}` | The current content object data |
| `{pageData}` | The current page data |

### Notification views {#notification-views}

The following objects can be used in notification views

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the given event |
| `{registration}` | An object holding the given registration |
| `{settings}` | An array of extension settings |
| `{hmac}` | HMAC for the registration UID |
| `{reghmac}` | Appended HMAC for the registration UID |

### Email subjects {#email-subjects}

The following objects can be used in email subjects for event registration and custom notifications

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the event for a registration |
| `{registration}` | An object holding the registration |

Email subjects are parsed with Fluid, but only a restricted set of ViewHelpers is allowed. By default,
`f:format.date` and `f:translate` can be used. All other ViewHelpers are not executed and
are rendered as an empty string. See [Allowing additional ViewHelpers in Fluid string parsing](https://docs.typo3.org/permalink/derhansen/sf_event_mgt:allowed-viewhelpers@9.0) on how to allow additional ViewHelpers.

### Registration message views {#registration-message-views}

Registration message views are `cancelRegistration`, `confirmRegistration` and `saveRegistrationResult`

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the given event |
| `{registration}` | An object holding the given registration |
| `{failed}` | If the status is failed |
| `{titleKey}` | The key of the title to use in \<f:translate> viewHelper |
| `{messageKey}` | The key of the message to use in \<f:translate> viewHelper |
| `{result}` | The integer value of the {messageKey} variable |

### iCalendar view {#icalendar-view}

The iCalendar view is used to render an iCal file which can be downloaded by the user for the given event.
Please note, that the iCalendar view is a simple textfile. If you choose to extend the view, be sure that
new fields are compliant with RFC 5545 [https://tools.ietf.org/html/rfc5545](https://tools.ietf.org/html/rfc5545)

| Object: | Description: |
| --- | --- |
| `{event}` | An object holding the given event |

## Plugin: Events and event-registration - FE user registrations {#plugin-events-and-event-registration-fe-user-registrations}

### List view {#list-view-1}

| Object: | Description: |
| --- | --- |
| `{registrations}` | An object holding all registrations that matched the configured demand in the plugin settings |
