Feature #34711
closedInsert hook into form wizard to enable loading configuration of custom form extensions
100%
Description
Issue #32701 made it possible to use custom postprocessors in the form extension. But these custom postprocessors can only be configured by typoscript for there is currently no way to load a configuration interface in the form wizard.
To load a configuration interface do:
(1) Register a Javascript class that extends TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.PostProcessor as xtype typo3-form-wizard-viewport-left-form-postprocessors-{customName}
(2) Configure PageTS to show the custom postprocessor by adding your postprocessors name to
mod.wizards.form.defaults.tabs.form.accordions.postProcessor.showPostProcessors
and configuring
mod.wizards.form.defaults.tabs.form.accordions.postProcessor.postProcessors.{customName}.showProperties
The second step is easily done, but to load the Javascript class, a hook in tx_form_View_Wizard_Wizard is necessary.
In tx_form_View_Wizard_Wizard->loadJavascript() additional Javascript files should be loadable.
Updated by Franz Geiger over 12 years ago
Hi,
if someone points me to documentation about writing a hook, I'll gladly implement this.
Regards,
Franz
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9559
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9559
Updated by Gerrit Code Review over 12 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9559
Updated by Gerrit Code Review over 12 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9559
Updated by Franz Geiger over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 53b78e3927bd09afca559f0787d8cd041c43c1d3.