Hello,
I originally had two "display" commands in the .php file but I changed one as per your example above.
Here is the ourstory.php which is in my root directory because that's where I installed X-Cart:
Code:
<?php
#
# $Id: search.php,v 1.50.2.6 2004/02/05 12:25:45 mclap Exp $
#
require "./auth.php";
require $xcart_dir."/include/categories.php";
$smarty->assign("main", "ourstory.tpl");
$smarty->display("customer/home.tpl");
?>
And ourstory.tpl which I saved in customer/main:
Code:
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
<TR>
</TR>
<TR><TD><TABLE border=0 cellPadting=10 cellSpacing=1 width="100%">
<TR><TD>
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr height="19">
<td align="left" valign="top" width="130" height="19">
This is a test to see if it's working!!!
</td>
</tr>
</table>
</TD></TR>
</TABLE></TD></TR>
</TABLE>
Thanks for your help,
Jennifer