---
title: "template graue seite"
url: "https://www.typo3.net/d/25372-template-graue-seite"
source: "typo3.net"
tags: ["Allgemein","Frage","Templates & Layouts"]
created: "2005-05-31"
last_reply: "2005-05-31"
replies: 9
solved: false
page: 1
pages: 1
lang: "de"
---

# template graue seite

Allgemein · 9 Antworten · gestartet 2005-05-31

## Eröffnungsbeitrag

**tonik** · 2005-05-31 · [Beitrag #1](https://www.typo3.net/d/25372-template-graue-seite/1)

hi...........
mein problem ist das ich immer eine graue seite bekomme

**mein templat**
[HTML<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"<http://www.w3.org/TR/html4/loose.dtd>">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
</head>
<body>
<!-- ###DOCUMENT_BODY### start -->
<table width="732" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="732" height="107" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="174" height="107" valign="top"> ###LOGO###</td>
        <td width="374"> </td>
        <td width="184" valign="top"> ###LOGO1</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td height="479" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="174" height="440" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="174" height="24" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="174" height="24"> </td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32" valign="top"><!--DWLayoutEmptyCell--> ###LEFTNAV###</td>
              </tr>
              <tr>
                <td height="384"> </td>
              </tr>
        </table></td>
        <td width="375"> </td>
        <td width="183" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td width="183" height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <!--DWLayoutTable-->
            <tr>
              <td width="183" height="25"> </td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="415"> </td>
        </tr>
        </table></td>
  </tr>
      <tr>
        <td height="39" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="732" height="39"> </td>
          </tr>
        </table></td>
  </tr>
    </table></td>
  </tr>
</table>
<!-- ###DOCUMENT_BODY### end -->
</body>
</html>

**mein setup**

```typoscript
seite = PAGE
seite.typeNum = 0
seite.stylesheet = fileadmin/style.css
seite.bodyTag = <body bgcolor="fffdee">
seite.10 = TEMPLATE
seite.10 {
template = FILE
template.file = fileadmin/template.html
workOnSubpart = DOCUMENT_BODY
marks.INHALT < styles.content.get
}
```

meine frage: was muss ich machen, wo ligt mein fähler

__DNAKE__

## Antworten

### [#2](https://www.typo3.net/d/25372-template-graue-seite/2) · adventuremaker · 2005-05-31

Der Marker ###INHALT### ist in deinem Template nicht definiert. Siehe Zeile 10 deines TS...

### [#3](https://www.typo3.net/d/25372-template-graue-seite/3) · tonik · 2005-05-31

> **adventuremaker schrieb:**
>
> Der Marker ###INHALT### ist in deinem Template nicht definiert. Siehe Zeile 10 deines TS...

ich glaube nicht das, das fähler ist ich kann Marker ###INHALT### rausnehmen

### [#4](https://www.typo3.net/d/25372-template-graue-seite/4) · adventuremaker · 2005-05-31

> **tonik schrieb:**
>
> ich glaube nicht das, das fähler ist ich kann Marker ###INHALT### rausnehmen

Ja doch, du spricht ihn ja in deinem TypoScript-Code an.
Du kannst nur Marker ansprechen, die auch in deinem (HTML-)Template stehen. In deinem Fall könntest du ###LOGO### und ###LEFTNAV### über marks ansprechen.
Versuchs mal!

### [#5](https://www.typo3.net/d/25372-template-graue-seite/5) · mstuebner · 2005-05-31

> **tonik schrieb:**
>
> > **adventuremaker schrieb:**
> >
> > Der Marker ###INHALT### ist in deinem Template nicht definiert. Siehe Zeile 10 deines TS...
>
> ich glaube nicht das, das fähler ist ich kann Marker ###INHALT### rausnehmen

Vermutlich hast Du den Hinweis nicht wirklich verstanden.

1. KEINEM der Marker in Deinem Template weist Du etwas zu
2. Den einzigen Marker dem Du etwas zuweist gibt es nicht
3. Der Marker LOGO1 ist nicht korrekt definiert

Resultierend aus 1 & 2 wird also schon mal definitiv nichts ausgegeben. Da in diesem Fall allerdings im Browserfenster ###LOGO###, ###LOGO1 und ###LEFTNAV### stehen.

Falls dies nicht der Fall ist sag ich einfach mal, dass es die template.html entweder:

a. nicht gibt
b. nicht in diesem Pfad gibt
c. Du keinen Zugriff darauf hast

### [#6](https://www.typo3.net/d/25372-template-graue-seite/6) · tonik · 2005-05-31

> **adventuremaker schrieb:**
>
> > **tonik schrieb:**
> >
> > ich glaube nicht das, das fähler ist ich kann Marker ###INHALT### rausnehmen
>
> Ja doch, du spricht ihn ja in deinem TypoScript-Code an.
> Du kannst nur Marker ansprechen, die auch in deinem (HTML-)Template stehen. In deinem Fall könntest du ###LOGO### und ###LEFTNAV### über marks ansprechen.
> Versuchs mal!

ich habe eine neue Marker andelegt

```typoscript
seite = PAGE
seite.typeNum = 0
seite.stylesheet = fileadmin/style.css
seite.bodyTag = <body bgcolor = "ff56ee">
seite.10 = TEMPLATE
seite.10 {
template = FILE
template.file = fileadmin/template.html
workOnSubpart = DOCUMENT_BODY
10.marks.TRAILER = TEXT
10.marks.TRAILER.value = TEST TEST TEST
}
```

es soll mir in der stelle TEST TEST TEST anzeigen.

es zeigt mir immer noch eine graue seite

### [#7](https://www.typo3.net/d/25372-template-graue-seite/7) · tonik · 2005-05-31

ok ich habs ein bissien geänder

```html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Unbenanntes Dokument</title>
</head>
<body>
<!-- ###DOCUMENT_BODY### start -->
<table width="732" border="0" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="732" height="107" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="174" height="107" valign="top">&nbsp;###LOGO###</td>
        <td width="374" valign="top">&nbsp;###TRAILER###</td>
        <td width="184" valign="top">&nbsp;</td>
        </tr>
    </table></td>
  </tr>
  <tr>
    <td height="479" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <!--DWLayoutTable-->
      <tr>
        <td width="174" height="440" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
              <!--DWLayoutTable-->
              <tr>
                <td width="174" height="24" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <!--DWLayoutTable-->
                  <tr>
                    <td width="174" height="24">&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td height="32" valign="top">&nbsp;###LEFTNAV###</td>
              </tr>
              <tr>
                <td height="384">&nbsp;</td>
              </tr>
        </table></td>
        <td width="375">&nbsp;</td>
        <td width="183" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr>
          <td width="183" height="25" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
            <!--DWLayoutTable-->
            <tr>
              <td width="183" height="25">&nbsp;</td>
            </tr>
          </table></td>
        </tr>
        <tr>
          <td height="415">&nbsp;</td>
        </tr>
        </table></td>
  </tr>
      <tr>
        <td height="39" colspan="3" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <!--DWLayoutTable-->
          <tr>
            <td width="732" height="39">&nbsp;</td>
          </tr>
        </table></td>
  </tr>
    </table></td>
  </tr>
</table>
<!-- ###DOCUMENT_BODY### end -->
</body>
</html>
```

```typoscript
seite = PAGE
seite.typeNum = 0
seite.stylesheet = fileadmin/style.css
seite.bodyTag = <body bgcolor = "ffeeee">
seite.10 = TEMPLATE
seite.10 {
template = FILE
template.file = fileadmin/template.html
workOnSubpart = DOCUMENT_BODY
10.marks.TRAILER = TEXT
10.marks.TRAILER.value = TEST TEST TEST
10.marks {
                LOGO = IMAGE
                LOGO.file = fileadmin/images/drache1
}
```

ich bekomme nixt angezeigt ause eine graue seite

### [#8](https://www.typo3.net/d/25372-template-graue-seite/8) · adventuremaker · 2005-05-31

Jetzt aber! #angry#   Der Marker, den du mit deinem TypoScript ansprichst (jetzt TRAILER), muss auch in der Datei "fileadmin/template.html" existieren.
Und solange du den da nicht in dem Format ###TRAILER### anlegest, wird auch nix ausgegeben. Wo nix is, kann auch nix ausgegeben werden. Und wenn du noch hundert Marker, die nicht existieren anzusprechen versuchst...
Lies dir doch mal die Beiträge durch! Matthias hat das doch nun echt schon ausführlich genug ausgeführt...  ;)

### [#9](https://www.typo3.net/d/25372-template-graue-seite/9) · Zwi · 2005-05-31

wie wäre es wenn du das mal anschaust(Seite 41)!
<http://www.typo3.net/uploads/media/dokumentation.pdf>

### [#10](https://www.typo3.net/d/25372-template-graue-seite/10) · tonik · 2005-05-31

> **Zwi schrieb:**
>
> wie wäre es wenn du das mal anschaust(Seite 41)!
> <http://www.typo3.net/uploads/media/dokumentation.pdf>

ok....

---

Quelle: „template graue seite“, typo3.net, https://www.typo3.net/d/25372-template-graue-seite
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
