Hi all,
I don't know if this asked before, I tried to search but these STS topics are jaust to long.
I have the following problem. I created my template etc. the code is like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html $htmlparams>
<head>
<!--$headcontent-->
<link rel="stylesheet" type="text/css" href="custom.css" />
</head>
<body>
<table class="main" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="vmenutop"></td>
<td class="dmenutop"></td>
<td class="logo"></td>
</tr>
<tr>
<td class="vmenu"></td>
<td class="dmenu"></td>
<td>
<table cellspacing="0">
<tr><td colspan="2" class="fw"></td></tr>
<tr>
<td class="thumbs"></td>
<td class="thumbs"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="vmenubottom"></td>
<td class="dmenutop"></td>
<td class="cop"></td>
</tr>
</table>
</body>
</html>
When I open the page in the browser and look at the page source I see that code from the default index.php is added screwing up my design.
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr class="header">
<td valign="middle"><a href="http://localhost/custom/catalog/index.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d"><img src="images/oscommerce.gif" border="0" alt="osCommerce" title=" osCommerce " width="204" height="50"></a></td>
<td align="right" valign="bottom"><a href="http://localhost/custom/catalog/account.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d"><img src="images/header_account.gif" border="0" alt="My Account" title=" My Account " width="30" height="30"></a>??<a href="http://localhost/custom/catalog/shopping_cart.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title=" Cart Contents " width="30" height="30"></a>??<a href="http://localhost/custom/catalog/checkout_shipping.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d"><img src="images/header_checkout.gif" border="0" alt="Checkout" title=" Checkout " width="30" height="30"></a>??</td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
<tr class="headerNavigation">
<td class="headerNavigation">??<a href="http://localhost" class="headerNavigation">Top</a> ? <a href="http://localhost/custom/catalog/index.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d" class="headerNavigation">Catalog</a></td>
<td align="right" class="headerNavigation"><a href="http://localhost/custom/catalog/account.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d" class="headerNavigation">My Account</a> ?|? <a href="http://localhost/custom/catalog/shopping_cart.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d" class="headerNavigation">Cart Contents</a> ?|? <a href="http://localhost/custom/catalog/checkout_shipping.php?osCsid=f68c5981bb1b28b7fc2d6d4e30049b5d" class="headerNavigation">Checkout</a> ??</td>
</tr>
</table>
<!-- header_eof //-->
<!-- body //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<tr>
<td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2">
<!-- left_navigation //-->
<!-- right_navigation_eof //-->
</table></td>
</tr>
</table>
<!-- body_eof //-->
<!-- footer //-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="LTR" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>osCommerce</title><base href="http://localhost/custom/catalog/">
<!-- start get_javascript(applicationtop2header) //-->
<!-- end get_javascript(applicationtop2header) //-->
<link rel="stylesheet" type="text/css" href="custom.css" />
</head>
<body>
<table class="main" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="vmenutop"></td>
<td class="dmenutop"></td>
<td class="logo"></td>
</tr>
<tr>
<td class="vmenu"></td>
<td class="dmenu"></td>
<td>
<table cellspacing="0">
<tr><td colspan="2" class="fw"></td></tr>
<tr>
<td class="thumbs"></td>
<td class="thumbs"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="vmenubottom"></td>
<td class="dmenutop"></td>
<td class="cop"></td>
</tr>
</table>
</body>
</html><!-- footer_eof //-->
<br>
</body>
</html>
As you can see, there are double tags und much of the default code is included. I created an index.php.html template in my template folder with exactly the same contents as my original template, but the problem was not solved. How can I get rid of the default code?? I think another user (albi ?? albo) posted pretty much the same problem few posts before, but I haven't see an answer yet. Could you help us out?
Thanks in advance
babil