Hallo Forum,
Ich habe habe folgendes Problem:
Wollte eine neue Website auf Typo3 4.2.2 aufsetzen. Habe dazu bereits verwendete und funktionierende TypoScript-Templates aus Typo3 4.2.1 verwendet, alle Marker (DIVs) sind ebenfalls gleich.
Ich kann tun was ich will, ich bekomme keinen Inhalt aus tt_content in col1, col2 und col3 angezeigt. Layout und Menüs werden angezeigt, auch in col1.
Nochmal zur Anmerkung: Gleiche Vorlagen, gleiche TS Templates wie in T3 4.2.1. und da hat alles wunderbar gefunzt.
Hier der Code des Autoparsers und des Template Selectors:
####################################
#### Sub-Template cObject fuer BODY
temp.contentAreaTemplate = TEMPLATE
temp.contentAreaTemplate {
template =< plugin.tx_automaketemplate_pi1
template.content.templateType = sub
workOnSubpart = DOCUMENT_BODY
subparts.subcl < styles.content.get
subparts.subcl.select.where = colPos=4
subparts.subcr < styles.content.get
subparts.subcr.select.where = colPos=5
subparts.subc < styles.content.get
subparts.subc.select.where = colPos=6
}
####################################
#### Haupt TEMPLATE cObject fuer BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
template.content.templateType = main
workOnSubpart = DOCUMENT_BODY
subparts.head < temp.head
subparts.headerlogin < temp.headerlogin
subparts.language < temp.language
subparts.skiplink < temp.skiplink
subparts.path < temp.path
subparts.nav < temp.nav
subparts.banking < temp.banking
subparts.search < temp.search
subparts.col1 < temp.col1
subparts.col3 = COA
subparts.col3.10 < styles.content.get
subparts.col3.10.renderObj < plugin.tx_rgaccordion1
subparts.col3.20 < temp.contentAreaTemplate
subparts.col3.30 < styles.content.get
subparts.col3.30.select.where = colPos=7
subparts.col2 < temp.col2
subparts.footer < temp.footer
}
####################################
#### Haupt TEMPLATE cObject fuer HEADER
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
####################################
#### Default PAGE object
page = PAGE
page {
typeNum = 0
admPanelStyles = 1
shortcutIcon = fileadmin/img/FavIcons/favicon.ico
config {
cache = 1
no_cache = 0
doctype = xhtml_trans
xhtml_cleaning = all
index_enable = 1
metaCharset = utf-8
additionalHeaders = Content-Type:text/html;charset=utf-8
}
}
####################################
#### TEMPLATE for <body>-section
page.5 = HTML
page.5.value ={$pageBodyData}
page.10 < temp.mainTemplate
####################################
#### TEMPLATE for <head>-section
page.headerData.10.field = subtitle // title
page.headerData.5 = HTML
page.headerData.5.value = {$pageHeaderData}
[globalVar = GP:L = {$firstForeignLanguage}]
page.headerData.5 = HTML
page.headerData.5.value = {$pageHeaderDataFirstLang}
[global]
page.headerData.10 < temp.headTemplate
####################################
#### Auto-Parser konfigurieren
plugin.tx_automaketemplate_pi1 {
content < plugin.tx_rlmptmplselector_pi1
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
}
relPathPrefix = fileadmin/template/
}
####################################
#### Template-Selector konfigurieren
plugin.tx_rlmptmplselector_pi1 {
templatePathMain = fileadmin/template/
templatePathSub = fileadmin/template/sub/
defaultTemplateFileNameMain = {$pageStandardTemplate}
}
####################################
#### deutsches Datumsformat
lib.stdheader.5.date = d.m.Y
Hat jemand eine Idee was es sein könnte? Oder vielleicht habe ich auch etwas verpasst ;-)
Schon mal vielen Dank im Voraus.
Thomas