Actions
Bug #76963
closedPage condition in pageTSConfig can't use constants
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}]
Updated by Benni Mack over 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