I'm not sure where to ask about this, but here goes. I have a general question about the template system. Having read this:
I was under the impression that there should be no files in my CUSTOM template folder which are identical in content to their corresponding files in template_default. However, I did some comparing of the files in a template I purchased, and found some of them to be identical.You should only copy files over to your custom template directory that you make modifications to. If you do not make modifications, then by default, the shop will call the default file from the template_default directory.
One of the identical files is templates\CUSTOM\common\html_header.php. Since the content was identical, I assumed that I could delete the file from the CUSTOM template folder and Zen Cart would automatically use the file in template_default. However, when I deleted the file in my custom folder, I get this message:
Is my understanding incorrect, or is there something else wrong? I am working with a template I purchased--perhaps it is buggy?Warning: main(includes/templates/CUSTOM/common/html_header.php): failed to open stream: No such file or directory in C:\Server\ZenCart\index.php on line 43
Fatal error: main(): Failed opening required 'includes/templates/CUSTOM/common/html_header.php' (include_path='.;c:\php4\pear') in C:\Server\ZenCart\index.php on line 43
Bookmarks