Project

General

Profile

Actions

Bug #76963

closed

Page condition in pageTSConfig can't use constants

Added by Markus no-lastname-given over 7 years ago. Updated about 5 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}]

Actions #1

Updated by Riccardo De Contardi over 7 years ago

is this related? #43706

Actions #2

Updated by Riccardo De Contardi over 7 years ago

  • Category set to TypoScript
Actions #3

Updated by Benni Mack about 5 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.

Actions

Also available in: Atom PDF