[TYPO3-german] Extbase für Typo 4.7

Stefan Padberg post at bergische-webschmiede.de
Mon Jun 30 16:09:34 CEST 2014


Um ein Flexform für ein Plugin zu registrieren, schreibt man unter 
Typo3/Extbase 6.1:

$extensionName = 
strtolower(\TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($_EXTKEY));

$pluginName = strtolower('List');
$pluginSignature = $extensionName.'_'.$pluginName;
$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/flexform_'.$pluginName.'.xml');

Wie muss man das für Typo3 4.7 abwandeln? Ich finde das nicht mehr im Netz.

Gruß
Stefan Padberg

---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv.
http://www.avast.com



More information about the TYPO3-german mailing list