Originally Posted by
wootoot1234
Excellent, thank you so much. Waiting to see what you might suggest.
Thanks!
You know this is one I never thought about until someone asked why!
The idea of sending one or the other is a bit out dated now that email programs have the ability of striping html. If you are sending html as a multi-part message, than you are already sending both html and text anyway! I really don't see a reason to take this option away from the customer.
Maybe it would be better to enplane it instead of just the two words "Email Preferences" to "What format would you like your E-mail sent as!"..
Any hoot.. The email preference is already setup by admin default settings in Customer Details, Customer Default Email Preference..
Which means all you have to do is comment out the question block until a switch is setup as suggested. In tpl_modules_create_account.php you would find the following and use comments to hide it.. lines in red..
Code:
<!-- kill email preference
<?php echo zen_draw_radio_field('email_format', 'HTML', ($email_format == 'HTML' ? true : false),'id="email-format-html"') . '<label class="radioButtonLabel" for="email-format-html">' . ENTRY_EMAIL_HTML_DISPLAY . '</label>' . zen_draw_radio_field('email_format', 'TEXT', ($email_format == 'TEXT' ? true : false), 'id="email-format-text"') . '<label class="radioButtonLabel" for="email-format-text">' . ENTRY_EMAIL_TEXT_DISPLAY . '</label>'; ?>
<br class="clearBoth" /> -->
If the file to be edited is not in your template folder, copy it from default to your template and then edit it. Commenting out allows you to undo it later if you find a need. Keep in mind, if your not sending multi-part messages, the user that strips html will get a blank email. Very frustrating...
Bookmarks