[TYPO3] How to use constants in TS condition
Peter Russ
peter.russ at 4many.net
Mon Nov 20 18:32:18 CET 2006
Jan Zýka schrieb:
> 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
Just set the condition you want and use the constant. It's pretty plain
straight forward.
Regs. Peter.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
openBC: http://www.openbc.com/go/invuid/Peter_Russ
More information about the TYPO3-english
mailing list