Actions
Feature #17196
closedConstants in conditions
Start date:
2007-04-10
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
Although it is possible to have customized conditions in TypoScript using user functions it's common request to have conditions that relies on constants. The code could look like this:
[constants]
color = red
[setup]
[{$color} = red, yellow]
text = Red or yellow text
[global]
text = Blue text
[end]
(issue imported from #M5388)
Updated by Popy no-lastname-given over 17 years ago
Constants are usable in TS conditions...
Updated by Bjrn Kraus over 17 years ago
In the way I described it?
If so please post the link for the TSref so I can proof it.
Updated by Benni Mack almost 14 years ago
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.3.0/view/1/4/#id2345482
[globalVar = LIT:1 = {$constant_to_turnSomethingOn}]
Actions