Hello.
I created a Page and a Product Template, and everything is "fine", except code is generated below the closing HTML tag.
See http://cloud9sales.com/shopsite_sc/store/html/TT.html.
_____________________________________________________________
Here is the Product Template:
[-- DEFINE PRODUCT --]
[-- IF PRODUCT.Field1 --]
<span class="TProdHP_Line">[-- PRODUCT.Field1 --]</span>
[-- END_IF --]
[-- IF PRODUCT.Field3--]
<br>
<a CLASS="LinkTop" HREF="[-- PRODUCT.Field3 --]" target="_top">
[-- IF PRODUCT.Graphic --]
[-- PRODUCT.Graphic --]
[-- END_IF --]
</a>
[-- END_IF --]
[-- IF PRODUCT.Field2 --]
<br>
<span class="TProdHP_Subline">[-- PRODUCT.Field2 --]</span>
[-- END_IF --]
[-- END_DEFINE PRODUCT --]
_____________________________________________________________
Here is the Page Template:
###########################
[-- DEFINE LINK_TO_PAGE --]
###########################
# Create the link *to* this page, which is used by other pages
# LinkGraphic, LinkText, and Link TextWrap are not used in this template
<a class="pagelink" href="[-- OUTPUT_DIRECTORY_URL --]/[-- Page.FileName --]">
[-- IF PAGE.LinkName --]
[-- PAGE.LinkName --]
[-- ELSE --]
[-- PAGE.Name --]
[-- END_IF --]
</a>
###############################
[-- END_DEFINE LINK_TO_PAGE --]
###############################
###################
[-- DEFINE PAGE --]
###################
[-- VAR.PageName PAGE.Name --]
[-- VAR.PageFilename PAGE.Filename --]
[-- VAR.PageWidth PAGE.PageWidth --]
[-- VAR.TextColor "#333366" --]
[-- VAR.LinkBorderColor "#333366" --]
[-- VAR.border 0 --]
[-- VAR.align "center" --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- Title, META tags, External Cascading Style Sheet, and Javascript File -->
<title> [--PAGE.linktext Remove_Html --] Twirly Things: Home Page </title>
<meta http-equiv="PICS-Label" content="Rating META Tag">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description" content="[-- PAGE.MetaDescription --]">
<meta name="keywords" content="[-- PAGE.MetaKeywords --]">
<link href="styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="JavaScript" SRC="javascript/cnsjs.js"> </script>
</head>
<body background="[-- PAGE.BackgroundImage --]">
<center>
<a name="Top"> </a>
<!-- Table 1: Outer border of Matte -->
<table width="100%" align="center" cellpadding="25" border="0" summary="Table 1: Outer border of Matte">
<tr>
<td height="100%" align="center" valign="middle">
<!-- Table 2: Black Background Matte -->
<table width="85%" align="center" cellpadding="0" border="0" summary="Table 2: Black Background Matte">
<tr>
<td height="85%" bgcolor="#000000" align="center" valign="middle">
<!-- Table 3: Navy Matte -->
<table width="100%" cellpadding="8" border="0" align="center" summary="Table 3: Navy Matte">
<tr>
<td bgcolor="[-- VAR.TextColor --]" align="center" valign="middle" height="100%">
<!-- Table 4: Light Gray BG Matte -->
<table width="100%" cellpadding="0" border="0" align="center" summary="Table 4: Light Gray BG Matte">
<tr>
<td bgcolor="#999999" valign="middle" align="center" height="100%">
<!-- Table 5: Banner and Top of Page Area -->
<table width="100%" border="0" cellpadding="25" align="center" summary="Table 5: Banner and Top of Page Area"> <tr>
<td class="Content" height="100%" align="center" valign="top" bgcolor="[-- PAGE.BackgroundColor --]">
[-- IF PAGE.DisplayGraphic --]
[-- PAGE.Graphic --]
[-- END_IF --]
<!-- Table 6, Links and Products: Begin -->
[-- VAR.colNo 0 --]
<table cellpadding="4" cellspacing="4" border="1" align="center" summary="Table 6: Links and Products"> <tr>
<!-- <table cellpadding="4" cellspacing="4" border="[-- VAR.border --]"> -->
<td class="RecTitle" width="25%" align="center" valign="top" background="images/LL_CloudBG_2.jpg">
<B> Browse Sections </B>
<br />
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0" summary="Table 7: Links">
[-- LOOP LINKS --]
<tr> <td class="LinkRecSecDet">
[--LINK --]
</td> </tr>
[-- END_LOOP LINKS --]
</table>
</td>
<td class="Content" width="75%" align="center" valign="top">
<table class="TabPage" width="100%" border="0" cellspacing="0" cellpadding="0" summary="Under Banner Table"> <tr valign="middle">
<td class="YouAreHerePath"> You Are Here: Home </td>
<td align="center" valign="middle">
<form action="http://cloud9sales.com/shopsite_sc/shopping_cart/productsearch.cgi?storeid=*14379e660a2d5097054d04d1" method=post>
<input type=text name="search_field" size=40>
<input type=hidden name="storeid" value="*14379e660a2d5097054d04d1">
<input type=submit value="Search">
</form>
</td>
<td align="center">
<A href="http://cloud9sales.com/shopsite_sc/shopping_cart/order.cgi?storeid=*14c42e76ea5d509705460907&function=show">
<IMG src="images/is_ViewCart.jpg" width="75" height="20" border="0" alt="View Cart Image"> </A>
</td>
</tr> </table>
[-- PAGE.Text1 --]
<!-- Play the Flash file of the EyCatcher Laser Humming Bird -->
<br/>
<object border="0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="375" height="273">
<param name="movie" value="http://cloud9sales.com/shopsite_sc/store/html/media/Breeze/LasSC/BlendedHummingbird.swf">
<param name="quality" value="high">
<param name="scale" value="No Border">
<embed src="http://cloud9sales.com/shopsite_sc/store/html/media/Breeze/LasSC/BlendedHummingbird.swf"
align="left" width="375" height="273" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">
</embed>
</object>
<br />
<span class="TProdHP_Line">Breeze: </span>
<a class="TProdHP_Subline" href="http://www.cloud9sales.com/shopsite_sc/store/html/breeze_lassc.html">EyCatcher Lasers</a>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" summary="Table 6: Products">
<!-- The LOOP PRODUCTS tag converts to a TR tag -->
<!-- so there's no need to put one in the template -->
[-- LOOP PRODUCTS PAGE.Columns --]
<td valign="bottom" align="[-- VAR.align --]">
<br/> [-- PRODUCT --]
[-- VAR.colNo INC --]
<!-- <br/> VAR.colNo = [-- VAR.colNo --] -->
[-- IF VAR.colNo 1 --]
<br /> <br />
<A CLASS="LinkTop" HREF="#Top"> [ Top of Page ] </A>
[-- END_IF --]
[-- IF VAR.colNo 2 --]
<br /> <br />
<SPAN CLASS="ContentDkGray10"> <B> Product Samples </B> </SPAN>
[-- END_IF --]
[-- IF VAR.colNo 3 --]
<br /> <br />
<A href="http://cloud9sales.com/shopsite_sc/shopping_cart/order.cgi?storeid=*14c42e76ea5d509705460907&function=show">
<IMG HSPACE="0" VSPACE="0" SRC="images/is_ViewCart.jpg" WIDTH="75" HEIGHT="20" BORDER="0" ALT="View Cart Image"> </A>
[-- VAR.colNo 0 --]
[-- END_IF --]
</td>
<!-- The END_LOOP tag converts to a /TR tag -->
[-- END_LOOP PRODUCTS --]
</table>
<br />
[-- PAGE.Text2 --]
<br /> <br />
[-- PAGE.Text3 --]
<!-- Bottom of Page Area -->
<br /> <br />
<!-- JavaScript to display Top-of-Page Left Links Table -->
<script type="text/javascript" language="JavaScript">
<!--
dispBOP( "index.htm", "27 Dec 2006", 1, 0 );
-->
</script>
</td>
</tr> </table>
<!-- Table 6, Links and Products: End -->
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</center>
</body>
</html>
#######################
[-- END_DEFINE PAGE --]
#######################
___________________________________________________________
Note: I have scrutenized the code, both in the templates and in the generated code, and cannot find what I am missing.
Perhaps this is a known bug in ShopSite, but I do not see it in the Forums.
Any help you can give me would be appreciated.
Thank you,
redthruviolet