Forums / General Questions / "n" in welcome email not working

"n" in welcome email not working

Locked

Views: 1,143

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
29 Nov 2008, 7:51 PM
#1
jensurge avatar

jensurge

New Zenner

Join Date:
Feb 2008
Location:
Colorado Springs, CO
Posts:
21
Plugin Contributions:
0

"n" in welcome email not working

I wanted to change my welcome email. I found that in the language\english\mytemplate\create_account.php where exactly to change the text that is defined. However, it appears as one big block of text and doesn't space any lines. the <li></li> works but the \n does not ... does anyone have any idea as to why this would not work for me

-Jen

1 Dec 2008, 11:10 PM
#2
bosh avatar

bosh

New Zenner

Join Date:
Sep 2008
Posts:
6
Plugin Contributions:
0

Re: "n" in welcome email not working

Your front page image ... JenU_LogoMain.png which is 969px × 407px is beautiful, and I really like it. But, it is a huge 742.71Kb. It took a loonnggg while to load. You might want to consider running it through an optomiser and also enable compression within admin. Also, a re-evaluation of your other image sizes might prove worthwhile. Don't mean to be critical just trying to help you provide your customers with a faster experience

Anyway, in answer to your question "\n" is a PHP directive and a HTML browser doesn't understand it. What you really need is a HTML <br /> instruction. So, if you want the CR/LF in between 'single quotes' use <BR /> otherwise for PHP "double quote strings" use \n.

Hope I've got that right, that it's clear and also helps.

Mac

There is no way to happiness. HAPPINESS is the way.