JCL - Johannes C. Laxander
2013-11-18 19:25:37 UTC
Hallo,
nach dem Beislpiel von http://daniel.lienert.cc/blog/blog-post/2010/02/05/extbase-verwendeter-controller-action-per-flexform-konfigurierbar-machen/
habe ich in TYPO3 6.1. f?r meine Extension ein Flexform angelegt, bekomme aber im Plugin nichts angezeigt.
Die Extension habe ich mit dem Extension Builder erstellt. Ich habe auch schon mit
$pluginSignature = strtolower($extensionName);
getestet, funktioniert aber auch nicht.
Was ist an meiner Configuration noch falsch??
localconf.php
-------------
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'ABC.' . $_EXTKEY,
'MeineExtension',
ext_tables.php
--------------
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:'.$_EXTKEY.'/Configuration/FlexForms/ControllerActions.xml');
ControllerActions.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">Listenansicht</numIndex>
<numIndex index="1">Auto->list</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">Einzelansicht</numIndex>
<numIndex index="1">Auto->show</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</switchableControllerActions>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
Gru?, Johannes.
nach dem Beislpiel von http://daniel.lienert.cc/blog/blog-post/2010/02/05/extbase-verwendeter-controller-action-per-flexform-konfigurierbar-machen/
habe ich in TYPO3 6.1. f?r meine Extension ein Flexform angelegt, bekomme aber im Plugin nichts angezeigt.
Die Extension habe ich mit dem Extension Builder erstellt. Ich habe auch schon mit
$pluginSignature = strtolower($extensionName);
getestet, funktioniert aber auch nicht.
Was ist an meiner Configuration noch falsch??
localconf.php
-------------
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'ABC.' . $_EXTKEY,
'MeineExtension',
ext_tables.php
--------------
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:'.$_EXTKEY.'/Configuration/FlexForms/ControllerActions.xml');
ControllerActions.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">Listenansicht</numIndex>
<numIndex index="1">Auto->list</numIndex>
</numIndex>
<numIndex index="1">
<numIndex index="0">Einzelansicht</numIndex>
<numIndex index="1">Auto->show</numIndex>
</numIndex>
</items>
</config>
</TCEforms>
</switchableControllerActions>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
Gru?, Johannes.