---
title: "Frame mit eigenen Konstanten erstellen"
url: "https://www.typo3.net/d/6263-frame-mit-eigenen-konstanten-erstellen"
source: "typo3.net"
tags: ["TYPO3","Template","Frage"]
created: "2003-10-07"
last_reply: "2003-10-07"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Frame mit eigenen Konstanten erstellen

TYPO3 › Template · 0 Antworten · gestartet 2003-10-07

## Eröffnungsbeitrag

**WinstonSmith** · 2003-10-07 · [Beitrag #1](https://www.typo3.net/d/6263-frame-mit-eigenen-konstanten-erstellen/1)

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 = 0
>
> content.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

---

Quelle: „Frame mit eigenen Konstanten erstellen“, typo3.net, https://www.typo3.net/d/6263-frame-mit-eigenen-konstanten-erstellen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
