Forums / General Questions / HTML & Text-Only - default to HTML.

HTML & Text-Only - default to HTML.

Locked

Started by ceegeeaar on 16 Aug 2007, 1:28 PM · Views: 2,057

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Aug 2007, 1:28 PM
#1
ceegeeaar avatar

ceegeeaar

New Zenner

Join Date:
Mar 2007
Location:
Deep in the Black Country, UK
Posts:
34
Plugin Contributions:
0

HTML & Text-Only - default to HTML.

Hi

I am trying to make the default mail HTML rather than Text-Only during the account creation in checkout.

There is a setting in includes/create_account.php which looks like it should do it but it doesnt seem to make any difference. :huh:

Anybody have any idea how this can be done?

Thankyou
Claire

16 Aug 2007, 1:55 PM
#2
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: HTML & Text-Only - default to HTML.

It is in /includes/modules/create_account.php, or if you have custom template changes, possibly /includes/modules/YOUR_TEMPLATE/create_account.php.

Looks like this:

if (!isset($email_format)) $email_format = (ACCOUNT_EMAIL_PREFERENCE == '1' ? 'HTML' : 'TEXT');

16 Aug 2007, 2:47 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: HTML & Text-Only - default to HTML.

Be sure to use the configuration setting in Configuration ... Customer Details ...

Customer Default Email Preference
Set the Default Customer Default Email Preference
0= Text
1= HTML

NOTE: I hate when sites try to force HTML on me ... I much prefer that defaults are TEXT in case I miss the setting ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

16 Aug 2007, 4:02 PM
#4
ceegeeaar avatar

ceegeeaar

New Zenner

Join Date:
Mar 2007
Location:
Deep in the Black Country, UK
Posts:
34
Plugin Contributions:
0

Re: HTML & Text-Only - default to HTML.

Ahh thankyou Ajeh!