Hallo, typo3-Community!
ich habe folgende Situation vorliegen. Eine in typo3 realisierte Website die in Frames aufgeteilt ist. Die Seite steht und ich habe alle für den Inhalt wichtigen Konstanten angepasst.
Das sieht konkret so aus:
styles.content.imgtext.captionWrap = <font class="picCaption">|</font>
styles.content.linkToTop = <a href="#top">Nach Oben</a><br>
styles.content.break.bodytext = <br>
styles.content.wrap.bodytext = <p class="main">|</p>content.linkToTop = <a href="#top">Nach oben</a><br>
content.break.bodytext = <br>
content.wrap.bodytext = <P style="margin:0 0 0 0;" class="main">|</P>
content.RTE_compliant = 0content.space = 0|0
content.headerSpace = 0|0
Nun habe ich einen Frame (den Footer der Site; PID=7) der eine Konstante anders haben muss, nämlich statt "content.wrap.bodytext = <P style="margin:0 0 0 0;" class="main">|</P>" muss eine andere Klasse rein "content.wrap.bodytext = <P style="margin:0 0 0 0;" class="footer">|</P>". Dieser Frame ist eine einzige konkrete Seite, die im Pagetree angelegt ist und folgendermaßen in das Frameset eingebunden wird:
footer = PAGE
footer.typeNum = 4(...etc...)
footer {
stylesheet = fileadmin/templates/main.css
bodyTag = <body bgcolor="#AB2B3E" marginheight="0" marginwidth="0" rightmargin="0" leftmargin="0" bottommargin="0" topmargin="0">
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/template_footer.htm
workOnSubpart = FOOTER_DOKUMENT
# content
marks.FOOTER_CONTENT = CONTENT
marks.FOOTER_CONTENT.table = tt_content
marks.FOOTER_CONTENT.select {
pidInList = 7
where = ColPos=0
orderBy = sorting
}
}
}
So weit, so gut. Nun dachte ich mir, ich könnte einfach ein neues Template unter Footer anlegen, wo "Clear:" für alle drei Punkte deaktiviert ist und ich unter "Constants" nur die auszuwechselnde Zeile (mit der neuen class) einsetzen muss.
Er macht es aber nicht so wie ich mir das vorgestellt habe. Warum?
Ich hoffe, ich konnte mein Problem verständlich erklären und freue mich auf Antworten.
Gruß,
Winston