Project

General

Profile

Actions

Bug #92305

open

indexedDocTitle is always overwritten by TypoScriptFrontendController::generatePageTitle()

Added by Julian Hofmann about 4 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-09-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Besides the page title, there is the indexedDocTitle e.g for indexed_search. It's useful for shorter titles (e.g. without website's name). But it seems, since TYPO3 v9 (and pageTitle API?), this variable is always set to the page title in TypoScriptFrontendController::generatePageTitle():

if ($pageTitle !== '') {
  $this->indexedDocTitle = $pageTitle;
}

indexedDocTitle is used for example by \GeorgRinger\News\ViewHelpers\TitleTagViewHelper or \FluidTYPO3\Vhs\ViewHelpers\Page\Header\TitleViewHelper

No data to display

Actions

Also available in: Atom PDF