Logo question

Locked

Views: 6,376

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
23 May 2006, 6:00 AM
#1
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Logo question

Hi, I have read old posts and the FAQ first but I must be missing something. I want to put my logo in the place of the ZC one.

I used the ZC admin.

I went to includes/templates/my_template/images.logo.gif ( I put in the new folders my_template and images and my logo.gif).

What do I have to do to then make that the logo on the main page? Do I delete the ZC logo? I thought it would look for mine first but it is not coming up.

Any help would be much appreciated.

Thanks,
Leah

23 May 2006, 11:18 AM
#2
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

Anyone got any ideas?

23 May 2006, 11:26 AM
#3
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Logo question

I put in the new folders my_template and images and my logo.gif).
Try adding your new logo.gif into images folder of your new template

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

23 May 2006, 11:57 AM
#4
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

It is in there sorry my first thread line was not right.

It is my_templates/images/logo.gif

23 May 2006, 12:16 PM
#5
whocaresanyway avatar

whocaresanyway

Suspended

Join Date:
May 2006
Posts:
66
Plugin Contributions:
0

Re: Logo question

do you have my_template turned on in admin

23 May 2006, 12:40 PM
#6
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

sorry I am very new to this and I don't know what "turned on in admin" means. Do I have to do something to the folder?

Thankyou:blush:

23 May 2006, 12:50 PM
#7
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Logo question

To login in to your admin add /admin to the url for your shop. Then go to Tools > Template Selection > and select your template name.

If you cannot find you template you should read up on 'overrides' since you likely have missed a step or two. Search for overrides in the FAQ and/or the Wiki.

Good luck.

23 May 2006, 12:54 PM
#8
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

Thanks very much will do :D

23 May 2006, 1:34 PM
#9
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

I have spent some time reading past posts and tutes etc on overrrides and i am still confused. However is it correct that to override the file needs to be in a classic dir?? Or am I just way off here??? So should my_template/images/logo.gif be in the classic dir NOT staight off the english dir???

includes/templates/my_template/images/logo.gif is how it is now

should it be

includes/templates/classic/my_template/images.logo.gif ????

sorry to be a PITA.

I did check my admin/Tools and my_template is not there.

23 May 2006, 2:36 PM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: Logo question

You don't put your files in the classic directory, but you do make a my_template directory next to every classic directory. They should be neighbors, since they both hold files that override template_default files (classic will be inactive while your template is active). Look at the way the files and folders under classic are set up for guidance on setting up yours.

23 May 2006, 3:04 PM
#11
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Logo question

Zen Cart is built on a system called ‘overrides.’ When you have worked hard on customizing your site you do not want to lose all that work when a new version or cart update comes along. So, all the files you edit will go in special folders that will 'override' the default template and will not be lost as you upgrade.

All of the files you change should go in a special folder you create for your template. Something like /custom or /my_template. Your new custom template folder should contain only files that have actually been edited for your site. Copy the files from template_default, edit them, and make sure they are in the correct ’my_custom_template’ folder (double and triple check this).

The Wiki is a great place to start. However, since the forum experienced an emergency reload, many of links have not been updated. Be patient.

As Glenn points out, /classic is a clue to show you where your /custom folders will be added.

Some of my favorite links that may help -

http://www.zen-cart.com/forum/faq.php?s=&do=search&q=overrides+network&match=all&titlesonly=0.

http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Customizing

http://www.zen-cart.com/forum/faq.php?faq=catalog_issues#faq_template_customize

Don't be discouraged. Nearly every new user goes through the difficulty of understanding overrides. Some, like me, seem to never get fully over it (grin).

Best wishes

24 May 2006, 2:44 AM
#12
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

Thanks so much for your help. Off to battle with the overrides again!:thumbsup:

24 May 2006, 3:03 AM
#13
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

Ok, have checked it out. My folder my_templates is next to a classic folder. It is in the same section as template_default i.e. classic, my_template and default_template are all in the same bit. The images folder inside my_templates is as it is in the classic folder and then the logo.gif is in the images folder. It looks as it should be to my knowledge (small as it is).

I also checked the permission on them and they are the same as for the folders and files in side the classic string.

BUT the my_templates folder does not appear in the admin section as Bruce said it should. What else could I have done? :down:

24 May 2006, 3:44 AM
#14
clydejones avatar

clydejones

Deceased

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

Re: Logo question

May sound like a stupid question but do you have template_info.php in you MY_TEMPLATE folder.

it has the following information in it

<?php
/**
 * Template Information File
 *
 * @copyright 2006 
 * @copyright Portions 2003-2005 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: template_info.php by 
 */
 
$template_name = '';
$template_version = 'Version 1.0';
$template_author = '';
$template_description = '';
$template_screenshot = 'scr_template_MY_TEMPLATE.jpg';
?>

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

24 May 2006, 3:56 AM
#15
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

It is definitely not a stupid Q becasue the answer isno. The only thing I have under my_templates is the folder images and then the logo.gif in that folder.

Should I have copied other files as well? < This is probably a stupid question, feel free to LYAO :blush:

24 May 2006, 4:27 AM
#16
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Logo question

Leah,

Here is the link that will get you to the next step. http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Create

Let's call your new template starwars. Your template_info.php file will look something like

<?php $template_name = 'Starwars'; $template_version = 'Version 1.0'; $template_author = '<PrincessLeah>'; $template_description = 'This is my own template, created for my site at www.example.com'; $template_screenshot = 'starwars.gif'; ?>

Copy template_info.php from the default template into the proper /starwars folder.

Only copy files into your /starwars folders that you have actually edited. Copy the file from the default template into /starwars and then edit it.

Then go to admin > tools > template and select the starwars template.

Almost home and Han Solo is waiting. Don't give up.

Can you give us a url with your next post? you are at a point where looking at the site will be helpful.

24 May 2006, 5:07 AM
#17
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

Wow Thanks Bruce you have The Force!

I did what you said and now I can see my custom template in the ZC admin. I put it in and now I think I'm getting somewhere :thumbsup:

Also in the template_info.php should the name of the picture be exactly what the picture I am using for the logo is i.e. logo.gif???

Here is the url https://www.kidzincloth.com

I now have to figure out a few things in stylesheets, and how to get rid of the tagline thing and howw to make the page name say Kidz In Cloth NOT Zencart The Art Of Ecommerce BUT I am feeling better. HUGE THANKS!!! and I almost understand overrrides...I said almost!

24 May 2006, 5:34 AM
#18
sermonzone avatar

sermonzone

Zen Follower

Join Date:
Oct 2005
Location:
New Mexico
Posts:
365
Plugin Contributions:
0

Re: Logo question

Leah,

$template_screenshot = 'starwars.gif'; is a screen capture of the template not the logo. It is there so you can look at the template in the Admin and know which template you are selecting.

Now that you have the template override going, try using > admin > tools > developer's tool kit. Enter the text you want to replace in the lower left box and search all files. It should give you a list of files with that text, like "Zencart..." Copy that file into the override, edit it and watch the Zen magic happen.

The url you gave looks like a placeholder. What is the url where you see 'Zencart' etc.?

Remember to read the faq's I just posted a new resource at http://www.zen-cart.com/forum/showthread.php?t=36567. While you have likely read most of it before you may want to re-read.

Blessings.

24 May 2006, 6:05 AM
#19
clydejones avatar

clydejones

Deceased

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

Re: Logo question

go to includes -> languages -> english -> MY_TEMPLATE -> header.php

Change these defines as you wish.

define('HEADER_ALT_TEXT', 'Kidz In Cloth');
define('HEADER_SALES_TEXT', '');

If you don't have header.php in MY_TEMPLATE copy it from english

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

24 May 2006, 9:14 AM
#20
princessleah avatar

princessleah

New Zenner

Join Date:
May 2006
Posts:
39
Plugin Contributions:
0

Re: Logo question

You guys are great!! Thanks so much. Sorry about the url I forgot the cart bit:

https://www.kidzincloth.com/cart

:oops:

Looks like I have lots of things to play with now!!!!

THANKS!!!