How do I include an HTM file in head.tpl ?
I have an existing header (from a template I purchased, and then customized in FrontPage) that I wanted to use in place of the xcart header. I have been able to put most of it in. However, it apparently does not recognize this sort of call:
<!--webbot bot="Include" u-include="includes/topblock.htm" tag="BODY" -->
For this code, no results at all were seen, and there were no errors listed either, so...
I tried this:
{include file="includes/topblock.htm" }
...but got this error in the header:
Warning: Smarty error: unable to read resource: "includes/topblock.htm"
in /public_html/shop/Smarty-2.6.9/Smarty.class.php on line 1088
I changed it to this:
<!--#include file="includes/topblock.htm"-->
... but just like with the webbot instruction, nothing at all shows up.
Do I need to change the .htm files to .tpl files? I tried that, and the same problem happened, but I could have missed putting a reference in an index file or such?
Maybe I'm going in completely the wrong direction. A little help??? Thanks!
__________________
xcart v4.0.18 [linux]
Loyalty Points, DSEFU, Easy Checkout, Featured Product Manager, Remember Me, Relevant Search, Vertical Flyouts, Multiple Category Templates. Loads of other tweaks and mods learned in forums.
|