TYPO3 has the function TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes()
to add or replace one or more fields to the BE form of a record.
How can we remove fields?
(replacing by ''
does not work)
Explanation:
Its about hiding some fields in tt_content
for some CType
s only.
In the past we did it by overwriting the complete value. But with the upgrade from 6.2LTS to 8LTS we run into problems as the default labels have changed (pathes to the language files) and so some labels become lost in the BE, which was noticed very late.
Now I want a clean way to remove single fields so that the definition of the remaining fields stays clean with the default values from core (or other extensions).
Other extensiosn which add their own fields also are a problem if the value is set with a static string: these fields are also removed.
TCEFORM.tt_content.[field].types.[CType].disabled = 1
. – Larva