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/.

To override the standard clubmanager templates with your own you can use the TypoScript constants to set the paths:

TypoScript constants
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
   }
}
Copied!

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.