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

Still the same. Use a default value and change it inside the condition.

80 = CONTENT
80 {
    blah
}

[globalVar = TSFE:id = 1]
80 >
[global]

No OR or NOT necessary :-)

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com
Jobs: http://www.professionals-only.com


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

Reply via email to