TYPO3CMS-Reference-CoreApi icon indicating copy to clipboard operation
TYPO3CMS-Reference-CoreApi copied to clipboard

Extension configuration is missing flexform registration

Open cweiske opened this issue 1 year ago • 4 comments

Current behavior

The "Extension configuration" documentation talks about flexforms and how its data can be used, but not how they must be registered to appear in the plugin element configuration.

Expected behavior/output

Code example how to register flexform for a plugin

Links

https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/HowTo/Configuration.html#flexforms

TYPO3 versions

12

cweiske avatar Jan 04 '24 09:01 cweiske

Thanks for catching this, would you like to propose a PR?

linawolf avatar Apr 27 '24 09:04 linawolf

Nope.

cweiske avatar Apr 28 '24 18:04 cweiske

It is documented: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/FlexForms/Index.html#steps-to-perform-extension-developer Maybe, just a link has to be added.

brotkrueml avatar Apr 28 '24 18:04 brotkrueml

I would remove the example in the section Flexforms in https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/HowTo/Configuration.html#flexforms instead. That part is just a stub, the more complete documentation is in https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/FlexForms/Index.html#flexforms

I think if we add more information to that section, we effectively start documenting flexforms in 2 places.

Suggestion:

  • remove the example https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/HowTo/Configuration.html#example and keep that part slim
  • make the link to https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/FlexForms/Index.html#flexforms more prominent

sypets avatar May 19 '24 07:05 sypets