PUREchocolatetruffle:
Many thanks for your reply. The only thing I have changed in mailhive/common/template/email_html.tpl is to add my facebook and twitter addresses and then give my own logo the file name default_emailheader.gif. And no, email_html.tpl starts with nothing else but "<html>".
I tried to set "Override Zencart Email Template System" to false and this resultated in just one logo but also added some text. Please see the attached file.
What would be the best to do: try to get rid of this text or try to make "Override Zencart Email Template System" to work ?
Kim
hi kim,
thanks for sending the 1.3.8 file
includes/functions_email.php
I compared it with the recent 1.3.9 version and saw a lot of changes - and that the override setting won't work on 1.3.8.
I suggest you try to replace (make a copy of the original file!!!!)
includes/functions_email.php
with the files from the latest zencart release and try if your emails still work (storefront, admin & mailbeez emails).
If yes, I think it should be save to go this way, if not - restore your original file.
You might try to find a hack to make it compatible.
the important line is in Version 1.3.8
$email_html = zen_build_html_email_from_template($module, $block);
which is in Version 1.3.9 like this:
$email_html = (!is_array($block) && substr($block, 0, 6) == '<html>') ? $block : zen_build_html_email_from_template($module, $block);
so it looks if the content starts with a valid html tag and - if not - applies the zencart template system.
would be great if you share your findings with us!
regards
cord