Re: Override Files--Should they be different from defaults?
Originally Posted by
OFelixCulpa
Perhaps someone can explain why this is so. Are there any other pitfalls which I should be aware of with regard to this?
The reason why is the way the cart searches for a template file (governed by functions in includes/classes/template_func.php)
It looks in various places to find a match for the filename, and this particular problem is caused by the preg_match function finding the pattern it was looking for in your modified file name (because you simply added a z at the front, the remainder of the name was a match for the pattern html_header.php).
If you had changed the name in any way other than adding letters at the front or after .php, there would not have been a match.
Neville
An assumption is what you arrive at when you get tired of thinking...
Bookmarks