t3g / editors-choice
Improvements for TYPO3 Editors
Installs: 13 359
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 7
Forks: 0
Open Issues: 0
Type:typo3-cms-extension
Requires
- typo3/cms-backend: ^8.7 || ^9.5 || ^10.4
- typo3/cms-core: ^8.7 || ^9.5 || ^10.4
- typo3/cms-fluid: ^8.7 || ^9.5 || ^10.4
Requires (Dev)
- bk2k/bootstrap-package: *
- bk2k/extension-helper: ^1.0
- friendsofphp/php-cs-fixer: ^2.14
- overtrue/phplint: ^1.1
- roave/security-advisories: dev-master
- typo3/testing-framework: ^2 || ^4.9 || ^5.0 || ^6.2
This package is auto-updated.
Last update: 2024-11-24 20:20:51 UTC
README
This extension is meant to provide improvements for TYPO3. It is used as an incubator of possible future TYPO3 Core Features.
Features
Show references
- If a content element is referenced by insert records or a translation this will be shown above the content element (in edit view)
- If a page is used by another via 'show content from this page' it will be shown above the page element (in edit view)
Dereference element in Page module
The content element "Insert records" in page module shows the list of referenced elements. This is extended, the context menu on single items now contains a "detach" menu entry. On click, the selected element is "dereferenced": The original referenced content element is copied below the "Insert records" element, and the reference from the "Insert record" element is removed.
Insert records element allows only content elements having a flag set
The suggest wizard of "Insert records" content element is configured to only allow selection of records that have flag "Allow as insert record element" in "Access" tab selected.
Showing this checkbox for a sub-part of the tree only can be done with pageTsConfig by adding "TCEFORM.tt_content.enable_reference.disabled = 1" globally and "TCEFORM.tt_content.enable_reference.disabled = 0" to the page tree section with according content element pool.
Note if multiple different records types additonal to tt_content are configured to be allowed as "Insert records" record (eg. records from ext:news), the DB field and TCA configuration "enable_reference" must be added to those tables too, otherwise an SQL error is raised and the suggest wizards shows no results.
Open Issues
- Make flag for referencing optional