Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Location
    Colorado Springs, CO
    Posts
    21
    Plugin Contributions
    0

    Default "\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
    [FONT="Times New Roman"]~*Jen Ulasiewicz Designs*~[/FONT]

  2. #2
    Join Date
    Sep 2008
    Posts
    6
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 28 May 2015, 05:04 PM
  2. v150 "Admin Settings" and "Email Welcome" not showing up under Tools Menu
    By chad2012 in forum Installing on a Mac Server
    Replies: 2
    Last Post: 28 Jan 2012, 07:56 PM
  3. Replies: 3
    Last Post: 1 Jun 2010, 11:33 AM
  4. <a href="#" not working when trying to add a tooltip: onmouseover="Tip('First Name')"
    By time111 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2009, 08:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR