[Typo3-UG Oesterreich] Template Auto Parser: Content Area Template
Bernhard Kraft
kraftb at mokka.at
Fri Jul 30 10:45:12 CEST 2004
Hallo !
Ich habe ein Problem mit meinem Autoparser.
Er parst mir nach den gestrigen Anfangsschwierigkeiten nun mein
Haupttemplate brav.
Und er fügt auch das Content-Area Template ins Haupttemplate
ein.
Das Problem ist das keiner der Subparts des Content-Area Template
ersetzt wird.
Hier mein aktuelles Content Area Template Setup :
-------------------snip--------------------------
temp.test = TEXT
temp.test.value = HUGO 123
temp.contentArea = TEMPLATE
temp.contentArea {
template < plugin.tx_automaketemplate_pi1
template.content.templateType = sub
template.content.defaultTemplateFileName = sub.html
template.elements >
template.elements {
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
DIV.all = 1
TD.all = 1
}
workOnSubpart = DOCUMENT_BODY
template.relPathPrefix =
subparts.cont < temp.test
}
-------------------snip--------------------------
Der HTML Code schaut dann so aus :
--------------------snip---------------------------
<tr>
<td id="main-table-content">
<div id="cont"><!--###cont### begin --><!--###cont### end --></div>
</td>
</tr>
--------------------snip---------------------------
Er erkennt zwar das DIV cont als solches setzt aber nichts ein.
Ich habe in der Docu MTB2+3 gelesen dass nicht
workOnSubpart = DOCUMENT_BODY
hingehört sondern
workOnSubpart = contentarea
aber das hat dazu geführt das nicht mal mehr das
Content Area Template ins Haupttemplate eingefügt wurde...
Sieht jemand einen Fehler ?
danke,
Bernhard
-----------------------------------------
Bernhard Kraft
<kraftb at mokka.at>
MOKKA MEDIENAGENTUR GMBH
Mariahilferstrasse 170
1150 Wien
T: 01 895 33 33 50
M: 0676 560 14 14
F: 01 895 33 33 20
www.mokka.at
-----------------------------------------
More information about the TYPO3-at
mailing list