Bug #76963

Page condition in pageTSConfig can't use constants

Added by Markus no-lastname-given over 5 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2016-07-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
condition, pageTSConfig, constants
Complexity:
Is Regression:
No
Sprint Focus:

Description

In pageTSConfig, constants can't be used in page condition. e.g.
[page|uid = {$pid.root}]

#1

Updated by Riccardo De Contardi over 5 years ago

is this related? #43706

#2

Updated by Riccardo De Contardi over 5 years ago

  • Category set to TypoScript
#3

Updated by Benni Mack over 2 years ago

  • Status changed from New to Closed

Unfortunately this does not work at all.

Constants are a concept of TypoScript ("constants" and "setup"), where as PageTS can rather be seen as a huge array with some special logic of conditions, but thats it. There are more "downsides" to PageTS - like you cannot use cObjects definitions at all.

Sorry, but that's rather not going to change in the near future.

Also available in: Atom PDF