Results 1 to 5 of 5
  1. #1
    Join Date
    May 2013
    Location
    PNW, USA
    Posts
    6
    Plugin Contributions
    0

    Default deleted coding in header.php no logo pic

    Messed up my header where my logo goes.

    Css coding is NOT my forte. Searching for days just to figure out how to change my logo. My extent of web design is wordpress for my blogs. SLOWLY learning and reading a ton.

    I have the current version of Zen cart in a subdomain. I have godaddy hosting. I use Filezilla as my FTP. I JUST figured out how to use Crimson editor to edit my css. I just installed zen cart for the 4th time since I broke the site the first time trying to upload the logo (since I didn't know how to use crimson editor), second time couldn't get into the admin section even though password and name was correct, third time there was a problem with the upload of zen cart, and this time everything went better. I saved the database and files almost after every step this time. I followed the directions in my free bentley classic template all the way to dealing with the logo. Here's the directions for it:

    Create your logo in your image editing program (did mine in photoshop elements and saved as a png file) and upload it (with Filezilla) to includes/templates/bentley_classic/images.

    Open includes/languages/english/bentley_classic/header.php in a plain text editor (I figured out how to do that in Crimson editor). Find this code on or around line 24:

    define('HEADER_ALT_TEXT', 'Bentley Classic :: Free Template by www.picaflor-azul.com');
    define('HEADER_LOGO_WIDTH', '235px');
    define('HEADER_LOGO_HEIGHT', '60px');
    define('HEADER_LOGO_IMAGE', 'logo.png');

    Replace "Bentley Classic :: Free Template by www.picaflor-azul.com" with your site name and tag line here
    Replace "235px" with your logo width
    Replace "60px" with your logo height
    Replace "logo.png" with the name of your logo image

    define('HEADER_ALT_TEXT', 'Your store name :: your store tag line'); (I put Natural Family Living, LLC. ::Welcome)
    define('HEADER_LOGO_WIDTH', 'height in px'); (500)
    define('HEADER_LOGO_HEIGHT', 'width in px'); (whatever the height was)
    define('HEADER_LOGO_IMAGE', 'your logo name .png'); (NFLlogo7.png)

    I changed the coding and saved in Crimson editor. Then I went to my FTP and uploaded the file to my site. Then I went and checked my site and noticed there was nothing there. I went back to crimson and there was zip zero zilch coding at all for the header.php.

    Here is my website http://shop.anointingthefamily.com/ you can see the top part with no logo and messed up links.

    Do I need to go find the backup of just before the logo upload? Or can I just use crimson to add back the right coding and figure out how to deal with my logo. I did re-size and upload to my site via my FTP manager my new logo. Now it is 2??*8? in my images folder like above. I need step by step directions since it is taking FOREVER to learn this and I have VERY limited time to work on this. I have a sales ready date for July 1st. I haven't done much to get everything ready-not adding products and paypal and some of the most important until I get the basic outline for my site. I will save after each big intergration.

    Please advise. Thank you.
    Also where do I find the image sizes for the slider pictures so I can create my slider images?

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: deleted coding in header.php no logo pic

    looking at your site, you are missing your templates header language file

    should be:
    /includes/languages/english/bentley_classic/header.php

    make the changes "logo.png"

    and re-upload

  3. #3
    Join Date
    May 2013
    Location
    PNW, USA
    Posts
    6
    Plugin Contributions
    0

    Default Re: deleted coding in header.php no logo pic

    I know. :) There is no code in the header file that I can change. I followed the directions according to my knowledge but I still messed it up so I don't know what to do now.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: deleted coding in header.php no logo pic

    Quote Originally Posted by naturalfamliving View Post
    Then I went to my FTP and uploaded the file to my site. Then I went and checked my site and noticed there was nothing there. I went back to crimson and there was zip zero zilch coding at all for the header.php.
    If the file is damaged, then go grab that file again from the original Zen Cart files. There's a link to download the original Zen Cart distribution zip file on the home page of www.zen-cart.com
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: deleted coding in header.php no logo pic

    Do you have a file /includes/languages/english/bentley_classic/header.php that is empty?
    If so, do you have a copy at /includes/languages/english/header.php with content? This should be the original default version of the file, and you can copy it to the /bentley_classic/ folder and edit it.

 

 

Similar Threads

  1. v139a logo and main page pic help
    By sumterdad in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Feb 2012, 12:49 PM
  2. Unsure how to add a header pic/logo
    By phanmale in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 May 2009, 11:15 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