[TYPO3-english] Combining 2 conditions with TS: cObj:parentRecordNumber=2 AND colPos=0
JoH asenau
info at cybercraft.de
Thu Jun 6 22:20:20 CEST 2013
> dataWrap.if{
> value = 2
> equals.data=cObj:parentRecordNumber
> }
>
> dataWrap.if{
> value=0
> equals.field = colPos
> }
There are several options, but I prefer this one:
dataWrap.if {
value = 2#0
equals.dataWrap = {cObj:parentRecordNumber}#{field:colPos}
}
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
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
More information about the TYPO3-english
mailing list