Re: Mailbeez After Sales Modules
On ZenCart 1.3.8 I just upgraded from Mailbeez 1.7 to 2.0.
Everything seems to be ok so far, but I have a problem with the subjects of the emails. Here is the subject I get in my emails:
<!-- Begin: mh:subjectTemplate -->$firstname $lastname share your Review on Facebook<!-- End: mh:subjectTemplate -->
I get this strange subjects since I upgraded. I tested it with the modules 'Review Reminder' and 'Share Review On Facebook'. I think that I have copied all upgrade files and template files as specified.
Putting curly brackets around $firstname and $lastname in the subject.tpl file results in proper names but the text '<!-- Begin: mhsubject Template' won't disappear.
BTW I find this module absolutely GREAT !
Re: Mailbeez After Sales Modules
Regarding my problem with the email subjects looking like:
"<!-- Begin: mh:subjectTemplate -->$firstname $lastname share your Review on Facebook<!-- End: mh:subjectTemplate -->"
I have looked into the MailBeez code and found in the template engine file Smarty.class.php at line 1315-1319:
// BOF - Tomcraft - 2009-05-26 - Modified for xt:Commerce v3.0.4 SP2.1
//if (isset($_smarty_results)) { return $_smarty_results; }
if (file_exists('includes/local/configure.php')) {
if (isset($_smarty_results)) {
return '<!-- Begin: '.$resource_name.' -->'.$_smarty_results.'<!-- End: '.$resource_name.' -->';
}
} else {
if (isset($_smarty_results)) { return $_smarty_results; }
}
// EOF - Tomcraft - 2009-05-26 - Modified for xt:Commerce v3.0.4 SP2.1
The problem is that I have the file 'includes/local/configure.php' installed in my ZenCart. So I have 2 options:
1. Remove the file 'includes/local/configure.php' which contains only code for Debugging ; #define('STRICT_ERROR_REPORTING', true);
2. Change the code above to:
// BOF - Tomcraft - 2009-05-26 ...
if (isset($_smarty_results)) { return $_smarty_results; }
// EOF - Tomcraft - 2009-05-26 ...
I decided for the 2. option and hope that the problem is solved now.
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
rjspomer
Hi cord
I Have everything working and now trying to do some editing of the review html template - body_html.tpl.
Question where is the font size and formatting controlled? I tried to edit the template and i can change the words but not the font, font size or color.
Also I get the subject line right above the Greeting will this be the way it is sent to the customer?
TestFirstName TestLastName please review your purchased products
Dear TestFirstName TestLastName,
and the [SIM]TestFirstName TestLastName please review your purchased products
Dear TestFirstName TestLastName,
Thanks for a great product can not wait to give it a go.
Everything is working correctly now. The subject issue above is due to the fact that the default temp has this in its form. I removed it and that part is fine. The front size and type formatting was a little trial and error but worked it out.
Thanks for a great addition to zen cart. I will now start actually using it in production mode.:smile:
Re: Mailbeez After Sales Modules
Everything is working for us now, but this is what I had to do ...
we only had the $firstname $lastname issue with the subject of the email... everything else was fine.
so.. i went to each mailbeez module and edited the subject template to add the curly brackets
{$firstname} {$lastname} blah blah blah :)
hope this helps someone else. :)
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
rumahoutlet
[SIZE="1"]Regarding my problem with the email subjects looking like:
"<!-- Begin: mh:subjectTemplate -->$firstname $lastname share your Review on Facebook<!-- End: mh:subjectTemplate -->"
I decided for the 2. option and hope that the problem is solved now.
that is fine - wasn't aware of I bundled a modified version of smarty into MailBeez.
MailBeez is designec to work with the standard smarty lib version 2.x or 3.x (php5). you can set the path to the lib in the MailBeez configuration > template system
cheers / gruss
cord
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
ksoup
Everything is working for us now, but this is what I had to do ...
we only had the $firstname $lastname issue with the subject of the email... everything else was fine.
so.. i went to each mailbeez module and edited the subject template to add the curly brackets
{$firstname} {$lastname} blah blah blah :)
hope this helps someone else. :)
that issue is solved with the current final release of MailBeez 2.0
the template migration like you did however is the best way!
cord
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
rjspomer
Everything is working correctly now. The subject issue above is due to the fact that the default temp has this in its form. I removed it and that part is fine. The front size and type formatting was a little trial and error but worked it out.
Thanks for a great addition to zen cart. I will now start actually using it in production mode.:smile:
everything can be customized without touching code _ you just need to understand the levels of the template system:
(zencart)/email/ - zencarts own emailtemplates, the output of MailBeez is merged into email_template_default.html
(zencart)/mailhive/common/templates/email_html_zencart.tpl - a dummy frame template which makes sense in other cart systems
(zencart)/mailhive/mailbeez/(module)/email/*.tpl - the content templates with the specific content per module
cord
Re: Mailbeez After Sales Modules
Can I delete the old mailbeez folder after the new install to v2.0?
Re: Mailbeez After Sales Modules
Quote:
Originally Posted by
joyjoy
Can I delete the old mailbeez folder after the new install to v2.0?
yes, absolutely
Mailbeez issue with <a href="{$block_url}">
Hello everyone,
I've installed and configured my Mailbeez.... and I have to say it looks like one of the cleanest, most well built mods that I've ever installed! Good work!
There is one issue that I'm having related to the link to <a href="{$block_url}">. This link seems to be broken.
I currrently have:
This email has been sent to: email_address|default:'me####################'} as a customer of KCB Graphics. If you would prefer not to receive emails from KCB Graphics please click this link<a href="{$block_url}"></a>.
Has anyone seen this issue and resolved it.
Any help is appreciated.
Thank you.