If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / deleted coding in header.php no logo pic

deleted coding in header.php no logo pic

Started by naturalfamliving on 19 May 2013, 7:46 AM · Views: 1,545

Results 1 to 5 of 5
19 May 2013, 7:46 AM
#1
naturalfamliving avatar

naturalfamliving

New Zenner

Join Date:
May 2013
Location:
PNW, USA
Posts:
6
Plugin Contributions:
0

Post #1 by naturalfamliving

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?

19 May 2013, 8:27 AM
#2
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #2 by rbarbour

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

19 May 2013, 4:41 PM
#3
naturalfamliving avatar

naturalfamliving

New Zenner

Join Date:
May 2013
Location:
PNW, USA
Posts:
6
Plugin Contributions:
0

Post #3 by naturalfamliving

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.

19 May 2013, 6:16 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

naturalfamliving:

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 https://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.

20 May 2013, 2:47 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #5 by gjh42

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.