Project

General

Profile

Actions

Feature #89708

closed

Allow other tables than "pages" or "tt_content" in Typo3WinBrowserEditor

Added by Christian Eßl over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Category:
Form Framework
Target version:
-
Start date:
2019-11-22
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint

Description

Currently, the "Typo3WinBrowserEditor" only supports adding tables of "tt_content" and "pages". (This is hardcoded in JavaScript). It would be a very helpful feature, to allow for configuring other tables to be available in the Typo3WinBrowserEditor.
To allow for this, the following changes would have to be made:

  • Adjust the assert function in InspectorComponent.js::renderTypo3WinBrowserEditor(). This is currently hardcoded to either "tt_content" or "pages"
  • When selecting an element in the Window Browser, the input element will show the uid of this record. For a more userfriendly experience, it should be possible to configure the field that shall be shown instead in the YAML config. (like nav_title or title for "pages")
  • Inside "renderTypo3WinBrowserEditor", the icon for the "buttonLabel" is also hardcoded and would need to be configurable in YAML.
  • Possibility to hook in a DataProcessor for a form element in the frontend. (Don't know if it is already possible - didn't check that. But this could be a separate feature)

Subtasks 2 (0 open2 closed)

Task #89746: Make icon for record browser configurableClosedMathias Brodala2019-11-22

Actions
Task #89747: Allow custom tables in record browserClosedMathias Brodala2019-11-22

Actions
Actions

Also available in: Atom PDF