Something is still wrong

I can select "BEF Medlemsliste 3" as a plugin in TYPO3, but no flexform is showing.

\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
        'Originalen.BEFMembers',
        'BEF Medlemsliste 2',
        'BEF Medlemsliste 3'
);

$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 17.01.2019 09:55:
Hi Jeppe,

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

try: ['befmembers_medlemsliste‘],
clear all caches and and typo3temp/

Clear all flexform configurations in your_extension/ext_tables.php and
your_extension/ext_localconf.php


Best regards Birgit



Am 17.01.2019 um 09:03 schrieb [email protected]:

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 [email protected]:
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 <[email protected]>
wrote:
Send TYPO3-english mailing list submissions to
      [email protected]
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
      [email protected]
You can reach the person managing the list at
      [email protected]
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 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Tue, 15 Jan 2019 13:40:22 +0100
From: [email protected]
Subject: [TYPO3-english] TYPO3 8.7 and Flexform
To: Typo3 english <[email protected]>
Message-ID:
      <[email protected]>
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
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
End of TYPO3-english Digest, Vol 184, Issue 2
*********************************************
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to