[TYPO3-english] TYPO3-english Digest, Vol 184, Issue 2

jeppe at donslund.net jeppe at donslund.net
Thu Jan 17 09:03:25 CET 2019


Hi Birgit

I think I need a little more help.

I guess I am getting confused about what is exntension key, exentsion 
name and plugin name, so maybe I am not using the right names in the 
code.
Can I find it somewhere?

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
	'Originalen.BefMembers',
	'Medlemsliste',
	'Medlemsliste'
);

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['befmembers_befmedlemsliste'] 
= 'select_key,pages,recursive';
// ['brfeedback_feedback‘] = extensionname_pluginname

$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['befmembers_befmedlemsliste'] 
= 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('befmembers_befmedlemsliste', 
'FILE:EXT:befmembers/Configuration/FlexForms/flexform.xml');


Jeppe




Birgit skrev den 16.01.2019 16:59:
> Hi Jeppe,
> 
> this is a sample configuration for TYPO3 8.7.x:
> 
> 
> File:
> EXT:br_feedback/Configuration/TCA/Overrides/tt_content.php
> 
> 
> \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
>     'BR.BrFeedback',
>     'Feedback',
>     'Feedback'
> );
> 
>     /**
>      * Include Flexform
>      */
> 
> $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['brfeedback_feedback']
> = 'select_key,pages,recursive‘;  // ['brfeedback_feedback‘] =
> extensionname_pluginname
> 
> $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['brfeedback_feedback']
> = 'pi_flexform';
> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('brfeedback_feedback',
> 'FILE:EXT:br_feedback/Configuration/FlexForms/flexform_feedback_list.xml‘);
> 
> 
> Best regards
> Birgit
> 
> 
> 
>> Am 16.01.2019 um 13:56 schrieb jeppe at donslund.net:
>> 
>> Unfortunately no. I have a copy of the flexform.xml in boht places.
>> 
>> 
>> Regards
>> Jeppe
>> 
>> 
>> David Bruchmann skrev den 16.01.2019 13:04:
>>> Is it possible that the file-path is just wrong?
>>> Instead of this:
>>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature,
>>> 'FILE:EXT:'.$_EXTKEY.'/Configuration/flexform.xml');
>>> it could be like this:
>>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature,
>>> 'FILE:EXT:'.$_EXTKEY.'/Configuration/FlexForms/flexform.xml');
>>> On Wed, Jan 16, 2019 at 6:00 PM 
>>> <typo3-english-request at lists.typo3.org>
>>> wrote:
>>>> Send TYPO3-english mailing list submissions to
>>>>        typo3-english at lists.typo3.org
>>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>>        http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>> or, via email, send a message with subject or body 'help' to
>>>>        typo3-english-request at lists.typo3.org
>>>> You can reach the person managing the list at
>>>>        typo3-english-owner at lists.typo3.org
>>>> When replying, please edit your Subject line so it is more specific
>>>> than "Re: Contents of TYPO3-english digest..."
>>>> Today's Topics:
>>>>   1. TYPO3 8.7 and Flexform (jeppe at donslund.net)
>>>> ----------------------------------------------------------------------
>>>> Message: 1
>>>> Date: Tue, 15 Jan 2019 13:40:22 +0100
>>>> From: jeppe at donslund.net
>>>> Subject: [TYPO3-english] TYPO3 8.7 and Flexform
>>>> To: Typo3 english <typo3-english at lists.typo3.org>
>>>> Message-ID:
>>>>        <mailman.7802.1547556043.712.typo3-english at lists.typo3.org>
>>>> Content-Type: text/plain; charset=US-ASCII; format=flowed
>>>> Hi
>>>> I can seem to find a working tutorial on how to use Flexform in 
>>>> TYPO3
>>>> 8.7.
>>>> I have tried with this:
>>>> $extensionName =
>>>> \TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($_EXTKEY);
>>>> $frontendpluginName = 'BEF Members';
>>>> $pluginSignature =
>>>> strtolower($extensionName).'_'.strtolower($frontendpluginName);
>>>> $TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature]
>>>> = 'pi_flexform';
>>>> \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature,
>>>> 'FILE:EXT:'.$_EXTKEY.'/Configuration/flexform.xml');
>>>> But the flexfrom doesn't show up.
>>>> Can anyone help me?
>>>> Regards
>>>> Jeppe Donslund
>>>> ------------------------------
>>>> _______________________________________________
>>>> TYPO3-english mailing list
>>>> TYPO3-english at lists.typo3.org
>>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>>> End of TYPO3-english Digest, Vol 184, Issue 2
>>>> *********************************************
>>> _______________________________________________
>>> TYPO3-english mailing list
>>> TYPO3-english at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list