Forums / Templates, Stylesheets, Page Layout / trying to change logo

trying to change logo

Locked

Views: 1,055

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
30 Dec 2007, 12:32 AM
#1
pearljamgurl avatar

pearljamgurl

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

trying to change logo

I am trying to figure out how to change the default logo. I uploaded my logo.gif to includes/templates/customtemplate/images/ folder. where do i go to edit what i need to edit, so that it references that place, and actually puts the logo on there? i have looked everywhere on here and cant find what im looking for. is it in the tpl_header.php? i dont know how to just reference the images/ folder without having to type in the full url...site name/includes/templates/....help?

30 Dec 2007, 1:48 AM
#3
pearljamgurl avatar

pearljamgurl

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

Re: trying to change logo

ok but that doesnt answer my question...do i need to put the full url in there? isnt there a um...is it a relative url or something?

30 Dec 2007, 1:53 AM
#4
pearljamgurl avatar

pearljamgurl

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

Re: trying to change logo

i put in the url...and the image just disappeared. no default image, no nothing.

30 Dec 2007, 4:28 AM
#5
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: trying to change logo

If your logo image is named logo.gif

you don't need to have a url.

You do need to make sure that you have the following files located as follows

includes/languages/customtemplate/customtemplate/header.php

includes/templates/customtemplate/images/logo.gif

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Dec 2007, 4:28 AM
#6
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: trying to change logo

You don't need to put in the entire url. Did you create a custom template and select it in the admin?

To create a very basic custom template (you can build from there), you need:

  • includes/languages/YOUR_TEMPLATE/english.php
  • includes/languages/english/YOUR_TEMPLATE/index.php
  • includes/languages/english/YOUR_TEMPLATE/meta_tags.php
  • includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
  • includes/templates/YOUR_TEMPLATE/template_info.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_header.php
  • includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
  • includes/templates/YOUR_TEMPLATE/images/logo.gif
  • includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

Edit includes/templates/YOUR_TEMPLATE/template_info.php to give your template identifying information so you'll recognize it in the admin under tools->template selection.

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