diff --git a/typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php b/typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php index 617957cf4669cce7655f15806094115534862cb9..e3cbc989550caf6b9c0310d744ff02cac07a6d48 100644 --- a/typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php +++ b/typo3/sysext/backend/Classes/Form/FieldWizard/RecordsOverview.php @@ -23,6 +23,7 @@ use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Imaging\Icon; use TYPO3\CMS\Core\Imaging\IconFactory; use TYPO3\CMS\Core\Localization\LanguageService; +use TYPO3\CMS\Core\Type\Bitmask\Permission; use TYPO3\CMS\Core\Utility\GeneralUtility; /** @@ -62,6 +63,8 @@ class RecordsOverview extends AbstractNode $selectedItem['table'], $selectedItem['uid'] ); + $pathToContainingPage = BackendUtility::getRecordPath($selectedItem['row']['pid'], $this->getBackendUserAuthentication()->getPagePermsClause(Permission::PAGE_SHOW), 0); + $recordsOverviewHtml[] = '<tr>'; $recordsOverviewHtml[] = '<td class="col-icon">'; $recordsOverviewHtml[] = $linkedIcon; @@ -70,6 +73,7 @@ class RecordsOverview extends AbstractNode $recordsOverviewHtml[] = $linkedTitle; $recordsOverviewHtml[] = '<span class="text-muted">'; $recordsOverviewHtml[] = ' [' . $selectedItem['uid'] . ']'; + $recordsOverviewHtml[] = ' ' . htmlspecialchars($pathToContainingPage); $recordsOverviewHtml[] = '</span>'; $recordsOverviewHtml[] = '</td>'; $recordsOverviewHtml[] = '</tr>'; diff --git a/typo3/sysext/core/Documentation/Changelog/12.3/Feature-100093-ShowPathToRecordLocationInGroupElements.rst b/typo3/sysext/core/Documentation/Changelog/12.3/Feature-100093-ShowPathToRecordLocationInGroupElements.rst new file mode 100644 index 0000000000000000000000000000000000000000..dd61dc50cd4667d70ac083d94d2afc647b05d5de --- /dev/null +++ b/typo3/sysext/core/Documentation/Changelog/12.3/Feature-100093-ShowPathToRecordLocationInGroupElements.rst @@ -0,0 +1,25 @@ +.. include:: /Includes.rst.txt + +.. _feature-100093-1678091347: + +================================================================= +Feature: #100093 - Show path to record location in group elements +================================================================= + +See :issue:`100093` + +Description +=========== + +To ease the usage of `group` fields in the FormEngine like e.g. in the +"Insert records" content element, the record overview now shows the path to the +location where each assigned record is stored, respectively. + + +Impact +====== + +Elements of type `group` now show the path to the page where any assigned record +is stored in. + +.. index:: Backend, ext:backend