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

v3.1.1 2021-03-04 06:52 UTC

This package is auto-updated.

Last update: 2024-10-30 01:40:07 UTC


README

ddev logo

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.