Trouble adding Header to Head_Customer.tpl
I have been trying to add a header I built in dreamweaver.
I saved the file as .php and included it in a table in head_customer.tpl as { include file="header.php" }
But I keep getting this error:
Warning: Smarty error: unable to read resource: "header.php" in /home/redstar1/public_html/Smarty-2.6.9/Smarty.class.php on line 1088
Any ideas?
here is the head_customer.tpl code
<table width="780" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{ include file="header.php" }</td>
</tr>
</table>
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="150" class="HeadLine" valign="top">{ include file="customer/search.tpl" }
</TD>
<TD width="20">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD width="610" valign="top">{if $login eq "" }{include file="customer/auth.tpl"}{else}{ include file="customer/authbox.tpl" }{/if}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD height="16">{if $main ne "catalog" or $current_category.category ne ""}{include file="location.tpl"}{/if}</TD>
<TD align="right" width="107">
<TABLE cellspacing="0" cellpadding="0" border="0" height="16">
<TR>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product') && $config.Appearance.enabled_printable_version eq 'Y'}
<TD width="100%" valign="middle" align="right">{include file="printable.tpl"}</TD>
{/if}
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
__________________
4.0.12 x-cart
|