Feature #97821
closedOption to configure Default Icons / Additional Icons in File List
100%
Description
Small Change but great Effect. It would be great if we could configure the Icons that are displayed in the list view by Standard or on Click "...".
Problem is that many users do not recognize the Replace button in the additional options which is very important for correct FAL use.
Change would look something like this:
In user(group) tsconfig set up something like this:
options.file_list.defaultIcons = view,metadata,copy,cut,translations,delete
typo3/sysext/filelist/Classes/FileList.php Line 1129
OLD:
if (in_array($key, ['view', 'metadata', 'translations', 'delete'])) { $output .= $action; continue; }
NEW:
foreach ($cells as $key => $action) { $defaultIcons = array('view', 'metadata', 'translations', 'delete'); $userTsConfig = $GLOBALS['BE_USER']->getTSConfig(); if($userTsConfig['options.']['file_list.']['defaultIcons']) { $defaultIcons =explode(",", $userTsConfig['options.']['file_list.']['defaultIcons']) ; $defaultIcons = array_map('trim', $defaultIcons); } if (in_array($key, $defaultIcons )) { $output .= $action; continue; }
Updated by Georg Ringer over 2 years ago
- Description updated (diff)
- Target version changed from next-patchlevel to Candidate for Major Version
Updated by Gerrit Code Review about 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/+/75606
Updated by Gerrit Code Review about 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/+/75606
Updated by Gerrit Code Review about 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/+/75606
Updated by Gerrit Code Review about 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/+/75606
Updated by Gerrit Code Review about 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/+/75606
Updated by Gerrit Code Review about 2 years ago
Patch set 6 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/+/75606
Updated by Gerrit Code Review about 2 years ago
Patch set 7 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/+/75606
Updated by Gerrit Code Review about 2 years ago
Patch set 8 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/+/75606
Updated by Shehfinaz Kadavil about 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 2ac5966b4f4e1366148ab1823ee3d2306ed2b9a2.