[TYPO3-german] Extbase und Plugin Flexform

JCL - Johannes C. Laxander jc at laxander.com
Mon Nov 18 20:25:37 CET 2013


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.



More information about the TYPO3-german mailing list