Project

General

Profile

Actions

Feature #88300

open

Allow extra db columns in the records that are retrieved for the pagetree

Added by Jigal van Hemert over 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2019-05-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In \TYPO3\CMS\Backend\Controller\Page\TreeController::getAllEntryPointPageTrees() the PageTreeRepository is instantiated with the default db fields for each row (fields defined in \TYPO3\CMS\Backend\Tree\Repository\PageTreeRepository::$fields). Sometimes other db fields are also needed, but this can't be configured.

Use case: a custom icon for a page in the pagetree is desired, based on the value of a db field that is not one of the default fields. A userFunc can be defined to set the icon class, but here the db row only contains the default fields defined in the PageTreeRepository class. In earlier versions of TYPO3 the entire db row was passed to such a userFunc.

No data to display

Actions

Also available in: Atom PDF