Feature #91077
closedDefine default page for Record selector / ElementBrowser
100%
Description
When using a type=group
/ internal_type=db
TCA field you get a separate button for each allowed table that allows you to open the Record selector searching for that specific record type. If you have a (main) storage folder for a certain record type it would be convenient for editors if the Record selector loads with that page opened.
If for example your contact records are on pid=370
you should be able to configure this in your TCA, so that the Record selector opens with page 370 preselected when the user wants to select for a contact record.
I did a quick proof of concept for which I attach a patch file based on TYPO3 8.7.
The configuration works like this (myfield
being a type=group
/ internal_type=db
field):
$GLOBALS['TCA']['tx_myext_mytable']['columns']['myfield']['config']['defaultStorageFolders'] = ['tt_address' => 370]
Files
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72911
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72911
Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72911
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72911
Updated by Gerrit Code Review over 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72911
Updated by Oliver Bartsch over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6053476ccdeb997188842d018d73f86f68fefc00.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73008
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73008
Updated by Oliver Bartsch over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5e2c6848932b03c331077b020b3873792bfe3f6c.
Updated by Benni Mack almost 2 years ago
- Status changed from Resolved to Closed