Download the PHP package fanor51/headless-container-support without Composer
On this page you can find all versions of the php package fanor51/headless-container-support. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fanor51/headless-container-support
More information about fanor51/headless-container-support
Files in fanor51/headless-container-support
Package headless-container-support
Short Description Extension that adds container support for TYPO3 Headless extension
License GPL-3.0-or-later
Informations about the package headless-container-support
Headless Container Support (For TYPO3 v11/v12/v13)
Install
Install as any other extension:
- Composer:
composer require fanor51/headless-container-support
| TYPO3 Version | v11 | v12 | v13 |
|---|---|---|---|
| This Version | 2.* | 3.* | ^3.2 |
Use
Take a look into Example/TypoScript/Container/50_wrapper.typoscript there is an example on how to configure the container.
The special thing here is that we add a "new" data processor to the config. the processor is mainly the one from the container extension. Something was added only at the end
After this you need to overwrite the standard lib.content object with a where clause to exclude the "special" colPos´s from the container extension.
In this example we use the colPoses 201,202 and 203 for container contents which where setted in the container config under Configuration/TCA/Overrides/tt_content.php.
An example for this you can find here: Example/TCA/Overrides/tt_content.php
In the end it should look like this:
A complete json example is under: Docs/Json/Example.json
Customize
You can customize the names from the equivalent of the colPos in the TYPOSCRIPT like you need or want it.
Credits
The development of the extension was supported by the TYPO3 agency brandung GmbH.
All versions of headless-container-support with dependencies
typo3/cms-core Version ^11.5 || ^12.4 || ^13.4
b13/container Version ^1.6 || ^2.0 || ^3.0
friendsoftypo3/headless Version ^3.0 || ^4.0 || dev-master