Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Changing the logo

    Hello everyone

    I am attempting to change the logo situated at the top left corner. I have followed the instructions as per https://www.zen-cart.com/tutorials/i...hp?article=256

    I am using the following ver

    Zen Cart 1.3.7

    Database Patch Level: 1.3.7

    v1.3.7 [2007-01-30 15:45:02] (Fresh Installation)


    I have not installed any new themes. An out of the box install.

    As per the instructions, I built my new logo (using firefox) as a GIF file being L551px x H71px called ssr.gif

    the file is located at "includes/templates/custom/images/ssr.gif"

    I then modified the header.php file as follows.

    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'My text in here');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '551px');
    define('HEADER_LOGO_HEIGHT', '71px');
    define('HEADER_LOGO_IMAGE', 'ssr.gif');

    And saved the file to "includes/languages/english/custom/header.php"

    You will note that I have not used capitalized folder names as per the instructions simply becuase the original folder "english" wasn't capitalized from install. so I didn't think it mattered.

    The logo didn't change, nor did the text when you hover over the logo.

    I am somewhat perplexed by this, as these are the only set of instructions I can find to do this.

    Any comments would be most helpfull

    Fred

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Changing the logo

    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Quote Originally Posted by Kim View Post
    Thank for that Kim

    I have tried https://www.zen-cart.com/tutorials/i...hp?article=125 and I still cannot get it to work as described.

    Fred

  4. #4
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Update

    I have managed to change the logo, but I had to edit the "includes/languages/english/classic/header.php" directly.

    I have also noted that the LOGO_WIDTH & LOGO_HEIGHT definitions appear to make no difference to the logo and/or the way it appears. The LOGO_IMAGE definition did work.

    I know this is NOT the way it is meant to be done, but when all else fails, what else is left.

    Fred

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing the logo

    Did you select your custom template 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

  6. #6
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: Changing the logo

    Quote Originally Posted by afo View Post
    Did you select your custom template in the admin under tools->template selection?

    I don't have any custom templates installed. This is still an out of the box installation.

    Fred

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing the logo

    Quote Originally Posted by FredZ View Post
    I don't have any custom templates installed. This is still an out of the box installation.

    Fred
    If you want to start changing things, you should create some "custom" information or you'll run into problems later on because you won't remember what you changed and future updates/upgrades will overwrite your changes.

    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\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\images\logo.gif
    includes\templates\YOUR_TEMPLATE\css\stylesheet.css

    Any where you see a \classic\ folder, you can create a folder for your custom template.

    You can just copy the files into your newly created folders from the default locations (in other words copy english.php into includes\languages\YOUR_TEMPLATE\english.php). The only file you need to edit right off is includes\templates\YOUR_TEMPLATE\template_info.php to make the $template_ values meaningful to you and make the template easy to select from the admin.

    Don't forget to use a text editor (like Notepad, Textpad or Crimson Editor) to make your changes since other editors may interfere with the php coding.
    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

  8. #8
    Join Date
    Feb 2007
    Location
    Perdido Beach, Alabama
    Posts
    34
    Plugin Contributions
    0

    Default Re: Changing the logo

    Hello all,
    I am having the same trouble...however , I did creat "custom" folders as per most of the FAQ suggestions... AND that darn LOGO... is still there... and the background. and I did replace the "logo.gif" in my Includes/templates/custom/images... I am thinking I had to have missed some VERY important instruction...Are we supposed to TELL the ZenCart system the NAME of our CUSTOM folders ?? In ADMIN ? Did I have a terrible brain fart ?
    HELP !
    Please
    SteveRF

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing the logo

    Are we supposed to TELL the ZenCart system the NAME of our CUSTOM folders ?? In ADMIN ? Did I have a terrible brain fart ?
    When you create this you also need to include a file - template_info.php and edit this file to reflect the name of your template:
    Code:
    $template_name = 'Your_Template_Name';
    Then in admin > tools > template selection > edit > slect from the drop you template name and update
    Admin > tools > layout boxes controller > at the bottom reset.
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Feb 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Changing the logo

    Hello all,
    I am having the same trouble.., I have followed the instructions as per as per https://www.zen-cart.com/tutorials/i...hp?article=125, but I can found the folder name's CUSTOM, so I made a new logo put it into includes/templates/classes/images/logo(use same name but new logo),
    but unsucessful, please help me how to solve it.
    Thanks a lot.
    newuser

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Changing the logo
    By kgorhan in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Aug 2012, 12:37 PM
  2. Changing the logo
    By gamenet in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 8 Nov 2010, 01:58 AM
  3. Changing the 'Powered By, Zen Cart, the art of ecomerce' logo?!
    By cmerr85 in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 29 Nov 2009, 06:54 AM
  4. Changing the logo
    By deathbybutterscotch in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 May 2008, 10:26 AM

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