This extensions makes it possible to modify the TCA of container children elements

Overview

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:

    TCEFORM.tt_content.container {
        ... {
            # currently supported is only:
            required = 1
            disabled = 1
        }

        # Instead of  and  also "_all" is valid
    }

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
TCEFORM.tt_content.container {
  b13-2cols-with-header-container {
    _all {
      _all {
        header_link.disabled = 1
      }
      text {
        header.disabled = 1
      }
    }
  }
}

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
TCEFORM.tt_content.container {
  b13-2cols-with-header-container {
   200 {
      header {
        header.required = 1
      }
    }
  }
}

You might also like...
Application with SQL Injection vulnerability and possible privilege escalation
Application with SQL Injection vulnerability and possible privilege escalation

Application with SQL Injection vulnerability and possible privilege escalation. Free vulnerable app for ethical hacking / penetration testing training.

Nuber is an open source container management platform it provides a front end to manage your own cloud infrastructure, using Linux Containers virtualization technology

Nuber is an open source container management platform it provides a front end to manage your own cloud infrastructure, using Linux Containers virtualization technology

CDK patterns for serverless container with AWS Fargate

cdk-fargate-patterns CDK patterns for serverless container with AWS Fargate DualAlbFargateService Inspired by Vijay Menon from the AWS blog post intro

Um container colaborativo de inteligência artificial para análise de ativos da b3

B3 Analyser Um container colaborativo de inteligência artificial para análise de ativos da b3 Como colaborar? Faça um FORK do projeto, isto é, copiar

Lumen on Docker - Skeleton project with Nginx, MySQL & PHP 8 | Aws ECS, Google Kubernates, Azure Container Engine

Docker infrastructure for Lumen Description Microservice Lumen is a starting skeleton based on Docker and Lumen Framework. This project helps to devel

Preferences are configuration variables that are user-managed for which we cannot rely upon container parameters or environment variables.

Preferences Preferences are configuration variables that are meant to be user managed for which we cannot rely upon container parameters or environmen

Container Open Inventory ID send bug fix PocketMine-MP plugin

ContainerOpenFixed Container Open Inventory ID send bug fix PocketMine-MP plugin Example use skh6075\containeropenfixed\IWindowType; use pocketmine\ne

Hachkathon DevOps - Deploy application with docker container
Hachkathon DevOps - Deploy application with docker container

Hackathon-Semesta-DevOps Nama : Islam Nurul Yakin Mail : [email protected] Sebuah Web Server menggunakan Nginx, PHP, dan MySQl di tambah dengan p

RRR makes structured data for WordPress really rich, and really easy.
RRR makes structured data for WordPress really rich, and really easy.

Really Rich Results - JSON-LD Structured Data (Google Rich Results) for WordPress Search engines are putting more weight on structured data than ever

Comments
  • Add new option: fixedItemValue

    Add new option: fixedItemValue

    new option: 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 to Hidden [100]. In accordion, field "header" is used for accordion header and shouldn't be displayed in content block
    • the space_before_class is set to small (=> example for string values)
    TCEFORM.tt_content.container {
      accordion.101._all {
        header_layout {
          fixedItemValue = 100
        }
        space_before_class {
          fixedItemValue = small
        }
      }
    }
    
    opened by aschmutt 0
Releases(1.0.2)
Owner
Georg Ringer
Georg Ringer
This Statamic addon allows you to modify the tags rendered by the Bard fieldtype, giving you full control over the final HTML.

Bard Mutator This Statamic addon allows you to modify the tags rendered by the Bard fieldtype, giving you full control over the final HTML. You can ad

Jack Sleight 10 Sep 26, 2022
Enables developers to modify Magento installations (configuration, data) based on the given environment using n98-magerun.

Enables developers to modify Magento installations (configuration, data) based on the given environment using n98-magerun.

LimeSoda Interactive Marketing GmbH 73 Apr 1, 2022
Declaratively specify how to extract elements from a JSON document, in PHP

jmespath.php JMESPath (pronounced "jaymz path") allows you to declaratively specify how to extract elements from a JSON document. jmespath.php allows

null 1.7k Dec 30, 2022
Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

TinyTidy for SilverStripe This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control whic

Jono Menz 30 Jul 30, 2020
GDPR compliant TYPO3 content elements which work great with PIWIK Consent Manager.

PIWIK Consent Manager TYPO3 extension PIWIK Consent Manager integration in order to make TYPO3 content elements GDPR compliant. You can click on the i

null 6 Aug 8, 2022
🎨 Free custom elements for the WordPress Theme Bricks Builder.

?? Custom Elements for Bricks Builder Free custom elements for Bricks, the visual site builder for WordPress. If you find the elements useful, click o

Simon Vidman 33 Dec 13, 2022
Execute time consuming tasks as late as possible in a request

Procrastinator for PHP: do stuff later A few classes to help you executing complicated tasks (like sending mails) later. Example using fastcgi_finish_

Lars Strojny 62 Apr 29, 2021
Deploying K3s to hetzner in the most ridiculous way possible: KISS

Deploying K3s to hetzner in the most ridiculous way possible: Keep it simply stupid. WTF is this? After experimenting with a few managed k8s installat

Rob Landers 3 May 31, 2022
Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.

Admidio Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it

Admidio 212 Dec 30, 2022
An all-in-one package with the minimum third-party requirements to get started as quickly as possible with Pokemod Atlas

Pokemod Atlas All-In-One An all-in-one package with the minimum third-party requirements to get started as quickly as possible with Pokemod Atlas. ❤️

Pokemod 12 Oct 10, 2022