Sodala,
meine ersten Gehversuche hab ich geschafft und mir ein kleines Template erstellt.
Nur jetzt hab ich folgende kleine Frage:
Ich möchte zum testen die Seite: http://rc-la-trausnitz.de/ auf Typo3 umbauen: http://82.165.8.131/typo3cms/rc-la-trausnitz.de/
Wie sag ich dem Template aber nun das im Body-Tag stehen soll: [code:1:b8bd63695e]<body leftmargin=0 rightmargin=0 topmargin=0 bottommargin=0 marginwidth=0 marginheight=0>[/code:1:b8bd63695e]
im Template stehts drin, aber durch den Autoparser wirft er das ja raus und schreibt stattdessen:
[code:1:b8bd63695e]<body bgcolor="#FFFFFF">[/code:1:b8bd63695e]
Das Template hab ich nach dem Tutorial doc_tut_templsel_de erstellt!
Mein Templatesetup:
[code:1:b8bd63695e]
# Menu 1 cObject
temp.menu_1 = HMENU
temp.menu_1.1 = TMENU
temp.menu_1.1 {
NO.allWrap = <div class="menu1-level1-no"> | </div>
IFSUB < .NO
IFSUB = 1
IFSUB.beforeImg = fileadmin/templates/Rotary/folderclosed.gif
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
temp.menu_1.2 = TMENU
temp.menu_1.2 {
NO.allWrap = <div class="menu1-level2-no"> | </div>
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/Rotary/template.htm
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
relPathPrefix = fileadmin/template/Rotary/
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.menu_1 < temp.menu_1
subparts.content < styles.content.get
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate[/code:1:b8bd63695e]
Vielleicht kann mir auch einer sagen warum der IE die Seiten nicht korrekt anzeigt, der Opera aber ohne Probleme?
Vielen Dank,
Florian