---
title: "Template zeigt den Inhalt nicht an"
url: "https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an"
source: "typo3.net"
tags: ["Allgemein","Frage","Templates & Layouts"]
created: "2004-01-06"
last_reply: "2004-01-06"
replies: 12
solved: false
page: 1
pages: 1
lang: "de"
---

# Template zeigt den Inhalt nicht an

Allgemein · 12 Antworten · gestartet 2004-01-06

## Eröffnungsbeitrag

**Rebecca** · 2004-01-06 · [Beitrag #1](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/1)

Hallo,

ich habe ein kleines Problem:

Ich habe ein Template erstellt, nur leider zeigt es den Inhalt nicht an.

Hat jmd vielleicht eine Idee, woran das liegen könnte?

```html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<title>KUPER Kunststofftechnik - Kunststoff-Bearbeitung</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
h1        { color:#DEA902; font-weight:bold; font-size:22px; }
h2        { color:#DEA902; font-weight:bold; font-size:18px;}
h3        { color:#DEA902; font-weight:bold; font-size:14px; }
h4        { color:#DEA902; font-weight:bold; font-size:12px; }

a:link      { text-decoration:underline; color:#993333; }
a:visited     { text-decoration:underline; color:#993333; }
a:hover      { text-decoration:underline; color:#993333; }
a:active     { text-decoration:underline; color:#993333; }

a.linkadresse:link    { text-decoration:none; color:#DEA902; font-size:9px; line-height:9px; }
a.linkadresse:visited  { text-decoration:none; color:#DEA902; font-size:9px; line-height:9px; }
a.linkadresse:hover   { text-decoration:none; color:#DEA902; font-size:9px; line-height:9px; }
a.linkadresse:active   { text-decoration:none; color:#DEA902; font-size:9px; line-height:9px; }

a.linkrot:link    { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }
a.linkrot:visited  { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }
a.linkrot:hover   { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }
a.linkrot:active   { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }

a.linkgelb:link                { text-decoration:none; color:#DEA902; font-weight:bold; font-size:14px; }
a.linkgelb:visited        { text-decoration:none; color:#DEA902; font-weight:bold; font-size:14px; }
a.linkgelb:hover        { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }
a.linkgelb:active        { text-decoration:none; color:#AB233D; font-weight:bold; font-size:14px; }

a.linkpic:link                { text-decoration:none; color:#DEA902; font-size:12px; font-weight:bold; }
a.linkpic:visited        { text-decoration:none; color:#DEA902; font-size:12px; font-weight:bold; }
a.linkpic:hover                { text-decoration:none; color:#FFFFFF; font-size:12px; font-weight:bold; }
a.linkpic:active        { text-decoration:none; color:#FFFFFF; font-size:12px; font-weight:bold; }

.picbeschriftung        { font-family: Arial, Helvetica, sans-serif;color:#FFFFFF; font-size:12px; font-weight:bold; }

.fettgelb                         { font-family: Arial, Helvetica, sans-serif; color:#DEA902; font-weight:bold; font-size:14px; line-height:21px; }
.fettrot                         { font-family: Arial, Helvetica, sans-serif; color:#AB233D; font-weight:bold; font-size:14px; line-height:21px; }
.grossgelb                        { font-family: Arial, Helvetica, sans-serif; color:#DEA902; font-weight:bold; font-size:22px; line-height:21px; }
.adresse                        { font-family: Arial, Helvetica, sans-serif; color:#DEA902; font-size:9px; line-height:11px;}
.schwarz                         { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
.weiss						{ font-family: Arial, Helvetica, sans-serif; color:#ffffff; font-weight:bold; font-size:14px; line-height:21px; }

.bgoben                        { background-color:#AB233D; background-image:url(kunststoff/nav/hg_oben.gif); background-repeat:repeat-x;}

.bg90                         { background-color:#B4404A; background-image:url(kunststoff/nav/90_innen.gif); background-repeat:repeat-x;}
.bg90bearb                { background-color:#B4404A; background-image: url(kunststoff/nav/90_innenbearb.jpg); background-repeat:repeat-x;}
.bg90ohne                { background-color:#B4404A; background-image:url(kunststoff/nav/90_innenohne.gif); background-repeat:repeat-x;}

.bg80                        { background-color:#B74850; background-image:url(kunststoff/nav/80_innen.gif); background-repeat:repeat-x;}
.bg80bearb                { background-color:#B74850; background-image: url(kunststoff/nav/80_innenbearb.jpg);background-repeat:repeat-x; }
.bg80ohne                { background-color:#B74850; background-image:url(kunststoff/nav/80_innenohne.gif); background-repeat:repeat-x;}

.bg70                        { background-color:#BD565A; background-image:url(kunststoff/nav/70_innen.gif); background-repeat:repeat-x;}
.bg70bearb                { background-color:#BD565A; background-image: url(kunststoff/nav/70_innenbearb.jpg); background-repeat:repeat-x;}
.bg70ohne                { background-color:#BD565A; background-image:url(kunststoff/nav/70_innenohne.gif); background-repeat:repeat-x;}

.bg60                        { background-color:#C26262; background-image:url(kunststoff/nav/60_innen.gif); background-repeat:repeat-x;}
.bg60bearb                { background-color:#C26262; background-image: url(kunststoff/nav/60_innenbearb.jpg); background-repeat:repeat-x;}
.bg60ohne                { background-color:#C26262; background-image:url(kunststoff/nav/60_innenohne.gif); background-repeat:repeat-x;}

.bg50                        { background-color:#C86F6C; background-image:url(kunststoff/nav/50_innen.gif); background-repeat:repeat-x;}
.bg50bearb                { background-color:#C86F6C; background-image: url(kunststoff/nav/50_innenbearb.jpg); background-repeat:repeat-x;}
.bg50ohne                { background-color:#C86F6C; background-image:url(kunststoff/nav/50_innenohne.gif); background-repeat:repeat-x;}

.bg40                        { background-color:#CC7972; background-image:url(kunststoff/nav/40_innen.gif); background-repeat:repeat-x;}
.bg40bearb                { background-color:#CC7972; background-image: url(kunststoff/nav/40_innenbearb.jpg); background-repeat:repeat-x;}
.bg40ohne                { background-color:#CC7972; background-image:url(kunststoff/nav/40_innenohne.gif); background-repeat:repeat-x;}

.bgfarbe100         { background-color:#AB233D; }
.bgfarbe90                 { background-color:#B4404A; }
.bgfarbe80                { background-color:#B74850; }
.bgfarbe70                { background-color:#BD565A; }
.bgfarbe60                { background-color:#C26262; }
.bgfarbe50                { background-color:#C86F6C; }
.bgfarbe40                { background-color:#CC7972; }
.bgfarbe0                { background-color:#FFFFFF; }

body       { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; margin: 0cm 0cm 0cm 0cm; line-height:21px;}
br        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
div        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
em        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
hr        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
p         { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
form       { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
ul        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; list-style-image: url(kunststoff/nav/list_image.gif); }
ol        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; line-height:21px; }
th        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; }
img        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; }
table       { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; }
tr        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; }
td        { font-family: Arial, Helvetica, sans-serif; color:#000000; font-size:12px; }
</style>

</head>
<body>
<!-- ###DOKUMENT### begin -->
<table width="100%"  height="100%" border="0" cellpadding="0" cellspacing="0" class="bgfarbe100">
  <tr>
    <td align="center" valign="top">
<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bgfarbe0">
	<tr align="left" valign="bottom">
    	<td height="72" rowspan="2"><a href="http://demo.nid.de/quickstart/index.php?id=75"><img src="fileadmin/Image_Archive/logo_kunststoff_innen.gif" alt="Logo KUPER Kunststofftechnik" width="240" height="72"></a></td>
		  <td height="71" align="center" valign="bottom" nowrap="nowrap">###MENU_OBEN###</td>
	</tr>
	<tr align="left" valign="bottom">
		<td height="1" align="center" valign="bottom"><img src="fileadmin/Image_Archive/10x10.gif" alt="platzhalter" width="50" height="1"></td>
	</tr>
  	    <tr align="right" valign="bottom" class="bgoben">
		  <td height="85" colspan="2"><table width="95%"  border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td align="left" valign="middle" class="weiss">Alles f&uuml;r die Kunststoff-Bearbeitung aus einer Hand!<br>
				  Mit KUPER keine Kunst.<br></td>
				<td align="right" valign="bottom"><img src="fileadmin/Image_Archive/oben_bearbeitung.jpg" alt="Kunststoff-Bearbeitung" width="478" height="85"></td>
			  </tr>
			</table>
			
		  </td>
	</tr>
</table>	  
	  <table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bgfarbe0">
	    <tr>
    	  <td width="17%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg90">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/90.gif" alt="Sägen" width="70" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_saegen.php" class="linkpic">S&auml;gen</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table></td>
		  <td width="17%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg80">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/70.gif" alt="Fräsen/Lasern" width="58" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_fraesen.php" class="linkpic">Fr&auml;sen/Lasern</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table></td>
		  <td width="17%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg70">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/80.gif" alt="Bohren" width="47" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_bohren.php" class="linkpic">Bohren</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table></td>
		  <td width="17%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg60">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/60.gif" alt="Drehen" width="59" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_drehen.php" class="linkpic">Drehen</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table></td>
		  <td width="16%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg50">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/50.gif" alt="Werkzeuge" width="55" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_werkzeuge.php" class="linkpic">Werkzeuge</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table></td>
		  <td width="16%" height="65" align="center" valign="top">
			<table width="100%"  border="0" cellpadding="0" cellspacing="0" class="bg40">
			  <tr align="center" valign="top">
				<td height="65" rowspan="2" align="right"><img src="fileadmin/Image_Archive/40.gif" alt="Sonstige" width="66" height="41" align="middle"></td>
				<td height="24" align="left" valign="middle"><a href="bearbeitung_sonstige.php" class="linkpic">Sonstige</a></td>
			  </tr>
			  <tr>
				<td height="41">&nbsp;</td>
			  </tr>
			</table>
###INHALT###
			</td>
		</tr>
  		<tr>
    	<td height="340" colspan="6" align="center" valign="top">
    	  
    	  </td>
		</tr>						  
	  </table>
<p>	  <span class="grossgelb">Kunststoff-Bearbeitung</span><br>
	  <br>
	  <span class="adresse">&copy; Heinrich KUPER GmbH &amp; Co. KG | Bruchstra&szlig;e 13 - 19 | 33397 Rietberg | Germany | Phone +49 (0) 52 44/9 84 - 0 | Fax +49 (0) 52 44/9 84 - 2 01 | <a href="http://www.kuper.de" class="linkadresse">www.KUPER.de</a></span></p>	  </td>
  </tr>
</table>
<!-- ###DOKUMENT### end --> 
</body>
</html>
```

Hier noch der Link zu der Seite:

<http://demo.nid.de/quickstart/>

Ich bin für jede Hilfe dankbar.

MfG
Rebecca

## Antworten

### [#2](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/2) · Stoneage · 2004-01-06

Bitte Spam uns nicht zu, es ist nicht nötig den gesamten Quelltext der Seite zu posten. Interessant sind ja eigentlich nur die Marker und das Typoscript. Die Marker sehen korrekt aus. Über das TS kann ich keine Aussage machen, weil hast du nicht gepostet.

Grüße,

C.

### [#3](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/3) · Rebecca · 2004-01-06

Danke für die schnelle Antwort.
Sorry, wollte euch nicht ärgern.

Hier noch mein TS:

```typoscript
config.admPanel=1
page.stylesheet = fileadmin/css/style.css
seite = PAGE 
seite.typeNum = 0 
# Template initialisieren 
seite.10=TEMPLATE 
seite.10{ 
  template = FILE 
  template.file = fileadmin/kuper.tmpl 
  ####################################################################
  # den Marker mit einem Menü ersetzen (oben)
  marks.MENU_OBEN=HMENU
  marks.MENU_OBEN.entryLevel=0
  marks.MENU_OBEN.1=TMENU
  marks.MENU_OBEN.1.NO{
   linkWrap = <font size="2" face="Arial, Verdana, sans-serif">||&nbsp;I&nbsp;|</font>
  }
  ####################################################################
  #Menü IMPRESSUM 
  marks.IMPRESSUM=HMENU 
  #marks.IMPRESSUM.1=TMENU 
  1.special=directory 
  1.special.value=52 
  1.entryLevel=1
  ####################################################################
  #Inhalt einfügen
  marks.INHALT= CONTENT
  marks.INHALT.table= tt_content
}
```

MfG
Rebecca

### [#4](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/4) · Unbekannter Benutzer · 2004-01-06

Hi Rebecca

Check doch nochmal die Platzierung deines Markers
###INHALT###

Scheint mir als wäre der in der Navi-Tabelle anstatt im
eigentlichen Inhalts Teil platziert.

peay

### [#5](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/5) · Rebecca · 2004-01-06

Danke für die schnelle Antwort.
Nee, leider nicht. Habe das jetzt aktualiesiert. (Habe neben dem Marker "Test" hingeschrieben). Die Platzierung passt.

Hast du vielleicht noch eine Idee?

MfG
Rebecca

### [#6](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/6) · stevenx · 2004-01-06

Versuchs mal hiermit:

```typoscript
#Inhalt einfügen 
  seite.20.marks.INHALT= CONTENT 
  seite.20.marks.INHALT.table= tt_content
```

Grüße

Steven

### [#7](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/7) · Rebecca · 2004-01-06

Hat leider nicht geklappt.
Jetzt steht über all, wo ich ###INHALT### eingesetzt habe (zu Testzwecken) ###INHALT###.

Hast du vielleicht noch eine Idee?

MfG
Rebecca

### [#8](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/8) · Unbekannter Benutzer · 2004-01-06

Was hast du den alles im Include Static ausgewählt...?

### [#9](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/9) · Rebecca · 2004-01-06

Was ist das "Include Static " oder wo finde ich das?

Ich habe das via Dokumentation programmiert. (Habe heute erst damit angefangen).

### [#10](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/10) · Stoneage · 2004-01-06

So geht das nicht. Du must ihm doch erst sagen wo er arbeiten soll. workondokument = dokument oder so.

c.

### [#11](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/11) · Unbekannter Benutzer · 2004-01-06

Hallo

Falls du nach Doku gearbeitet hast wirst du vermutlich
was übersehen haben...

Schätze Tetramatrix meint was in diese Richtung...

Vorher....:

> **Rebecca schrieb:**
>
> Danke für die schnelle Antwort.
> Sorry, wollte euch nicht ärgern.
>
> Hier noch mein TS:
>
> ```typoscript
> config.admPanel=1
> page.stylesheet = fileadmin/css/style.css
> seite = PAGE 
> seite.typeNum = 0 
> # Template initialisieren 
> seite.10=TEMPLATE 
> seite.10{ 
>   template = FILE 
>   template.file = fileadmin/kuper.tmpl 
>   ####################################################################
>   # den Marker mit einem Menü ersetzen (oben)
>   marks.MENU_OBEN=HMENU
>   marks.MENU_OBEN.entryLevel=0
>   marks.MENU_OBEN.1=TMENU
>   marks.MENU_OBEN.1.NO{
>    linkWrap = <font size="2" face="Arial, Verdana, sans-serif">||&nbsp;I&nbsp;|</font>
>   }
>   ####################################################################
>   #Menü IMPRESSUM 
>   marks.IMPRESSUM=HMENU 
>   #marks.IMPRESSUM.1=TMENU 
>   1.special=directory 
>   1.special.value=52 
>   1.entryLevel=1
>   ####################################################################
>   #Inhalt einfügen
>   marks.INHALT= CONTENT
>   marks.INHALT.table= tt_content
> }
> ```
>
> MfG
> Rebecca

und nachher...:

> config.admPanel=1
> page.stylesheet = fileadmin/css/style.css
> seite = PAGE
> seite.typeNum = 0
> # Template initialisieren
> seite.10=TEMPLATE
> seite.10{
>   template = FILE
>   template.file = fileadmin/kuper.tmpl
>
>   #Definiert Inhalt für Body Tag
>   worksOnSubpart = DOKUMENT   //oder wie auch immer du den Subpart benammst hast
>
> ####################################################################
>   # den Marker mit einem Menü ersetzen (oben)
>   marks.MENU_OBEN=HMENU
>   marks.MENU_OBEN.entryLevel=0
>   marks.MENU_OBEN.1=TMENU
>   marks.MENU_OBEN.1.NO{
>    linkWrap = <font size="2" face="Arial, Verdana, sans-serif">||&nbsp;I&nbsp;|</font>
>   }
>   ####################################################################
>   #Menü IMPRESSUM
>   marks.IMPRESSUM=HMENU
>   #marks.IMPRESSUM.1=TMENU
>   1.special=directory
>   1.special.value=52
>   1.entryLevel=1
>   ####################################################################
>   #Inhalt einfügen
>   marks.INHALT= CONTENT
>   marks.INHALT.table= tt_content
> }

Was eigentlich so funktionieren sollte...

@Tetramatrix....Stimmt habe ich übersehen.  ;)

Gruss peay

### [#12](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/12) · Rebecca · 2004-01-06

Habe es jetzt eingefügt, aber leider klappt es immer noch nicht (bin auch noch mal die Syntax meines Templates durchgeganen).

```typoscript
seite.10{ 
  template = FILE 
  template.file = fileadmin/kuper.tmpl 
  workondokument = DOKUMENT
####################################################################
  # den Marker mit einem Menü ersetzen (oben)
  marks.MENU_OBEN=HMENU
  marks.MENU_OBEN.entryLevel=0
  marks.MENU_OBEN.1=TMENU
  marks.MENU_OBEN.1.NO{
   linkWrap = <font size="2" face="Arial, Verdana, sans-serif">||&nbsp;I&nbsp;|</font>
  }
.
.
.
```

Hast du vielleicht noch eine Idee?

LG
Rebecca

### [#13](https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an/13) · Unbekannter Benutzer · 2004-01-06

Hi Rebecca

versuchs nochmal so...

> ---schnipp---
> template = FILE
> template.file = fileadmin/kuper.tmpl
>
> #Definiert Inhalt für Body Tag
> worksOnSubpart = DOKUMENT //oder wie auch immer du den Subpart benammst hast
>
> ####################################################################
> # den Marker mit einem Menü ersetzen (oben)
> marks.MENU_OBEN=HMENU
> marks.MENU_OBEN.entryLevel=0
> ---schnapp---

Beachte **worksOnSubpart** anstatt workondokument

Gruss peay

---

Quelle: „Template zeigt den Inhalt nicht an“, typo3.net, https://www.typo3.net/d/8044-template-zeigt-den-inhalt-nicht-an
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
