Thread: Logo question

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27
  1. #11
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default 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.ph...l&titlesonly=0.

    http://www.zen-cart.com/wiki/index.p..._-_Customizing

    http://www.zen-cart.com/forum/faq.ph...late_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
    Last edited by DrByte; 20 Jun 2006 at 10:28 PM. Reason: updated FAQ link

  2. #12
    Join Date
    May 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Logo question

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

  3. #13
    Join Date
    May 2006
    Posts
    39
    Plugin Contributions
    0

    Default 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?

  4. #14
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default 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
    Code:
    <?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';
    ?>

  5. #15
    Join Date
    May 2006
    Posts
    39
    Plugin Contributions
    0

    Default 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

  6. #16
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default Re: Logo question

    Leah,

    Here is the link that will get you to the next step. http://www.zen-cart.com/wiki/index.p...lates_-_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.

  7. #17
    Join Date
    May 2006
    Posts
    39
    Plugin Contributions
    0

    Default 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

    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 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!

  8. #18
    Join Date
    Oct 2005
    Location
    New Mexico
    Posts
    393
    Plugin Contributions
    0

    Default 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.

  9. #19
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Logo question

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

    Change these defines as you wish.

    Code:
    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

  10. #20
    Join Date
    May 2006
    Posts
    39
    Plugin Contributions
    0

    Default Re: Logo question

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

    www.kidzincloth.com/cart



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

    THANKS!!!

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Paypal Verified Logo (safety question)
    By goalsurfer in forum Addon Sideboxes
    Replies: 0
    Last Post: 3 Jan 2011, 08:52 PM
  2. Replacing logo.gif question
    By InitialImpressions in forum Basic Configuration
    Replies: 3
    Last Post: 21 Nov 2008, 06:23 AM
  3. Logo question
    By texastanglewire in forum General Questions
    Replies: 0
    Last Post: 16 Mar 2007, 07:34 PM
  4. Another Logo Question
    By lightningmcqueen in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Feb 2007, 08:29 PM
  5. Zen Cart Logo question
    By oxman in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Dec 2006, 06:32 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR