25. 04. 2012, 20:18

Hallo!

ich habe folgende Typoscript Kode. subparts.content_content wird überhaupt nicht gezeigt.

Wenn ich die Rheinfolge zwischen subparts.header_content und subparts.content_content umtausche, wird header_content nicht gezeigt.

Kann es sein, dass ich nur eine bestimmte Menge an RECORDS per Seite benützen kann? Habe ich was anderes falsch gemacht.

Ich bedanke mich herzlich im Voraus..

temp.headerContent{
40 = TEXT
40.value = <div id="startheader_wrapper">
50 = RECORDS
50{
tables = tx_startseite_list
source = 1
conf.tx_textandimage_list >
conf.tx_startseite_list = COA
conf.tx_startseite_list{
50 = RECORDS
50 {
tables = tx_textandimage_list
source.field = headercontent
conf.tx_textandimage_list >
conf.tx_textandimage_list = COA
conf.tx_textandimage_list{
wrap = <div id="headertabs_{field:uid}">|</div>
wrap.insertData = 1
10 = TEXT
10.field = headline
10.wrap = <div class="startheader_text"><h1>|</h1>
20 = TEXT
20.field = maintext
20.parseFunc =< lib.parseFunc_RTE
20.wrap = |</div>
30 = IMAGE
30{
file.import.override.field = image
file.import = fileadmin/uploads/
wrap = <div class="startheader_img">|</div>
}
}
}
40 < .50
40{
wrap = <ul id="startheader_nav">|</ul>
conf.tx_textandimage_list >
conf.tx_textandimage_list = TEXT
conf.tx_textandimage_list{
value = <li><a href="#headertabs_{field:uid}"></a></li>
insertData = 1
}
}

}
}
70 = TEXT
70.value = </div>
}

temp.contentContent{
60 = RECORDS
60{
tables = tx_startseite_list
source = 1
conf.tx_startseite_list >
conf.tx_startseite_list = COA
conf.tx_startseite_list{
wrap = <div id="startmain">|</div>
10 = TEXT
10.field = maintext
10.parseFunc =< lib.parseFunc_RTE
10.wrap = <div id="startmain_text">|</div><div class="clearer">&nbsp;</div>
60 = RECORDS
60 {
tables = tx_textandimage_list
source.field = midcontent
conf.tx_textandimage_list >
conf.tx_textandimage_list = COA
conf.tx_textandimage_list{
wrap = <div class="start_teaser">|</div>
5 = IMAGE
5{
file.import.override.field = image
file.import = fileadmin/uploads/
}
10 = TEXT
10.field = headline
10.wrap = <h3>|</h3>
20 = TEXT
20.field = maintext
20.parseFunc =< lib.parseFunc_RTE
}
}

}
}
}

temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.header_content < temp.headerContent
subparts.content_content < temp.contentContent
subparts.footer_content < temp.footerContent
}
page.50 < temp.mainTemplate