Project

General

Profile

Actions

Bug #71640

closed

Typoscript constants defined in pagetsconfig are not available in TS when pageTSconfig is set with include

Added by Markus Klein about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Start date:
2015-11-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:

Description

The new feature, which allows adding pagetsconfig as includes (#68315), is not implemented in \TYPO3\CMS\Core\TypoScript\TemplateService::mergeConstantsFromPageTSconfig, therefore no constants are forwarded to FE.

Example page TSconfig in a file, which is included:

TSFE.constants.the_text = Hello!

Example in TypoScript template:

page.1000 = TEXT
page.1000.value = {$the_text}


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #68315: Include a pageTSconfig file like TypoScript static templatesClosedJigal van Hemert2015-07-17

Actions
Actions

Also available in: Atom PDF