[TYPO3-english] extbase/fluid extension as PLUGIN_TYPE_CONTENT_ELEMENT

Muriel le Pair typo3 at strangefruit.nl
Thu Jun 20 18:58:47 CEST 2013


On 20-06-13 18:01, Xavier Perseguers wrote:
> You are not looking for TCA form but for FlexForm...

Hi Xavier,

I tried to add a flexform, but when I change the plugin to 
PLUGIN_TYPE_CONTENT_ELEMENT it is no longer visible.

$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] 
= 'layout,select_key,pages';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 
'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 
'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexforms_be.xml');

--
kind regards,

Muriel le Pair



More information about the TYPO3-english mailing list