Collection of ViewHelper for the TYPO3 CMS created by XIMA MEDIA GmbH.
The installation is performed by Composer and is provided by Packagist.org.
{
"repositories": [
{
"type": "composer",
"url": "https://packagist.org/"
}
]
}
composer require xima-media/xm-viewhelper
The extension namespace needs to be added to a template before the available ViewHelper can be used. You can ommit the attribut data-namespace-typo3-fluid if you need the html tag to be rendered.
<html xmlns:xmvh="http://typo3.org/ns/Xima/XmViewhelper/ViewHelpers"
data-namespace-typo3-fluid="true">
The following TypoScript setup can be used to configure the corresponding ViewHelpers.
plugin.tx_xmviewhelper {
settings {
contentByContext {
partial2 = EXT:xm_viewhelper/Resources/Private/Partials/ContentByContext/Partial2.html
contexts {
}
}
}
}
The repository Wiki contains a list of available ViewHelpers and detailed descriptions of their purpose and use.