On 12.09.2013 19:36, g4-l...@tonarchiv.ch wrote:
> Guten Abend,
>
> ich versuche für meine Extension die Standardaktion des Plugins via Flexform
> einstellbar zu machen, so wie dies unter 4.x ging:
>
> Im ext_tables.php:
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
> $_EXTKEY,
> 'Frontend',
> 'StandardApp FE'
> );
> $pluginSignature = str_replace('_','',$_EXTKEY) . '_' . frontend;
> $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] =
> 'pi_flexform';
> t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY .
> '/Configuration/FlexForms/flexform_' .frontend.
> '.xml');
>
> Und das Configuration/FlexForms/flexform_frontend.xml:
>
>
>
>
>
>
> Verhalten
>
> array
>
>
>
> Standardaktion des Plugins
>
> select
>
>
> News Create
> News->new
>
>
> News List
> News->list
>
>
> Messages Create
> Message->new
>
>
> Messages List
> Message->list
>
>
>
>
>
>
>
>
>
>
>
> Habe ich irgend was übersehen, oder klappt das bei 6.1 nicht mehr auf diese
> Art?
>
> Grüße,
> Till
Ok, hab's gefunden:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(...)
muss es sein!
Nun klappt alles.
Grüße,
Till
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german