[TYPO3] How to use constants in TS condition

Jan Zýka zyka.jan at gmail.com
Mon Nov 20 17:15:24 CET 2006


Hello,
 probably a newbie question, but I still cant find a solution. I set a
constant in a constant field, let say it is news=1. Later, i want to display
or not (depending on this contstant) part of the page. I found it useful
later in extension templates (Like allways display news by setting news=1 in
the rootpage, except the pages where news=0 is set in extension template).
Unfortunatelly I cant find out how to test constants in TS condition. Smth
like:

[{$news}]
 show part of the page
[ELSE]
 do nothing
[GLOBAL]

Any help will be appreciate. Thanks in advance.

Zak



More information about the TYPO3-english mailing list