Task #12433
Story #28393: As an extension developer I want to add FlexForms to my extension plugins
As a developer I want an option to add and register example FlexForm
| Status: | New | Start date: | ||
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Remaining hours | ||||
| Votes: | 1 (View) |
History
Updated by Rens Admiraal over 2 years ago
- Status changed from New to Accepted
Updated by Steffen Müller almost 2 years ago
- Subject changed from FlexForms: - Fix registration code if there's an underscore in the extension key - Provide example FlexForm - Add 'add flexform' checkbox to the plugin to Add example FlexForm
- Status changed from Accepted to New
- Assignee deleted (
Rens Admiraal) - Target version deleted (
Sprint 1 (UI / Roundtripping)) - Parent task changed from #11986 to #28393
OK, now I got it: This issue is about implementing flexform support
A basic implementation would need three steps:
1. Register Flexform in the plugin
This refers to: /Resources/Private/CodeTemplates/Extbase/extTables.sqlt
//$pluginSignature = str_replace('_','',$_EXTKEY) . '_' . {plugin.key};
//$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
//t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_' .{plugin.key}. '.xml');
Handling of the underscore has to be taken into account.
2. Provide example FlexForm
/Configuration/FlexForms/flexform_' .{plugin.key}. '.xml'
3. Add 'add example flexform' checkbox to the plugin section of the extension builder gui.
A more advanced implementation would allow the extension developer to create, update and delete individual flexform fields for each plugin.
Updated by Steffen Müller almost 2 years ago
- Subject changed from Add example FlexForm to Create an option to add and register example FlexForm
Updated by Nico de Haen over 1 year ago
- Tracker changed from Task to Story
- Subject changed from Create an option to add and register example FlexForm to As a developer I want an option to add and register example FlexForm
- Target version set to 2.2