Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Packaging Slip - How to change image?

Packaging Slip - How to change image?

Locked

Views: 958

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Aug 2008, 3:40 PM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

Packaging Slip - How to change image?

I thought I might have been close to changing the Zencart image to my personalized logo when I looked in admin/packagingslip.php. I also saw this line of code:

<td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>

However, I do believe I need to edit the HEADER_LOGO_IMAGE to call my own logo. Can anyone guide me as far as changing this logo? I'm stuck.

thanks!

18 Aug 2008, 3:57 PM
#2
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

Re: Packaging Slip - How to change image?

I found the answer!

In admin/includes/languages/english.php you can modify that following definitions:

define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'logo.gif');

these control the header image on all admin pages - your custom image should be saved to admin/images/

19 Aug 2008, 6:23 AM
#3
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: Packaging Slip - How to change image?

Good work Sfk!

An important note here involves if the image size has been changed when the logo was changed.

If it was, an additional edit is necessary. Here's the tutorial on it:

https://www.zen-cart.com/tutorials/index.php?article=158