Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: learn to edit css & php

    PHP and CSS files are used to create the HTML pages.

    As you learn more about Zen Cart you will see that sometimes, one HTML page is created from more than one PHP file.

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: learn to edit css & php

    Exactly what are you trying to do?

    If you don't want a tagline, copy includes/languages/english.php into includes/languages/YOUR_TEMPLATE (where YOUR_TEMPLATE is the name of your custom template). Open includes/languages/YOUR_TEMPLATE/english.php with a good text editor like Notepad++ or Crimson Editor (both free downloads).

    Around Line 11 find

    Code:
     //define('SITE_TAGLINE', 'The Art of E-commerce');
    change it to:
    Code:
     //define('SITE_TAGLINE', '');
    (NOTE: the two single quotes remain)

    Save the file and FTP it to the correct folder on your website.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: learn to edit css & php

    Quote Originally Posted by afo View Post
    Exactly what are you trying to do?

    If you don't want a tagline, copy includes/languages/english.php into includes/languages/YOUR_TEMPLATE (where YOUR_TEMPLATE is the name of your custom template). Open includes/languages/YOUR_TEMPLATE/english.php with a good text editor like Notepad++ or Crimson Editor (both free downloads).

    Around Line 11 find

    Code:
     //define('SITE_TAGLINE', 'The Art of E-commerce');
    change it to:
    Code:
     //define('SITE_TAGLINE', '');
    (NOTE: the two single quotes remain)

    Save the file and FTP it to the correct folder on your website.
    That declaration has been moved from english.php (that why its commented out.

    The file you want to edit is

    includes/languages/english/header.php

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: learn to edit css & php

    I found that with developer's tool kit, but didn't notice the statements were commented out! That's what I get for doing that at work.

    Thanks for catching my mistake, Clyde!
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: learn to edit css & php

    Quote Originally Posted by afo View Post
    I found that with developer's tool kit, but didn't notice the statements were commented out! That's what I get for doing that at work.

    Thanks for catching my mistake, Clyde!
    Actually, "tagline" is in two files meta_tags.php and header.php

  6. #6
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: learn to edit css & php

    I have report W3C Markup Validation Service
    Errors found while checking this document as XHTML 1.0 Transitional!

    Line 1, Column 1: character "" not allowed in prolog
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E

    Whare in ZC is file to edit HTML?

    Byte-Order Mark found in UTF-8 File.
    The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.

    Hay to edit UTF-8 (BOM) in UTF-8?

 

 

Similar Threads

  1. products_with_attributes_stock.php?action=edit&products_id=114&attributes=19&q=1
    By Kontaktwear in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 31 Aug 2012, 03:02 PM
  2. What is the best way to learn PHP? And/or CSS?
    By CultureClick in forum General Questions
    Replies: 5
    Last Post: 1 Jul 2012, 02:30 AM

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