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
> <[email protected]>:
>
> Am 15.01.2019 um 13:40 schrieb [email protected]:
>> 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
> [email protected]
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english