[TYPO3-english] Problem with colPos related definitions
JoH asenau
info at cybercraft.de
Fri Nov 28 15:25:48 CET 2008
> I have this TS config:
>
> temp.customRenderImage = CASE
> temp.customRenderImage {
> key.field = colPos
> default < tt_content.image.20
> 0 < tt_content.image.20
> 0.maxW = {$styles.content.imgtext.maxWNormal}
> 0.maxWInText = {$styles.content.imgtext.maxWInTextNormal}
> 3 < tt_content.image.20
> 3.maxW = {$styles.content.imgtext.maxWBorder}
> 3.maxWInText = {$styles.content.imgtext.maxWInTextBorder}
> 23 < 3
> }
> tt_content.image.20 < temp.customRenderImage
Why are you doing it like this, when there is stdWrap available for both,
maxW and maxWInText?
And what do you expect by the line "23 < 3" (which should be 23 < .3) ?
tt_content.image.20 {
maxW >
maxWInText >
maxW.cObject = CASE
maxW.cObject {
key.field = colPos
0 = TEXT
0.value = {$styles.content.imgtext.maxWNormal}
3 = TEXT
3.value = {$styles.content.imgtext.maxWBorder}
23 < .3
}
maxWInText < .maxW
maxWInText {
0.value = {$styles.content.imgtext.maxWInTextNormal}
3.value = {$styles.content.imgtext.maxWInTextBorder}
23.value = {$styles.content.imgtext.maxWInTextBorder}
}
}
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
T3 cookbook (2nd edition): http://www.typo3experts.com
Jobs: http://www.professionals-only.com
More information about the TYPO3-english
mailing list