Actions
Feature #80544
closedINCLUDE_TYPOSCRIPT resolve constants for condition argument
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2017-03-29
Due date:
% Done:
0%
Estimated time:
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:
Description
I know about the bug here: https://forge.typo3.org/issues/56304
and here: https://forge.typo3.org/issues/47985
which describes why one cannot use constants inside the path.
However, it would be really nice to support constants in the condition parameter, e.g. I want to define a page ID constant
and then include additional TypoScript if one is on that page like
[page|uid = {$pageuid}]
or similar.
This will work inside a file itself but not when using it in INCLUDE_TYPOSCRIPT.
However, it would be really nice if it would work in both scenarios. Maybe one could check if one is parsing setup TypoScript and if so resolve the constants?
In any case it will probably not be that easy to solve.
Actions