Hallo,
ich lerne mich gerade in TYPO3 ein und verstehe nicht, wie einen Standardeintrag von TYPO3 wegbekomme.
Ich habe eine Home-Site unter WEB-Seite mit dem Assistenten angelegt. Wenn ich jetzt das Template unter WEB-Template anlege, erhalte besagte Standardseite mit "HELLO WORLD!" und dem Preview-Image.
Wenn ich mein Template wie folgt edititiere
# Default PAGE object:
seite = PAGE
seite.typeNum = 0
seite.bodyTag = <body bgcolor='#ffffff' leftmargin='0' marginheight='0' marginwidth='0' topmargin='0'>
seite.stylesheet = fileadmin/style.css
seite.10 = TEMPLATE
seite.10 {
template = FILE
template.file = fileadmin/main_templ.html
workOnSubpart = DOKUMENT
}
steckt im HTML-Code folgender Code nach dem HTML-Abschlußtag noch drinnen:
<br />
<div align="center">
<table border="3" bordercolor="black" cellpadding="2" bgcolor="red">
<tr>
<td> <font face="Verdana" size="1"><b>PREVIEW!</b></font> </td>
</tr>
</table>
</div>
Was muß ich machen, daß TYPO diesen CODE nicht mehr generiert?
Meine main_templ.html sieht so aus:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="">
<title>CYBERhouse - interactive communications</title>
<link href="fileadmin/style.css" rel="stylesheet" media="screen">
</head>
<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<!--###DOKUMENT###-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td align="right" valign="top" background="fileadmin/img/linksrechts.gif">
<table border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="top" background="fileadmin/img/shadowbgleft.gif"><img src="fileadmin/img/shadowbgleft.gif" alt="" height="18" width="16" border="0"></td>
</tr>
</table>
</td>
<td width="5"> </td>
<td valign="top" width="750">
<table border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td height="5"><img src="fileadmin/img/1pxtrans.gif" alt="" height="5" width="1" border="0"></td>
</tr>
<tr>
<td height="66"><a href="index.php"><img src="fileadmin/img/headergrafik.gif" alt="" height="66" width="750" border="0"></a></td>
</tr>
<tr>
<td height="5"><img src="fileadmin/img/1pxtrans.gif" alt="" height="5" width="1" border="0"></td>
</tr>
<tr>
<td valign="top" height="100%">
<table border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="top" height="100%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25">###HEADERIMGLEFT###</td>
</tr>
<tr>
<td height="1"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td class="ft10px333333" bgcolor="#005b78" height="15"> </td>
</tr>
</table>
</td>
<td width="1"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
<td width="1" height="100%" background="fileadmin/img/verticallinedown.gif"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
<td width="4" height="100%"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
<td align="center" valign="top" width="145" height="100%">
<table width="142" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
###MENUE###
</table></td>
</tr>
<tr>
<td height="5"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td background="fileadmin/img/naviline.gif"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td height="25">
<table border="0" cellspacing="0" cellpadding="0" height="25">
###SPRACHE###
</table></td>
</tr>
<tr>
<td background="fileadmin/img/naviline.gif"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
<tr>
<td>
<form action="fileadmin/../index.php?id=57&L=###LANGID###&tx_indexedsearch[sword]" method="POST" name="FormName">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333" width="4" height="20"> </td>
<td class="ft10px333333" width="110" height="20" nowrap>SEARCH
<input class="formular" type="text" name="tx_indexedsearch[sword]" size="8"> </td>
<td class="ft10px333333" height="20"><input name="image" type="image" src="fileadmin/img/suchenlupe.gif"></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
<td width="1" height="100%" background="fileadmin/img/verticallinedown.gif"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
<td width="1" height="100%"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
<td width="572" height="100%" valign="top">
<table border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="571">###HEADERIMG###</td>
</tr>
<tr>
<td><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333" bgcolor="#005b78" width="144"> </td>
<td class="ft10px333333" width="50"><img src="fileadmin/img/dotedpoints.gif" alt="" height="15" width="50" border="0"></td>
<td class="ft10px333333" bgcolor="#005b78"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td valign="top" height="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
###INHALT###
</tr>
</table>
</td>
</tr>
</table> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" background="fileadmin/img/bottomline.gif"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"></td>
</tr>
<tr>
<td class="ft10px666666" align="center" height="18">CYBERhouse | Holzstrasse 2 | A-4020 Linz | Tel. +43 (0)732/78 12 98-0 | Fax: DW 220 | e-mail: <a href="mailto:office@cyberhouse.at">office@cyberhouse.at</a></td>
</tr>
</table>
</td>
<td width="5"> </td>
<td valign="top" background="fileadmin/img/linksrechts.gif">
<table border="0" cellspacing="0" cellpadding="0" height="100%">
<tr>
<td valign="top" background="fileadmin/img/shadowbgright.gif"><img src="fileadmin/img/shadowbgright.gif" alt="" height="18" width="16" border="0"></td>
</tr>
</table>
</td>
</tr>
</table>
<!--###DOKUMENT###-->
</body>
</html>
MfG
Andreas