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:
and the partials in EXT:
. Never change
these templates directly!
To override the standard maagitproduct templates with your own you can use the TypoScript constants to set the paths:
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/
}
}
Add these lines to the file
EXT:
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.