Project

General

Profile

Actions

Feature #34711

closed

Insert hook into form wizard to enable loading configuration of custom form extensions

Added by Franz Geiger over 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2012-03-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

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.

Actions

Also available in: Atom PDF