[Typo3] TS and conditions

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Sun Dec 11 21:52:09 CET 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Pierre Rouwens schrieb:
> Really ?? which doc ? i've found it in the TSref ...

Some short notices or TSref ...

> -----
> This will match with a url like "...&print=1"
> 
>     [globalVar = GP:print > 0]
> -----
> 

I was to quick in thinking.

In TSref you find on
http://typo3.org/documentation/document-library/doc_core_tsref/globalVars/

Syntax:
[globalVar=   var1=value,  var2<value2, var3>value3, ...]

Mark that's without GP.

My mistake is that $tx_mccfiche_pi1[d] is no global var at all. It is
inside the global GET/POST array.


The better exampel seems to be in the bottom comments:

[globalVar = TSFE:page|tx_whatever_totoplink = 1]


So try:

[globalVar = GP:tx_mccfiche_pi1|d > 0]
bla bla
[else]
bla bla
[global]


or


[globalVar = TSFE:page|tx_mccfiche_pi1|d > 0]
bla bla
[else]
bla bla
[global]


Regards

Elmar















Regards

Elmar

- --
Climate change 2005: Mexico, Guatemala, New Orleans, Sahel, Bangladesh,
Spain, Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDnJF5O976RNoy/18RAhPcAKC3OppVg93WOLctk4cW36R88orhcQCfcqfj
tRliaSQopwjpKrUEnlYOesg=
=ODXT
-----END PGP SIGNATURE-----



More information about the TYPO3-english mailing list