Hi,
I made some modifications. I made all emails as default on html.
Customers can't chose if they want their emails in html or text. They all get emails in html That works great (I know of course the disadvantages).
So to achieve this I must disable that in account_edit (tpl_account_edit_default.php).
I removed the code
Code:
<fieldset>
<legend><?php echo ENTRY_EMAIL_PREFERENCE; ?></legend>
<?php echo zen_draw_radio_field('email_format', 'HTML', $email_pref_html,'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', $email_pref_text, 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
<br class="clearBoth" />
</fieldset>
When I do that the problem starts when users changes their account. When the change a setting, name or other field. The email preference change automatically to text.
I have a solution for this, but not very clean
Code:
<fieldset style="display:none">
What makes to remove the code, that the emailpreferences changes to text when make a modification?
Bookmarks