[TYPO3] content.space

Bas van der Togt b.vandertogt at profinit.com
Mon Jul 17 21:25:41 CEST 2006


Thanks for your explanation, but its still not working.
All my columns are still 0|0
Any idea?

My code:

# Column content spacing
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 = 0
   1 = 0
   2 = 0
   3 = 0
}
tt_content.stdWrap.spaceAfter.cObject = CASE
tt_content.stdWrap.spaceAfter.cObject {
   key.field = colPos
   default = 10
   1 = 0
   2 = 0
   3 = 0
}

So i have to get:
Normal: 0|10
Left: 0|0
Right: 0|0
Border: 0|0

cheers,
Bas

JoH schreef:
>>hm after testing its not working yet for 100%.
>>He've set 0|0 to all the columns.
> 
> 
> Doesn't look like that.
> 
> 
>>Do you know why?
>>
>>This is my code:
>>
>># Column content spacing
>>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 = 123 #normal column ist set to 123px
>>     1 = 0 #left column is set to 0
>>     2 = 0 #right column is set to 0
>>     3 = 0 #border column is set to 0
>>}
>>tt_content.stdWrap.spaceAfter.cObject = CASE
>>tt_content.stdWrap.spaceAfter.cObject {
>>     key.field = colPos
>>     default = 123 #normal column is set to 123px
>>     1 = 10 #left column is set to 10px
>>     2 = 0 #right column is set to 0
>>     3 = 0 #border column is set to 0
>>}
> 
> 
> Whit these settings you should get:
> 
> Normal 123|123
> Left 0|10
> Right 0|0
> Border 0|0
> 
> Joey
> 



More information about the TYPO3-english mailing list