Ich denke nicht, daß ich so schlecht bin. www.in-memoriam-gabi.de habe ich mir ja auch überwiegend selbstständig gemacht.
Wie erstlle ich am besten ein eigenes Template ??
Hi,
sagt doch auch niemand das Du "schlecht" bist.
Nur leider gibts bei deiner Installation irgendwo einen HTML Fehler. Den kann man aber leider nicht sehen. Entweder kopierste nochmal alles aus meinem ZIP oder Du legst mal deine Sourcedateien offen.
Gruss
Andreas
Es ist fast 2 Uhr und ich drehe mir einen Wolf.....
Es kommt immer noch sehr selbe Mist heraus, egal was ich mache.
Typo3 zerschiesst mir die Tabellen.....
Vor dem Durchlaufen durch Typo3 habe ich ein bildhübsches Template und dannach, also online, kommt nur www.qm-konzepte.de heraus.
Heul!!!!!!
Außerdem kommt immer nur HTML heraus, ich will XHTML. Ich habe das natürlich in der Source Optimization und im Template entsprechend berücksichtigt.
Hier mein HTML-Template vor dem DUrchlauf durch Typo3:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- ###DOKUMENT### -->
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="generator" content="Adobe GoLive 6" />
<title>Moellers-Design.de - webdesign softwareentwicklung</title>
<link href="style.css" rel="stylesheet" media="screen" />
</head>
<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<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" height="100%">
<table width="750" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5"><img src="fileadmin/img/1pxtrans.gif" alt="" height="5" width="5" 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="5" border="0"/></td>
</tr>
<tr>
<td valign="top">
<table width="751" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="fileadmin/img/home/img_home_left.jpg" alt="" height="174" width="25" border="0"/></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">###NAVI###</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">###LANGUAGE###</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=498&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 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 width="571" height="175" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="194" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="194" height="174">
<param name="movie" value="fileadmin/swf/cyberhouse_home1.swf"/>
<param name="quality" value="high"/><param name="SCALE" value="noborder"/>
<embed src="fileadmin/swf/cyberhouse_home1.swf" width="194" height="174" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="noborder"></embed></object>
</td>
<td width="377" valign="top"><img src="fileadmin/img/home/home_right.jpg" width="377" height="174"/></td>
</tr>
<tr>
<td colspan="2"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"/></td>
</tr>
<tr>
<td colspan="2">
<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>
<td class="ft10px333333" valign="top" bgcolor="#ddf0fa" width="144" height="100%">###LEFTFRAME###</td>
<td width="50" height="100%"> </td>
<td valign="top" width="377" height="100%">
<table width="370" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333" align="right" valign="bottom" height="20">###PFAD###</td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
<tr>
<td class="ft10px333333">
<table width="360" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333">###CONTENT###</td>
</tr>
</table></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
<tr>
<td class="ft10px333333"><b>NEWS</b></td>
</tr>
<tr>
<td class="ft10px333333"><img src="fileadmin/img/dottedlinenews.gif" alt="" height="7" width="361" border="0"/></td>
</tr>
<tr>
<td class="ft10px333333">
<table width="355" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333">###NEWS###</td>
</tr>
</table></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
</table></td>
</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 width="468" height="18" align="center" class="ft10px666666"><div align="left">by<a href="http://www.bellowski.de" target="_blank">Bellowski Entertainment</a> 2004</div></td>
<td width="283" align="center" class="ft10px666666"><div align="right"><a href="http://bellowski.de/index.php?id=334">Home</a>
| <a href="http://bellowski.de/index.php?id=123">Impressum</a>
| <a href="http://bellowski.de/index.php?id=346">Kontakt</a></div></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>
Und dann auf der Website:
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2004 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->
<style type="text/css">
/*<![CDATA[*/
<!--
/* default styles for extension "tx_mininews_pi1" */
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser { margin-bottom:15px; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-teaser { margin-top:0px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-singleView P.tx-mininews-pi1-singleViewField-teaser { font-style:italic; margin-top:5px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-browsebox P SPAN.tx-mininews-pi1-browsebox-strong { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A { color:black; text-decoration:none; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A:hover { color:black; text-decoration:none; }
/* default styles for extension "tx_indexedsearch" */
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button { width:100px; }
.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword { width:150px; }
.tx-indexedsearch .tx-indexedsearch-whatis P .tx-indexedsearch-sw { font-weight:bold; font-style:italic; }
.tx-indexedsearch .tx-indexedsearch-whatis { margin-top:10px; margin-bottom:5px; }
.tx-indexedsearch P.tx-indexedsearch-noresults { text-align:center; font-weight:bold; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title { background:#eeeeee; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P { font-weight:bold; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title P.tx-indexedsearch-percent { font-weight:normal; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P { font-style:italic; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-descr P .tx-indexedsearch-redMarkup { color:red; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info { background:#eeeeff; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead { margin-top:20px; margin-bottom:5px; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead H2 { margin-top:0px; margin-bottom:0px; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TABLE { background:#cccccc; }
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-secHead TD { vertical-align:absmiddle; }
/* default styles for extension "tx_fdfxtextanimator_pi1" */
p.fdfx_main {font-family: Courier;font-size: 10pt;font-weight: normal;text-align:left;}
.fdfx_textanimlink{text-decoration : none;}
.fdfx_textanim{width:140;}
-->
/*]]>*/
</style>
<link rel="stylesheet" type="text/css" href="fileadmin/style.css" />
<title>Templatebook: Templatebook</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="TYPO3 3.6 CMS" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}
// -->
/*]]>*/
</script>
</head>
<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="generator" content="Adobe GoLive 6" />
<title>Moellers-Design.de - webdesign softwareentwicklung</title>
<link href="style.css" rel="stylesheet" media="screen" />
</head>
<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
<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" height="100%">
<table width="750" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="5"><img src="fileadmin/img/1pxtrans.gif" alt="" height="5" width="5" 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="5" border="0"/></td>
</tr>
<tr>
<td valign="top">
<table width="751" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="25" valign="top">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="fileadmin/img/home/img_home_left.jpg" alt="" height="174" width="25" border="0"/></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"><tr><td><a href="182.0.html" onfocus="blurLink(this);">dfgdf</a></td></tr><tr><td><a href="181.0.html" onfocus="blurLink(this);">luiliu</a></td></tr><tr><td><a href="180.0.html" onfocus="blurLink(this);">uliuil</a></td></tr><tr><td><a href="179.0.html" onfocus="blurLink(this);">uilui</a></td></tr><tr><td><a href="171.0.html" onfocus="blurLink(this);">sdfsdfsd</a></td></tr></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"><table border=0 cellpadding=0 cellspacing=0><tr><td><img src=clear.gif width=30 height=1></td><td><img src="t3lib/gfx/content_client.gif" width="7" height="10" align=middle><a href="index.php?id=170&L=0" target=_top><img src="media/uploads/flag_de.gif" width="21" height="13" hspace=5 border="0"></a><a href="index.php?id=170&L=3" target=_top><img src="media/uploads/flag_uk_d.gif" width="21" height="13" hspace=5 border="0"></a></td></tr></table></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=498&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 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 width="571" height="175" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="194" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="194" height="174">
<param name="movie" value="fileadmin/swf/cyberhouse_home1.swf"/>
<param name="quality" value="high"/><param name="SCALE" value="noborder"/>
<embed src="fileadmin/swf/cyberhouse_home1.swf" width="194" height="174" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="noborder"></embed></object>
</td>
<td width="377" valign="top"><img src="fileadmin/img/home/home_right.jpg" width="377" height="174"/></td>
</tr>
<tr>
<td colspan="2"><img src="fileadmin/img/1pxtrans.gif" alt="" height="1" width="1" border="0"/></td>
</tr>
<tr>
<td colspan="2">
<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>
<td class="ft10px333333" valign="top" bgcolor="#ddf0fa" width="144" height="100%"></td>
<td width="50" height="100%"> </td>
<td valign="top" width="377" height="100%">
<table width="370" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333" align="right" valign="bottom" height="20"><a href="170.0.html" onfocus="blurLink(this);">Templatebook</a></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
<tr>
<td class="ft10px333333">
<table width="360" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333"></td>
</tr>
</table></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
<tr>
<td class="ft10px333333"><b>NEWS</b></td>
</tr>
<tr>
<td class="ft10px333333"><img src="fileadmin/img/dottedlinenews.gif" alt="" height="7" width="361" border="0"/></td>
</tr>
<tr>
<td class="ft10px333333">
<table width="355" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="ft10px333333"></td>
</tr>
</table></td>
</tr>
<tr>
<td class="ft10px333333"> </td>
</tr>
</table></td>
</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 width="468" height="18" align="center" class="ft10px666666"><div align="left">by<a href="http://www.bellowski.de" target="_blank">Bellowski Entertainment</a> 2004</div></td>
<td width="283" align="center" class="ft10px666666"><div align="right"><a href="http://bellowski.de/index.php?id=334">Home</a>
| <a href="http://bellowski.de/index.php?id=123">Impressum</a>
| <a href="http://bellowski.de/index.php?id=346">Kontakt</a></div></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>
</body>
</html>
Warum hat die Source Optimization keinen Einfluß?
Meine Source-Optimization-relevanten Einstellungen in den Constants sind:
################################
source_optimization.enabled = 1
source_optimization.remove_script_cdata = 0
source_optimization.remove_comments = 0
source_optimization.keep_typo3_copyright = 0
source_optimization.emtpy_body_tag = 0
source_optimization.move_inline_css = 1
source_optimization.remove_link_schema = 1
source_optimization.remove_empty_alt_atr = 0
source_optimization.remove_generator = 1
remove_empty_lines = 1
source_optimization.remove_new_lines = 0
source_optimization.trim_lines = 0
source_optimization.remove_blur_script = 0
source_optimization.remove_tabs = 1
source_optimization.move_inline_css_file = fileadmin/templatebookso.css
source_optimization.alternate_html_xhtml_language = en
source_optimization.replace_doctype = <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
source_optimization.replace_clear_gif =
####################################
Und in Setup:
config.xhtml_cleaning = all
page.config.doctype = xhtml_trans
Hast du mal den Typo3 Cache geleert?
Hi,
welche Tabelle sorgt denn für das komische Aussehen.
Gruss
Andreas
Sicherlich habe ich die Caches geleert.
Welche Tabelle? Meinst DU die HTML-Tabelle? Ich weiß nicht, ich denke das Problem ist grundsätzlich: Typo3 weigert sich ja beharrlich xhtml zu liefern.......
also mir ist da viel zuviel falscher und überflüssiger code dabei...
habs echt versucht den quelltext zu lesen, aber für so früh am morgen ist das echt n hartes brot...
Ich habe den Fehler im Template selbst gefunden! Halleluja!!!!!
Typo3 macht da viel Mist dazu und der HTML-Code wird fehlerhaft:
Vor Typo3:
<td height="25">
<table border="0" cellspacing="0" cellpadding="0" height="25">###LANGUAGE###</table>
</td>
Nach Typo3 (dabei wird "###Language###" ersetzt):
<td height="25">
<table border="0" cellspacing="0" cellpadding="0" height="25"><table border=0 cellpadding=0 cellspacing=0><tr><td><img src=clear.gif width=30 height=1></td><td><img src="t3lib/gfx/content_client.gif" width="7" height="10" align=middle><a href="index.php?id=87&L=0" target=_top><img src="media/uploads/flag_de.gif" width="21" height="13" hspace=5 border="0"></a><a href="index.php?id=87&L=3" target=_top><img src="media/uploads/flag_uk_d.gif" width="21" height="13" hspace=5 border="0"></a></td></tr></table></table>
</td>
Entfernt man alles Rote, so stimmt der HTML-Code wieder..... Der Fehler kommt durch das Einfügen eines weiteren <table> ..... </table> - Definition.
1.) Die Frage ist nur: Wie kann ich das in Typo3 verhindern?????? Wie kriege ich Typo3 dazu, das richtig zu ersetzen? Oder ist das ein Bug und sollte gemeldet werden?
Der Marker "LANGUAGE" wird im Setup per
marks.LANGUAGE = PHP_SCRIPT
marks.LANGUAGE {
file = fileadmin/scripts/my_languageMenu.php
}
ersetzt.
Kommentiere ich diese Zeilen aus, so stimmt das HTML auch wieder!
2.) Wieso hat die Source Optimization mittels gleichnamiger Extension keine Wirkung? Es wird also kein XHTML ausgegeben obwohl Setup, Constants und HTML angepasst wurden.
Vielen Dank für jede Antwort.
Hi,
wenn ich das richtig sehe includest Du ja nur eine PHP Datei. Eigentlich müsste die Ausgabe ja in dieser formatiert sein. Schau mal in die my_languageMenu.php.
Gruss
Andreas
..oder du schreibst in dein html-template noch ein umschließendes <tr><td></td></tr> rein und es passt genauso. Auf jeden Fall ist dieser spezielle Fall kein Problem von typo3 (kommt halt davon, wenn man vorgefertigte phps inkludiert und da nicht mal reinschaut und überlegt was diese anstellen, bzw. wie man sie richtig einbindet 😉 😉 )
Moellers schriebEigentlich müsste die Ausgabe ja in dieser formatiert sein. Schau mal in die my_languageMenu.php.
yo, genauso isses auch. die flaggen in der language-datei sind in einer tabelle.
außerdem:
wie kommt man überhaupt auf die idee, einen marker so einzubinden?
<table border="0" cellspacing="0" cellpadding="0" height="25">###LANGUAGE###</table>
das kann doch nicht klappen. ist doch total unlogisch.
VIELEN VIELEN VIELEN DANK!!!
Ich habe jetzt <tr><td></td></tr> im Template hinzugefügt und damit klappt es auch ganz prima.
Warum aber kein XHTML herauskommt, sondern nur
<!DOCTYPE html
PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
, kann mir keiner sagen?
Bei mir steht in der Constants:
source_optimization.enabled = 1
source_optimization.remove_script_cdata = 0
source_optimization.remove_comments = 0
source_optimization.keep_typo3_copyright = 0
source_optimization.emtpy_body_tag = 0
source_optimization.move_inline_css = 1
source_optimization.remove_link_schema = 1
source_optimization.remove_empty_alt_atr = 0
source_optimization.remove_generator = 1
remove_empty_lines = 1
source_optimization.remove_new_lines = 0
source_optimization.trim_lines = 0
source_optimization.remove_blur_script = 0
source_optimization.remove_tabs = 1
source_optimization.move_inline_css_file = fileadmin/templates/bellowski/bellowskiso.css
source_optimization.alternate_html_xhtml_language = en
source_optimization.replace_doctype = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
source_optimization.replace_clear_gif =
Und im Setup:
config.xhtml_cleaning = all
page.config.doctype = xhtml_trans
Natürlich habe ich die Extension "Source Optimization" installiert.
Hurrah!!!
Es funktioniert jetzt. Ich habe die Extension "Source Optimization" komplett deinstalliert und danach neu installiert. Und plötzlich funktioniert es auch bei diesem Template.
???
Das ist ja wie bei Windows.... :-D
@ Andreas B.
Ich versuche auch gerade eine Seite zu validieren... bin also auch noch kein Profi. Desshalb verstehe mich richtig:
Dass: Bild: in-memoriam-gabi.de/…/valid-xhtml10.gif einzubinden obwohl die Seite nicht valid ist, ist wohl nicht sehr empfehlenswert. *nicht böse gemeint*
gruss GreenBanana