[TYPO3-dev] Plugin Config Flexform

Roman Pretory roman at pretory.at
Wed Mar 16 10:59:50 CET 2016


Hi

I use 7.6.LTS and want to create a plugin config Flexform .

What I did without sucess :

/typo3conf/ext/check_dns/Configuration/TCA/Overrides/tt_content.php
<?php

$pluginSignature = 'check_dns';
$Globals['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:check_dns/Configuration/FlexForms/ff_check_dns.xml');

/typo3conf/ext/check_dns/Configuration/Flexforms/ff_check_dns.xml
<T3DataStructure>
    <sheets>
        <sDef>
            <ROOT>
                <TCEforms>
                    <sheetTitle>Test Bla Bla</sheetTitle>
                </TCEforms>
                <type>array</type>
                <el>
                     <settings.header> 
                        <TCEforms>
                            <label>xyz</label>
                        <config>
                            <type>input</type>
                            <eval>trim</eval>
                        </config>
                        </TCEforms>
                </settings.header> 
            </el>        
        </ROOT>
    </sDef>    
    </sheets>    
</T3DataStructure>

Clear cache, reinstall Plugin... no flexform.. why?

Thanks & Best Regards Roman






More information about the TYPO3-dev mailing list