include statement for header in 404_en.html
This should be so simple, but unfortunately, I only know enough to drive myself crazy.
I want to do an include statement for the header and footer in 404_en.html to use the header and footer I've already worked on for the rest of the site.
So, I went and looked at home.tpl to see how the header/footer is called there. It looks like this:
<div id="header">
{include file="customer/head.tpl"}
</div>
So, I cut/pasted this into 404_en.html and changed the path like this:
<div id="header">
{include file="/skin/common_files/customer/head.tpl"};
</div>
Well, that doesn't work. It reads the above as text, so I tried looking it up on w3schools to make it a php statement. Tried enclosing it in <?php tags:
<div id="header">
<?php include("/skin/common_files/customer/head.tpl"); ?>
</div>
The text is not on the screen now, but neither is the header.
Can someone please tell me what I'm doing wrong?
Sorry for my lack of expertise.
I just want to do a simple include and need someone to hold my hand and walk me through it.
__________________
Sandi in AL
Xcart Pro 4.4.3
|