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 codeWhen 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.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>
I have a solution for this, but not very clean
What makes to remove the code, that the emailpreferences changes to text when make a modification?Code:<fieldset style="display:none">




