[TYPO3-german] Extbase für Typo 4.7

Andreas Freund andfriend23 at gmail.com
Mon Jun 30 17:34:59 CEST 2014


Hallo Stefan,

habe das hier folgendermaßen umgesetzt:

$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature]
= 'layout,recursive,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature]
= 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY .
'/Configuration/FlexForms/flexform_ds_pi1.xml');

Vorausgesetzt PluginName ist pi1...hilft dir das Beispiel weiter?

Gruß,
Andi



2014-06-30 17:11 GMT+02:00 Stefan Padberg <post at bergische-webschmiede.de>:

> 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
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
>


More information about the TYPO3-german mailing list