[TYPO3] content.space
JoH
info at cybercraft.de
Mon Jul 17 20:34:47 CEST 2006
> tt_content.stdWrap.space >
> tt_content.stdWrap.spaceBefore.cObject = CASE
> tt_content.stdWrap.spaceBefore.cObject {
> key.field = colPos
> default = 123
> 1 = 234
> 2 = 345
> 3 = 456
> }
> tt_content.stdWrap.spaceAfter.cObject = CASE
> tt_content.stdWrap.spaceAfter.cObject {
> key.field = colPos
> default = 123
> 1 = 234
> 2 = 345
> 3 = 456
> }
>
> Set the values according to the desired spacing for normal (default),
> left(1), right(2) and border(3)
> If you don't want clear.gif you should set this line in addition:
>
> tt_content.stdWrap.space.useDiv = 1
>
> Not tested, but should be working
Sorry forgot two lines, to clear the default settings for spaceBefore and
spaceAfter
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
1 = 234
2 = 345
3 = 456
}
tt_content.stdWrap.spaceAfter.cObject = CASE
tt_content.stdWrap.spaceAfter.cObject {
key.field = colPos
default = 123
1 = 234
2 = 345
3 = 456
}
This one should be complete now.
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