> Thx. Mauro but i think this is the same i wrote :-) I need condition
> where ID is not equal to some PID because i don't want to do some
> select on that particular page. For all other pages i need that
> select so this is what i want:
>
> [globalVar = TSFE:id != 1]
>
> 80 = CONTENT
> 80 {
>
Hi!
Nino Katic wrote:
> I use this:
>
> [globalVar = TSFE:id = 1]
>
> some TS
>
> [end]
>
> to simulate if pid = 1 then something
>
> How can i simulate if pid != 1 ?
[globalVar = TSFE:id > 1] will do for pid=1
for others:
[globalVar = TSFE:id = 12345]
...
[else]
...
[global]
Eveything is
Thx. Daniel, this works.
Nino
"Daniel Doesburg [netcreators]" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Mauro, Nino,
>
> Therefor we have the else statement
>
> [condition]
> statements
> [else]
> statements
> [end]
>
> It is in the TSref but not so very easy to find.
>
> OR
Mauro, Nino,
Therefor we have the else statement
[condition]
statements
[else]
statements
[end]
It is in the TSref but not so very easy to find.
OR
[globalVar = TSFE:id < 1][globalVar = TSFE:id > 1]
OR (not sure and untested)
[globalVar = TSFE:id<1,TSFE:id>1]
Regards,
Daniel Doesburg
Maur
"Mauro Lorenzutti" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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 exam
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
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 ?
Thx.
Nino
___
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailm