Download the PHP package georgringer/container-modify-fields without Composer
On this page you can find all versions of the php package georgringer/container-modify-fields. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download georgringer/container-modify-fields
More information about georgringer/container-modify-fields
Files in georgringer/container-modify-fields
Package container-modify-fields
Short Description Manipulate content elements which are children inside a EXT:container container
License GPL-2.0-or-later
Homepage https://github.com/georgringer/container_modify_fields
Informations about the package container-modify-fields
TYPO3 Extension container_modify_fields
This extensions makes it possible to modify the TCA of container children elements.
Examples:
- The content element "text" shouldn't have a field "header_link" if inside a container
- The header of content element "header" must be required if in colPos "100" of a container.
Usage:
Install with composer req georgringer/container-modify-fields
.
Configuration
The configuration must be done in PageTsConfig with the following syntax:
Example 1
The behaviour of elements inside container "b13-2cols-with-header-container" is changed:
- All elements: No header_link field
- Element "text": No header field
Example 2
The behaviour of elements inside container "b13-2cols-with-header-container" is changed:
- The header element inside colPos "200" is set to required
Example 3: fixedItemValue
This setting works only with select items: all other items are removed, so its value can't be changed any more.
The behaviour of all elements inside accordion container is changed:
- the
header_layout
is set toHidden [100]
. In accordion, field "header" is used for accordion header and shouldn't be displayed in content block- the
space_before_class
is set tosmall
(=> example for string values)