[TYPO3] content.space

JoH info at cybercraft.de
Mon Jul 17 22:32:56 CEST 2006


> 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

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com





More information about the TYPO3-english mailing list