[TYPO3-english] TYPO3 8.7 and Flexform
Christian Platt
christian.platt at pharmaline.de
Fri Feb 14 06:26:24 CET 2020
Hi Christian
your are right. In 8.7 also the extensionbuilder creates in Configuration/TCA/Overrides/…
from my test Extension:
$pluginSignature = str_replace('_', '', 'test') . '_fwplugin';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:phtest/Configuration/FlexForms/flexform_fwplugin.xml');
Christian
> Am 13.02.2020 um 21:54 schrieb Christian Tauscher <christian.tauscher at media-distillery.de>:
>
> Am 15.01.2019 um 13:40 schrieb jeppe at donslund.net:
>> Hi
>>
>> I can seem to find a working tutorial on how to use Flexform in TYPO3 8.7.
>> ...
>
> I stuck at the same point but found the solution:
>
> In TCA/Overrides/tx_my_domainmodel_mytable.php:
>
> $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['my_pluigin']
> = 'pi_flexform';
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
> // plugin signature: <extension key without underscores> '_' <plugin
> name in lowercase>
> 'my_plugin',
> // Flexform configuration schema file
> 'FILE:EXT:my/Configuration/FlexForms/flexform_show.xml'
> );
>
>
> Yepp?
>
>
> Christian.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list