Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2008
    Location
    Halifax, NS
    Posts
    272
    Plugin Contributions
    0

    help question Admin Logo / Invoice Logo - update

    I'm trying to locate the file that I can accually update the logo.gif to logo.png and the size of it..

    Can't seem to track it down - have been doing searches for a while and they always the wrong files..

    thanks

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

    Default Re: Admin Logo / Invoice Logo - update

    To define it as a png
    admin/includes/languages/english.php

    To replace it with your png
    admin/index.php

    Also in
    admin/server_info.php

    upload your png to
    admin/images

    Also create one to replace small_zen_logo.gif
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2008
    Location
    Halifax, NS
    Posts
    272
    Plugin Contributions
    0

    Default Re: Admin Logo / Invoice Logo - update

    Vola it worked thanks


    Rick

  4. #4
    Join Date
    Jan 2020
    Location
    Boston MA
    Posts
    12
    Plugin Contributions
    0

    Default Re: Admin Logo / Invoice Logo - update

    I've was able to change the Admin Logo to my logo... but it squishes it. I can't find where the code is to change the size

    Can someone help?

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Admin Logo / Invoice Logo - update

    Quote Originally Posted by ChrisPardy View Post
    I've was able to change the Admin Logo to my logo... but it squishes it. I can't find where the code is to change the size

    Can someone help?
    Those values are defined as constants which are present at the top of the /admin/includes/language/english.php (or your alternate language main file).

    One of two methods. Since none of those values are actually language-related, you could create the file /admin/includes/extra_datafiles/logo_info.php that contains
    Code:
    <?php
    //-Overriding the values in /includes/languages/english.php
    define('HEADER_LOGO_WIDTH', '192');
    define('HEADER_LOGO_HEIGHT', '68');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    ... so that you're not modifying a core Zen Cart file; otherwise, edit the english.php file directly and make sure to comment your changes so that they're carried forward on your next Zen Cart upgrade.

  6. #6
    Join Date
    Jan 2020
    Location
    Boston MA
    Posts
    12
    Plugin Contributions
    0

    Default Re: Admin Logo / Invoice Logo - update

    Thank you! I found it and it worked.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,472
    Plugin Contributions
    88

    Default Re: Admin Logo / Invoice Logo - update

    Quote Originally Posted by ChrisPardy View Post
    Thank you! I found it and it worked.
    Thanks for the report-back!

 

 

Similar Threads

  1. v154 logo on invoice does not show after I changed to my logo in admin directory
    By RonGin in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Jan 2016, 01:38 AM
  2. v150 change logo/address location in invoice page in admin
    By dfontana in forum General Questions
    Replies: 0
    Last Post: 20 Sep 2012, 06:38 PM
  3. Logo on invoice
    By VisExp in forum General Questions
    Replies: 3
    Last Post: 13 Feb 2009, 03:45 AM
  4. Trust Logo, SSL Logo and Auth Net Logo
    By MagicMan in forum General Questions
    Replies: 4
    Last Post: 28 Jan 2009, 06:19 PM
  5. logo on invoice
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Oct 2006, 10:26 PM

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