Quick templating in Fluid¶
EXT:clubmanager is using Fluid as templating engine. If you are not experienced with Fluid yet you can read more about it in the chapter Templates.
Copy the Fluid templates that you want to adjust to your sitepackage extension.
You find the original templates in EXT:clubmanager/Resources/Private/Templates/
and the partials in EXT:clubmanager/Resources/Private/Partials/
.
Important
Never change these templates directly!
To override the standard clubmanager templates with your own you can use the TypoScript constants to set the paths:
plugin.tx_clubmanager {
view {
templateRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Templates/
partialRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Partials/
layoutRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Layouts/
}
mailView {
templateRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Templates/Email
partialRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Partials/Email
layoutRootPath = EXT:mysitepackage/Resources/Private/Extensions/Clubmanager/Layouts/Email
}
}
Add these lines to the file
EXT:mysitepackage/Configuration/TypoScript/constants.typoscript
in your
sitepackage.
Of course all ViewHelpers provided by TYPO3 can be used.
Tip
For use with the ext:bootstrap_package v12.0.7 here you can find the most important constants to customize in your sitepackage:
EXT:clubmanager/Configuration/TypoScript/Bootstrap_package/constants.typoscript