[TYPO3] content.space
Bas van der Togt
b.vandertogt at profinit.com
Mon Jul 17 22:35:47 CEST 2006
Thanks JoH!
Its working great now!
cheers,
Bas
JoH schreef:
>>Thanks for your explanation, but its still not working.
>>All my columns are still 0|0
>>Any idea?
>
>
> Sorry - my fault. Have been shooting too fast.
> Elements inside CASE have to be cObjects too.
> So this one works:
>
> tt_content.stdWrap.space >
> tt_content.stdWrap.spaceBefore >
> tt_content.stdWrap.spaceAfter >
> tt_content.stdWrap.space.useDiv = 1
> tt_content.stdWrap.spaceBefore.cObject = CASE
> tt_content.stdWrap.spaceBefore.cObject {
> key.field = colPos
> default = TEXT
> default.value = 0
> 1 = TEXT
> 1.value = 0
> 2 = TEXT
> 2.value = 0
> 3 = TEXT
> 3.value = 0
> }
> tt_content.stdWrap.spaceAfter = 10
> tt_content.stdWrap.spaceAfter.cObject = CASE
> tt_content.stdWrap.spaceAfter.cObject {
> key.field = colPos
> default = TEXT
> default.value = 10
> 1 = TEXT
> 1.value = 0
> 2 = TEXT
> 2.value = 0
> 3 = TEXT
> 3.value = 0
> }
>
> Joey
>
More information about the TYPO3-english
mailing list