Download the PHP package netzbewegung/nb-headless-content-blocks without Composer
On this page you can find all versions of the php package netzbewegung/nb-headless-content-blocks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download netzbewegung/nb-headless-content-blocks
More information about netzbewegung/nb-headless-content-blocks
Files in netzbewegung/nb-headless-content-blocks
Package nb-headless-content-blocks
Short Description Connects together EXT:headless and EXT:content_block
License GPL-2.0-or-later
Informations about the package nb-headless-content-blocks
TYPO3 Extension EXT:nb_headless_content_blocks
Connects together EXT:headless (friendsoftypo3/headless) and EXT:content_blocks (friendsoftypo3/content-blocks)
TYPO3 Installation
Install extension using composer
composer require netzbewegung/nb_headless_content_blocks
and then, include Site Set "Headless Content Blocks", and you are ready to go.
Features
- Converts all complex objects into an array without extra configuration
- Richtext fields are automaticly converted via
parseFunc($value, null, '< lib.parseFunc_RTE') - Additional thumbnails can be created via headless.php per Content Block
- Support for EXT:container
Custom Configuration per Content Block Type
Create headless.php inside each Content Block.
your_extension/ContentBlocks/ContentElements/your-content-block-element/headless.php
Additional Data via Sub DataProcessing
Custom Configuration per FieldType/FieldName/TCA-Configuration in ArrayRecursiveToArray via PSR-14 Event
Create a PSR-14 Event Listener in your extension.
Use $event->setProcessedValue($yourModifiedValueForThisField) to handle the value for specific fields.
Any unhandled fields will fall back to the default processing.
Custom Configuration for EXT:container (b13/container)
TypoScript Setup
left/right parallel to data
left/right inside data (via Sub DataProcessing)
All versions of nb-headless-content-blocks with dependencies
friendsoftypo3/content-blocks Version ^1.2.3 || ^2.0
friendsoftypo3/headless Version ^4.5 || ^5.0 || dev-master