Hi NG, ich beschäftige mich seit kurzem mit Typo3. Ist eigentlich eine Supersache. Nun habe ich aber mit der Darstellung etwas Probleme bzw. finde den Fehler nicht.
Ich habe eine HTML-Vorlage erstellt und eine neue Seite in Typo3. Das klappt auch schon. DIe Content-Inhalte werden auch angezeigt.
Ich möchte nun die Darstellung der Content-Inhalte in Typo-Script definieren. Nachfiolgend der das Typo-Script.
<!--
# Default PAGE object:
page = PAGE
page {
typeNum = 0
meta.AUTHOR = Gerhard Wenzl
meta.DESCRIPTION = Dies ist meine erste Seite mit TYPO3
stylesheet = fileadmin/Body.css
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/Vorlage.htm
10.workOnSubpart = DOKUMENT
10.marks {
INFO = CONTENT
INFO.table = tt_content
INFO.select.orderBy = sorting
INFO.select.where = colPos = 2
tt_content.table.10 >
tt_content.table.20 >
tt_content = COA
tt_content {
10 = TEXT
10.field = header
10.wrap = |<br>
20 = TEXT
20.field = bodytext
20.wrap = |<br><br>
}
MENU = HMENU
MENU.special = directory
MENU.special.value = 17
MENU.1 = GMENU
MENU.1.NO = 1
MENU.1.NO {
XY = 146, 30
backColor = #008000
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/verdana.TTF
10.fontSize = 12
10.niceText = 1
10.offset = 7, 21
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 146, 1
backColor = #FFFFFF
}
20.offset = 0, 29
}
MENU.1.RO < .MENU.1.NO
MENU.1.RO.backColor = #82BC8B
CONTENT_AREA = CONTENT
CONTENT_AREA.table = tt_content
CONTENT_AREA.select.orderBy = sorting
CONTENT_AREA.select.where = colPos = 0
tt_content.table.10 >
tt_content.table.20 >
tt_content = CASE
tt_content {
key.field = header_layout
1 = COA
1 {
wrap = <table width="100%" border="0">|</table>
10 = TEXT
10.field = header
10.wrap = <tr><td class="Header_Content">|</td></tr>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td class="Body_Content">|</td></tr>
}
default = COA
default {
wrap = <table width="100%" border="1">|</table>
10 = TEXT
10.field = header
10.wrap = <tr><td>|</td></tr>
20 = TEXT
20.field = bodytext
20.wrap = <tr><td>|</td></tr>
}
}
}
}
-->
Leider werden die wrap Zuweisungen ignoriert. Was mache ich falsch ?
Kann mir bitte jemand weiterhelfen. Danke.
LG
Gerhard