Project

General

Profile

Actions

Bug #43706

closed

Constants in a page-TSconfig only accepted with an ext. template!?

Added by Kurt Kunig almost 12 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2012-12-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

It is possible to set a constant in page-properties => resources => TSconfig like this:
TSFE.constants.myConstant1 = 12345

E.g. you put this into a page with the ID 123 and you use a condition in the main template setup like this:

[PIDupinRootline = {$myConstant1}]
statements..
[END]

This condition does not work because you did not create an ext. template for page ID 123 - although constants are existing from the inherited root template.


Files

Actions

Also available in: Atom PDF