Thread: Header Question

Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2009
    Location
    Phoenix, AZ USA
    Posts
    23
    Plugin Contributions
    0

    Default Header Question

    I'm brand new to Zen cart, and I have been able to figure out most of the things I'm working on. but I am still having trouble with the header.

    Version - 1.3.8a
    No upgrades
    No addons
    Not customized
    Site URL - http://sunwestinternetservices.com/shop/

    I cannot seem to find the right place to add my own header for the Bookshelf template. I've tried every suggestion that I can find in the FAQs and this forum with no success.

    I have named it header.jpg, and renamed it to header_bg.jpg as suggested somewhere. I have made changes in language files, header templates and everywhere I can think of with no success. It's obvious I haven't found the proper place to make my changes.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Header Question

    Firstly, you have loaded (via Ftp) your images in ASCII mode - hence the mess. You need to Ftp images in BINARY mode.

    There are TWO images - the header_bg and the logo (either logo.gif or logo.jpg - the desired format is specified in header.php in the language folders.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2009
    Location
    Phoenix, AZ USA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Header Question

    Quote Originally Posted by schoolboy View Post
    Firstly, you have loaded (via Ftp) your images in ASCII mode - hence the mess. You need to Ftp images in BINARY mode.

    There are TWO images - the header_bg and the logo (either logo.gif or logo.jpg - the desired format is specified in header.php in the language folders.
    Thanks for the quick response! I can't believe I never checked my FTP to see if it was actually uploading as binary for my images. That's what I gtet for relying on the Auto upload setting!

    The header image is fine now, but I'm still seeing the "HEADER_SALES_TEXT" words appearing beneath the header.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Header Question

    Quote Originally Posted by sunwest View Post
    I'm still seeing the "HEADER_SALES_TEXT" words appearing beneath the header.
    You edited a DEFINE statement incorrectly. Re-trace your steps when you edited the language php file that contains this constant. (I think it is header.php)

    Make sure you follow PHP rules and syntax.

    When you edit a define, you must remove only what is between the second set of single quotes, LEAVING the quote marks intact:

    ORIGINAL
    define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');

    EDITED OUT
    define('HEADER_SALES_TEXT', '');
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2009
    Location
    Phoenix, AZ USA
    Posts
    23
    Plugin Contributions
    0

    Default Re: Header Question

    Quote Originally Posted by schoolboy View Post
    You edited a DEFINE statement incorrectly. Re-trace your steps when you edited the language php file that contains this constant. (I think it is header.php)

    Make sure you follow PHP rules and syntax.

    When you edit a define, you must remove only what is between the second set of single quotes, LEAVING the quote marks intact:

    ORIGINAL
    define('HEADER_SALES_TEXT', '<h1>Sales Message Goes Here</h1>');

    EDITED OUT
    define('HEADER_SALES_TEXT', '');
    OK - I got it! I appreciate your help. With this kind of help, setting up the cart will be less of a problem. Thanks again.

 

 

Similar Threads

  1. header question
    By sped1530 in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2008, 04:55 AM
  2. Header question
    By Decostyle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Apr 2008, 04:14 PM
  3. Header question
    By baronsamedi in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Mar 2008, 05:43 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