[TYPO3-german] Extbase für Typo 4.7

Stefan Padberg post at bergische-webschmiede.de
Mon Jun 30 17:11:59 CEST 2014


Hallo,

ich habe das für Typo3 4.7. so abgewandelt:

$extensionName = strtolower($_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';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:'.$_EXTKEY 
. '/Configuration/FlexForms/flexform_'.$pluginName.'.xml');

Aber ich bekomme kein Flexform zu sehen. Habe ich noch etwas vergessen? 
Funktioniert 't3lib_extMgm::addPiFlexFormValue' auch mit Extbase?

Beste Grüße
Stefan Padberg


Am 30.06.2014 16:09, schrieb Stefan Padberg:
> 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
>


---
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