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: in your template to see available properties of each object.
Plugin: Events and event-registration
List view
|
Object: |
Description: |
|---|---|
|
|
An object holding all events that matched the configured demand in the plugin settings |
|
|
All configured categories for the category menu (see |
|
|
All available locations |
|
|
All available organisators |
|
|
All available speakers |
|
|
The eventDemand object |
|
|
The overwriteDemand object |
|
|
The current content object of the plugin |
|
|
The current page data |
Detail view
|
Object: |
Description: |
|---|---|
|
|
An object holding the given event |
|
|
The current content object of the plugin |
|
|
The current page data |
Registration view
|
Object: |
Description: |
|---|---|
|
|
An object holding the given event |
|
|
The current content object of the plugin |
|
|
The current page data |
Calendar view
|
Object: |
Description: |
|---|---|
|
|
An array holding all events for the current calendar month |
|
|
An array holding all events grouped by week (represented by the week number as key) and day. |
|
|
All configured categories for the category menu (see |
|
|
All available locations |
|
|
All available organisators |
|
|
All available speakers |
|
|
The eventDemand object |
|
|
The overwriteDemand object |
|
|
The PID of the current page |
|
|
DateTime object with the first day of the current month |
|
|
Array with date, month and year of the previous month |
|
|
Array with date, month and year of the next month |
|
|
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. |
|
|
The current content object of the plugin |
|
|
The current page data |
Search view
|
Object: |
Description: |
|---|---|
|
|
An object holding all events that matched the configured demand in the plugin settings and the given searchdemand |
|
|
All available categories |
|
|
All available locations |
|
|
All available organisators |
|
|
All available speakers |
|
|
The searchDemand object |
|
|
The overwriteDemand object |
|
|
The current content object data |
|
|
The current page data |
Notification views
The following objects can be used in notification views
|
Object: |
Description: |
|---|---|
|
|
An object holding the given event |
|
|
An object holding the given registration |
|
|
An array of extension settings |
|
|
HMAC for the registration UID |
|
|
Appended HMAC for the registration UID |
Email subjects
The following objects can be used in email subjects for event registration and custom notifications
|
Object: |
Description: |
|---|---|
|
|
An object holding the event for a registration |
|
|
An object holding the registration |
Email subjects are parsed with Fluid, but only a restricted set of ViewHelpers is allowed. By default,
f: and
f: can be used. All other ViewHelpers are not executed and
are rendered as an empty string. See Allowing additional ViewHelpers in Fluid string parsing on how to allow additional ViewHelpers.
Registration message views
Registration message views are
cancel,
confirm and
save
|
Object: |
Description: |
|---|---|
|
|
An object holding the given event |
|
|
An object holding the given registration |
|
|
If the status is failed |
|
|
The key of the title to use in <f:translate> viewHelper |
|
|
The key of the message to use in <f:translate> viewHelper |
|
|
The integer value of the {messageKey} variable |
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
|
Object: |
Description: |
|---|---|
|
|
An object holding the given event |
Plugin: Events and event-registration - FE user registrations
List view
|
Object: |
Description: |
|---|---|
|
|
An object holding all registrations that matched the configured demand in the plugin settings |