[TYPO3] different image config dependend on colpos - TS challenge

media.res | alex widschwendter a.widschwendter at mediares.at
Thu Jan 18 16:57:02 CET 2007



> Yes. Rewrite the TS as a CASE cObject with colPos as the key.

thx masi! with the right idea it's an easy one....

for reference:

temp.image < tt_content.image.20
tt_content.image.20 >
tt_content.image.20 = CASE
tt_content.image.20 {
	key.field = colPos
	0 < temp.image
	1 < temp.image
	1.1.params = change me :)
	2 < temp.image
	3 < temp.image
}


More information about the TYPO3-english mailing list