FAQ

The event detail page shows a 404 error

This problem can occur in TYPO3 versions greater than 9.5.17 or 10.4.2 when the TYPO3 website has multiple sites that use a shared folder for events. If this is the case, you must configure unique slug handling in the extension settings slugBehaviour.

Why do you not include a nice CSS stylesheet?

Because you normally customize templates/stylesheets to your needs. Therefore the extension just comes with a rudementary CSS stylesheet available in EXT:Resources/Public/Css/events_default.css which must be included manually like shown below:

page.includeCSS {
        events = EXT:sf_event_mgt/Resources/Public/Css/events_default.css
}
Copied!

Is it possible to extend events/registrations with own fields?

Yes, since version 3.0 of the extension, you can add additional Registration field on event basis.

You can also extend sf_event_mgt with own fields (e.g. new fields for Event). I have created a demo extension, which shows how to add new fields to the event and registration domain model.

Demo Extension: https://github.com/derhansen/sf_event_mgt_extend_demo

The extension contains a short manual (README.md) how to add your own fields to existing domain models.

How do I export registered participants to a CSV file?

Please use the CSV export action as described in Backend module section.

How do I create a custom email notification?

A detailed description can be found in the Custom notifications section.

Can I add the HMAC or an appended HMAC of the registration UID to emails?

Yes, you can use the following objects in you email templates

  • {hmac} = HMAC of uid
  • {reghmac} = appended uid+HMAC

Is it possible to filter by categories in the listview

Yes, filtering of events by a category is possible if you pass the category to the overwriteDemand setting of the listview.:

<f:link.action action="list" controller="Event" arguments="{overwriteDemand:{category: category}}">{category.title}</f:link.action>
Copied!

This only works, if you create links with f:link.action as shown above. If you want to display the categories in a select-box, then I suggest you create a CSS only select box (e.g. UL menu)

When does {event.registrationPossible} return TRUE

For each event, the attribute registrationPossible returns TRUE or FALSE, if registration for the event is possible. TRUE is returned, when all conditions below are fulfilled:

  • Registration option is activated for the event
  • Max participants is not reached (if max. participants > 0) or max participants is not reached and waitlist is enabled
  • Date set at registration deadline is not reached
  • Startdate of event is not reached
  • Startdate of registration is reached (if set)

Why does the extension not support recurring events?

The user registration is one of the main features of the extension and it requires, that every event is unique in order to save registrations for a particular event. This makes it impossible to only have one event record, that has multiple recurrences.

Since there is no smart way to add recurring events to the extension without making it more complex and harder to maintain, this feature will not make it into the extension.

How can I disable double opt-in for event registration?

You can enable autoConfirmation for new registrations as described in the TypoScript reference section. With autoConfirmation enabled, new registrations will automatically be confirmed and the user will not receive a confirmation email.

How does the simultaneous registration process work?

If the field "Max. simultaneous registrations per user" is set to a value greater than 1 for the given event, a user is able to create multiple registrations at once. If the user in the registration view chooses to create more than one registration, there will be created the given amount of registrations in the backend for the user. All fields (e.g. firstname, lastname, email) will contain the same values.

The first registration saved is the "main registration", and all other registrations saved later will depend on the "main registration". All "dependent registrations" will automatically get the option "No email notifications" set to true, so custom notifications are only sent to the email address of the "main registration".

If automatic confirmation is turned off (default), the user has to confirm the registration by clicking a link in the confirmation email. When the user confirms the registration, all "dependent registrations" of the "main registration will automatically also be confirmed.

How can I set a default currency?

You can set default values for many fields in TYPO3 by using TCAdefaults. To set a default value for the currency field, add the following to the Page TSConfig, which sets € as the default currency for new records:

TCAdefaults {
  tx_sfeventmgt_domain_model_event.currency = €
}
Copied!

How to make the field "Accept terms and conditions" mandatory

The field "Accept terms and conditions" is part of the registration domain model, but it is not required during registration. To make the field required, add the field to the list of required field like shown below:

plugin.tx_sfeventmgt {
  settings {
    registration {
      requiredFields = accepttc
    }
  }
}
Copied!

How do I add my own custom translations

You can override all language files with your own translations/labels. As an example, the following code overrides/extends the locallang_db.xlf and the locallang.xlf

Add this example code to a ext_localconf.php file (e.g. in a site package extension).:

$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['de']['EXT:sf_event_mgt/Resources/Private/Language/locallang_db.xlf'][] = 'EXT:your_ext/Resources/Private/Language/de.custom_locallang_db.xlf';
$GLOBALS['TYPO3_CONF_VARS']['SYS']['locallangXMLOverride']['de']['EXT:sf_event_mgt/Resources/Private/Language/locallang.xlf'][] = 'EXT:your_ext/Resources/Private/Language/de.custom_locallang.xlf';
Copied!

How can I use the overwriteDemand feature for the search view

It is also possible to use the overwriteDemand feature for the search view in order to limit the events that the search result includes. If you for example wish to limit the search to a special category, you must pass the category UID as shown below (the value field contains the category UID).:

<f:form.textfield name="overwriteDemand[category]" value="1"/>
Copied!

How can I add pagination to the listview?

Since version 6.0 of the extension, the list view uses the TYPO3 pagination API to provide necessary objects required.:

<f:for each="{pagination.paginator.paginatedItems}" as="event" iteration="iterator">
    <f:render partial="Event/ListItem" arguments="{_all}"/>
</f:for>
Copied!

How can I add pagination to the searchview?

Native pagination is not supported for the searchview, since besides GET parameters also POST parameters need to be considered in order to render the pagination. Although it technically would be possible to implement this feature, it will not be includes in the extension as it is a suboptimal solution (search word as dynamic GET parameter). If you need a paginated search for events, it is recommended to use a search extension (e.g. ext:ke_search or ext:solr).

How does the payment process work

For each event with registration enabled, you can also enable payment. If payment is enabled, you can output available payment methods for the event in the registration form. When a user registers for an event, he can select a payment method.

The extension comes with 2 default payment methods debit and transfer. Both payment methods do not include any further payment processing.

It is possible to extend the extension with own payment methods that include further payment processing (e.g. by an external payment provider).

For more information on how to add custom payment methods, see Payment section

The default payment methods are missing

Open the extension settings in the extension manager and press the "Save" button.

Configured price options do not show up in frontend

Make sure that the date for the price option is valid. Also make sure, that you use {event.currentPrice} in your Fluid template to output the current price.

How can I use the iCalDownload action in the Listview?

With the following Fluid snippet, you can use the iCalDownload in the listview:

<f:link.action action="icalDownload" arguments="{event : event}" pageUid="{settings.detailPid}"><f:translate key="event.icalDownload" /></f:link.action>
Copied!

Note, that you have to set the pageUid to a page with the detail view plugin.

The category filter for the list view does not work

The filtering also uses the overwriteDemand feature, which by default is disabled. Make sure you have unchecked the Disable overwrite demand setting in the plugin and also ensure that the category mode is not equal to Ignore category selection.

How do I show the event title as page title on the detail page?

Either use the TYPO3 PageTitle API or you can use the title-ViewHelper of this extension.

How do I set the indexed search title for an event?

Use the title-ViewHelper of this extension.

The Payment Plugin throws exception about missing default controller

The page with the Payment Plugin shows the following error:

The default controller for extension "SfEventMgt" and plugin "Pipayment" can not be determined. Please check for TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin() in your ext_localconf.php
Copied!

Please delete the content element with the Payment Plugin and create a blank content element of type "Plugin" and next directly select the Payment Plugin from the plugins select box.

If the plugin originally was a plugin with Flexform settings and switchableControllerActions, those settings will remain in the database field pi_flexform and lead to the described error.

How can I move registrations on the waitlist automativally up, if a registered user cancels a registration?

Since version 5.2.0 there is a simple and default waitlist move up process. Please refer to the documentation section about the Default waitlist move up process for further information.

If the default move up process does not fulfill your needs, you can use the PSR-14 Event WaitlistMoveUpEvent to implement your own move up logic.

Event registrations get confirmed by search engines

Under certain conditions with extensions that create sitemaps it may happen, that a confirmation link of a registration email gets added to the sitemap and afterwards visited by a search engine crawler. This behavior has at least been seen when the extension metaseo has been used to create a sitemap.

In order to avoid the registration link from being added to the sitemap, the page with the registration plugin needs to be excluded from the sitemap, i.e. use "Exclude from sitemap" in the page settings or by other means (e.g. blacklist in EXT:metaseo).

Use https://github.com/derhansen/sf_event_mgt/issues/597 for further details/discussion.

Displaying events using the "Insert Record" content element

If you display events using the "Insert Record" content element, you may want to use a different layout to display the event detail view. For this purpose, you can use {settings.detail.isShortcut} in the Detail.html Fluid Template to render a different layout.

How can I display JSON-LD data for events?

If you want to to display JSON-LD data for events in the event detail view, you can add an own partial including the JSON-LD data you need. Since requirements of data in JSON-LD may vary per project, sf_event_mgt does not ship with a partial or ViewHelper to create such data.

Example Partial Code (will work until Fluid < 3.0):

<script type="application/ld+json">
   <f:format.raw>{</f:format.raw>
     "@context": "https://schema.org/",
     "@type": "Event",
     "name": "{event.title}",
     "startDate": "<f:format.date format="Y-m-d">{event.startdate}</f:format.date>",
     "location": <f:format.raw>{</f:format.raw>
       "@type": "Place",
       "name": "{event.location.title}",
       "address": <f:format.raw>{</f:format.raw>
         "@type": "PostalAddress",
         "streetAddress": "{event.location.address}",
         "addressLocality": "{event.location.city}",
         "postalCode": "{event.location.zip}",
         "addressCountry": "{event.location.country}"
         <f:format.raw>}</f:format.raw>
         <f:format.raw>}</f:format.raw>,
     "image": [
       <f:if condition="{event.image}">
       "<f:uri.image image="{event.image.0}" absolute="true"/>"
       </f:if>
      ],
     "description": "<f:format.raw>{event.description}</f:format.raw>",
     "endDate": "<f:format.date format="Y-m-d">{event.enddate}</f:format.date>",
     "offers": <f:format.raw>{</f:format.raw>
       "@type": "Offer",
       "url": "<f:uri.action action="registration" absolute="true" arguments="{event : event}" pageUid="{settings.registrationPid}"></f:uri.action>",
       "price": "{event.currentPrice}",
       "priceCurrency": "{event.currency}",
       "availability": "https://schema.org/InStock",
     <f:format.raw>}</f:format.raw>,
       "performer": <f:format.raw>{</f:format.raw>
         "@type": "PerformingGroup",
         "name": "{event.organisator.name}"
     <f:format.raw>}</f:format.raw>
  <f:format.raw>}</f:format.raw>
</script>
Copied!

Note: When using Fluid, always make sure to escape variables properly.

As an alternative, you could create an own ViewHelper which generates the required JSON-LD data.

Images for categories are not shown in the frontend?

Categories in TYPO3 backend do not have an image by default. The TYPO3 extension ext:news by Georg Ringer adds additional fields (e.g. an image-field) to the category domain model.

If you want ext:sf_event_mgt to use the category domain model of ext:news, the category domain model of ext:sf_event_mgt needs to be overridden as shown below:

Add this to an extension (e.g. your sitepackage) in ext_localconf.php:

GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\Object\Container\Container::class)
    ->registerImplementation(
        \DERHANSEN\SfEventMgt\Domain\Model\Category::class,
        \GeorgRinger\News\Domain\Model\Category::class
    );
Copied!

After adding this snippet and clearing the cache, all categories in events do now use the category domain model of ext:news

Editing events is very slow having a huge amount of registrations. Can this be fixed?

Short answer: No, not really. For TCA inline fields, TYPO3 will load all data before opening the records in the backend. So having an event with 1500 registrations will actually load all registrations before showing the edit form for the event in the TYPO3 backend. Note, that just disabling the field "registration" by TCA will not work, since TYPO3 will load the data anyway.

In order to make it at least possible to edit the event data, the extension makes it possible to hide all registration inline fields and prevent TYPO3 from loading all data when a configurable limit of registrations is reached per event.

Please refer to section Extension settings for available options.

How can I show and browse the event calendar by weeks?

The calendar view is able to show events by week or by month. The default template contains the markup for the month view including links to browse to the previous and next month.

In order to show events by week, it is recommended to create a new template layout for the calendar view and next to use the fluid variable {weekConfig} to show events for the current week and to create previous and next week links. The default template includes an example, which is surrounded by <f:comment>