xima-media / xm-viewhelper
Collection of TYPO3 ViewHelper by XIMA MEDIA GmbH
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 13
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: >=7.2.0
- typo3/cms-core: ^10.0
Requires (Dev)
- typo3/testing-framework: ^4.9 || ^5.0
Replaces
- typo3-ter/xm-viewhelper: v3.1.1
- xima-media/xm-viewhelper: v3.1.1
README
Collection of ViewHelper for the TYPO3 CMS created by XIMA MEDIA GmbH.
Installation
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
Namespace
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">
Configuration
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 {
}
}
}
}
Documentation
The repository Wiki contains a list of available ViewHelpers and detailed descriptions of their purpose and use.