[TYPO3] If not
Mauro Lorenzutti
mauro.lorenzutti at webformat.com
Tue Feb 5 12:26:32 CET 2008
Hi Nino,
> Hi,
>
> I use this:
>
> [globalVar = TSFE:id = 1]
>
> some TS
>
> [end]
>
> to simulate if pid = 1 then something
>
> How can i simulate if pid != 1 ?
>
Let's explain it through an example:
lib.text.value = DEFAULT VALUE
[globalVar = TSFE:id = 1]
lib.text.value = CUSTOM VALUE PER UID = 1
[end]
the lib.text.value will be overwritten only if condition is true. If
not, the default value will be maintained.
Regards,
--
Mauro Lorenzutti
e-mail: mauro.lorenzutti at webformat.com
---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
Tel +39-0427-926.389 -- Fax +39-0427-927.653
info at webformat.com -- http://www.webformat.com
---------------------------------------------------------
More information about the TYPO3-english
mailing list