Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Using an apostrophe in HEADER_SALES_TEXT

    Our website slogan contains an apostrophe, specifically the word: It's

    I saved the header.php with this word and Zencart counted the apostrophe as the end of the statement and subsequently crashed Zencart because the rest of the slogan trailed the second single quote and ended in a third single quote/apostrophe...

    Is there a way to use a word with an apostrophe in HEADER_SALES_TEXT ??? I tried to use the ´ symbol but it created too much of a gap in the word.

    Thank you

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Using an apostrophe in HEADER_SALES_TEXT

    Use the html escape code for the apostrophe
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Using an apostrophe in HEADER_SALES_TEXT

    Already answered today

    http://www.zen-cart.com/forum/showth...ght=apostrophe


    Quote Originally Posted by DrByte View Post
    Maybe try using & # 3 9 ; (without spaces)
    Ref: http://www.w3schools.com/tags/ref_entities.asp
    Webzings Design
    Semi retired from Web Design

  4. #4
    Join Date
    Jul 2011
    Posts
    104
    Plugin Contributions
    0

    Default Re: Using an apostrophe in HEADER_SALES_TEXT

    Ahh the #39 thing worked thank you all! I forgot about w3schools website

  5. #5
    Join Date
    Jul 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Using an apostrophe in HEADER_SALES_TEXT

    wowwww that great !!!

 

 

Similar Threads

  1. Using image instead of header_sales_text
    By Ragenther in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Dec 2008, 03:29 AM
  2. Header_sales_text
    By JHouston in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Feb 2008, 11:17 PM
  3. Replies: 1
    Last Post: 27 Oct 2006, 10:11 PM
  4. Using apostrophe within code
    By stjude in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Jul 2006, 06:28 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