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 #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

Updated by Franz Geiger over 12 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF