#89708Allow other tables than "pages" or "tt_content" in Typo3WinBrowserEditor
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.