Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    89
    Plugin Contributions
    0

    Default Line Break, and how

    I need to add a line break after "Sincerely" in the Welcome email, and for the life of me I can not do it. Granted I am very new to this mess....

    Please help.

    Here is what I have ..


    define('EMAIL_TEXT', 'With your account, you can now take part in the <strong>various services</strong> we have to offer you. Some of these services include:' . "\n\n" . '<li><strong>Permanent Cart</strong> - Any products added to your online cart remain there until you remove them, or check them out.' . "\n\n" . '<li><strong>Address Book</strong> - We can now deliver your products to another address other than yours! This is perfect for sending birthday gifts directly to the recipient.' . "\n\n" . '<li><strong>Order History</strong> - View your history of purchases that you have made with us.' . "\n\n" . '<li><strong>Products Reviews</strong> - Share your opinions on products with our other customers.' . "\n\n");
    define('EMAIL_CONTACT', 'For help with any of our online products or services, please email Customer Service Dept. at <a href="mailto:' . STORE_OWNER_EMAIL_ADDRESS . '">'. STORE_OWNER_EMAIL_ADDRESS ." </a>\n\n");
    define('EMAIL_GV_CLOSURE','Sincerely,' . "\n\n" . STORE_OWNER . "\nCustomer Service Team\n\n". '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'.HTTP_SERVER . DIR_WS_CATALOG ."</a>\n\n");

    Thank you.

  2. #2
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Line Break, and how

    add
    HTML Code:
    <br class="clearBoth" />

  3. #3
    Join Date
    Oct 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: Line Break, and how

    Thank you for the reply. Where exactly do I add this line and what is it exactly that is being "cleared"?

  4. #4
    Join Date
    Aug 2009
    Location
    Tampa Bay
    Posts
    251
    Plugin Contributions
    1

    Default Re: Line Break, and how

    put it where ever you want the space or line break - works like a carraige return adding a line of space between text/codes
    HTML Code:
    <br />
    works also
    blessed be the day we make tomorrow a better yesterday

  5. #5
    Join Date
    Oct 2009
    Posts
    89
    Plugin Contributions
    0

    Default Re: Line Break, and how

    Hello again,

    thank you for your reply. I tried this and still doesn't work. Matter of fact when I go to check out it shows a blank page, which tells me that there is something wrong with the "Create_account.php". when I remove it then it works...

    any ideas?

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Line Break, and how

    Don't know why you are not getting line breaks...
    PHP Code:
    define('EMAIL_GV_CLOSURE','Sincerely,' "\n\n" 
    \n\n are line breaks (in this case two of them).

    http://www.webmasterworld.com/forum88/3056.htm
    20 years a Zencart User

 

 

Similar Threads

  1. Line break
    By Soniccc in forum General Questions
    Replies: 9
    Last Post: 10 Jun 2011, 10:43 AM
  2. How to insert line break on sale display
    By runawayd in forum Setting Up Specials and SaleMaker
    Replies: 2
    Last Post: 25 Mar 2011, 10:20 PM
  3. line break..
    By Soniccc in forum General Questions
    Replies: 8
    Last Post: 9 Mar 2011, 09:47 PM
  4. Line break
    By ABLT Supplies in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2008, 11:42 AM
  5. Text format in PHP? How to add a line break?
    By dmwizzard in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Jul 2006, 07:39 PM

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