Zum Inhalt springen

Template wird nicht angezeigt, wenn man workOnSubpart angibt!

Erstellt am 29. Mai 2006 · 2 Antworten · letzte Antwort am 30. Mai 2006

Tags: Templates & Layouts, Frage

guitarfreak089 ·

Hallo!

wisst ihr, wieso mein Template nicht angezeigt wird, wenn ich "workOnSubpart" angebe ?!

hier erstmal das TS:

seite = PAGE
 seite {
	typeNum = 0
	bodyTag= <body bgcolor="#CCCCCC">
	
	#Template deklarierung
	10 = TEMPLATE	
	10.template = FILE
	10.template.file = fileadmin/navi4.html
	10.workOnSubpart = DOKUMENT
}

und hier das HTML-DOKUMENT:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250" />
  <title>Template</title>
  </head>
  <body>


<!-- ###DOKUMENT### begin --> 

<table width="100%" cellspacing="0" cellpadding="0">
<tr>
 <td>
  <table width="100%" bordercolor="#000" cellspacing="0" cellpadding="0">
  <td width="300px" height="150px">###head1###</td><td>###head2###</td>
  </table>
 </td>
</tr>
<tr>
 <td align="right" bgcolor="#478951">###navi2###</td>
</tr>
<tr>
 <td>
  <table width="100%" bordercolor="#000" cellspacing="0" cellpadding="0">
   <td bgcolor="#478951" width="150px">###navi1###</td>
   <td width="400px">###content###</td>
   <td width="150px" bgcolor="#e2f5e5">###rechts###</td>
 </td>
</tr>
</table>


  </body>
</html>

Vielen dank ! :o 😢