[TYPO3-german] Flexform switchableControllerActions anders bei T3 6.1?
g4-lisz at tonarchiv.ch
g4-lisz at tonarchiv.ch
Thu Sep 12 19:36:41 CEST 2013
Guten Abend,
ich versuche für meine Extension die Standardaktion des Plugins via Flexform einstellbar zu machen, so wie dies unter 4.x ging:
Im ext_tables.php:
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
$_EXTKEY,
'Frontend',
'StandardApp FE'
);
$pluginSignature = str_replace('_','',$_EXTKEY) . '_' . frontend;
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_' .frontend.
'.xml');
Und das Configuration/FlexForms/flexform_frontend.xml:
<T3DataStructure>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Verhalten</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<switchableControllerActions>
<TCEforms>
<label>Standardaktion des Plugins</label>
<config>
<type>select</type>
<items>
<numIndex index="0">
<numIndex index="0">News Create</numIndex>
<numIndex index="1">News->new</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">News List</numIndex>
<numIndex index="1">News->list</numIndex>
</numIndex>
<numIndex index="2">
<numIndex index="0">Messages Create</numIndex>
<numIndex index="1">Message->new</numIndex>
</numIndex>
<numIndex index="3">
<numIndex index="0">Messages List</numIndex>
<numIndex index="1">Message->list</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</switchableControllerActions>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
Habe ich irgend was übersehen, oder klappt das bei 6.1 nicht mehr auf diese Art?
Grüße,
Till
More information about the TYPO3-german
mailing list