Project

General

Profile

Actions

Feature #45883

closed

Adding getPageOverlay_postProcess hook

Added by Armin Vieweg about 11 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-02-27
Due date:
% Done:

0%

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

Description

Hi,

I need to modify attributes of page records. The best point for this is the getPageOverlay() method in t3lib_pageSelect. It has already a preProcess hook, where I could modify eg. the title of the page. But after this hook some translations are performed and merged with my modified array, which will overwrite my changes with the translated attributes.

So, the preProcess hook works fine with page records in default language. But when I want to modify also translated pages, I have to write a xclass, because no postProcess is existing here.

Furthermore the getRecordOverlay() method has a pre and postProcess hook, so it seems to be a bit inconsistent.

I wish there would be such postProcess hook in getPageOverlay() method, too.
Thanks!


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and EventsClosedBenni Mack2022-04-22

Actions
Actions

Also available in: Atom PDF