Quick templating in Fluid

EXT:maagitproduct is using Fluid as templating engine. If you are not experienced with Fluid yet you can read more about it in the chapter templatingstart.

Copy the Fluid templates that you want to adjust to your templatingsitepackage.

You find the original templates in EXT:maagitproduct/Resources/Private/Templates/ and the partials in EXT:maagitproduct/Resources/Private/Partials/. Never change these templates directly!

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

TypoScript constants
plugin.tx_maagitproduct {
   view {
      templateRootPath = EXT:mysitepackage/Resources/Private/Extensions/Maagitproduct/Templates/
      partialRootPath = EXT:mysitepackage/Resources/Private/Extensions/Maagitproduct/Partials/
      layoutRootPath = EXT:mysitepackage/Resources/Private/Extensions/Maagitproduct/Layouts/
   }
}
Copied!

Add these lines to the file EXT:mysitepackage/Configuration/TypoScript/constants.typoscript in your sitepackage.

EXT:maagitproduct provides a couple of specific Fluid viewhelpersreference. Of course all ViewHelpers provided by TYPO3 can be used as well.

In the tutorial section there are many templatingexamples.