Configuration
Changing paths of the templates
Please do never change templates directly in the Ressources folder of the extensions, since your changes will get overwritten by extension updates.
The easiest way to override templates is to set the following constants:
plugin.vek_ event_ extensions. view. template Root Path plugin.vek_ event_ extensions. view. partial Root Path plugin.vek_ event_ extensions. view. layout Root Path
Those values will automatically be added after the default paths configuration of the extension. If you prefer to configure the path-values using TypoScript setup, please refer to the example below (note the plural of the path-name):
plugin.vek_event_extensions {
view {
templateRootPaths {
3 = EXT:sitepackage/Resources/Private/Extensions/EventExtensions/Templates/
}
partialRootPaths {
3 = EXT:sitepackage/Resources/Private/Extensions/EventExtensions/Partials/
}
layoutRootPaths {
3 = EXT:sitepackage/Resources/Private/Extensions/EventExtensions/Layouts/
}
}
}
Doing so, you can just override single files from the original templates.
Adjust registration template only via TS constants
In case you just want to override the registration template, you can also use the following constants:
module.vek_ event_ extensions. settings. certificate. template Path module.vek_ event_ extensions. settings. certificate. stamp Image Path
Those constants allow you to set a custom template file and a custom stamp image. Example:
EXT:sitepackage/Resources/Private/Extensions/EventExtensions/Templates/Certificate/CustomTemplate.html EXT:sitepackage/Resources/Public/Images/CustomStamp.png
Using the remaining constants you can adjust the sender names, email addresses and subject lines for the respective emails. They should be self-explanatory.
If no sender name or email address is provided, the notification mail settings from sf_ will be used.
If no subject line is set, emails will not be sent.
Rootpage UID for email links in scheduler task
To set the rootpage UID of your site for sending emails via scheduler task, please set the following constant:
plugin.vek_ event_ extensions. settings. cli Site Page Uid
If no value is set, the UID "1" will be used.