"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 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.

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 {
    table = tt_content
    select {
    orderBy = tstamp DESC
    selectFields = tstamp
    max = 1
   }
  }

[end]

if PID != 1 then do select and if pid == 1 then do nothing.

Nino 


_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to