[TYPO3] content.space
Bas van der Togt
b.vandertogt at profinit.com
Fri Jul 14 20:32:01 CEST 2006
Still not working. What am i doing wrong this time:
# Template / Stylesheet
page.bodyTag = <body marginwidth="0" marginheight="0" leftmargin="0"
topmargin="0">
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/templates/template.html
page.stylesheet = fileadmin/templates/css/styles.css
# Contentelements
page.10.workOnSubpart = DOCUMENT_BODY
page.10.marks.CONTENT = CONTENT
page.10.marks.CONTENT < styles.content.get
page.10.marks.CONTENT_RIGHT < styles.content.getRight
page.10.marks.IMAGE_RIGHT2 < styles.content.getBorder
tt_content_right < tt_content
tt_content_right.stdWrap.space = 0|0
page.20 < styles.content.getRight
page.20.renderObj < tt_content_right
JoH schreef:
>>I tried this but its not working:
>>
>># spacing
>>tt_content_right < tt_content
>>tt_content_right.space = 0|0
>>
>>page.50 < styles.content.getRight
>>page.50.renderObj < tt_content_right
>>
>>What am i doing wrong?
>
>
> Looking into the TypoScript Object Browser (TSOB) you will find that
> tt_content is a CASE element.
> http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/8/17/
>
> As you can see there is nothing like space in the list of CASE properties.
> But there is stdWrap.
>
> So this should be working:
>
> tt_content_right < tt_content
> tt_content_right.stdWrap.space = 0|0
>
> Joey
>
More information about the TYPO3-english
mailing list