Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HEADER


bs2713

Recommended Posts

How can I change the picture on the Header? I have managed to take out "osCommerce.gif" but cannot find where the pictures are getting defined...

 

I have found this in OSCDOX.com:

 

In /catalog/includes/header.php change:

<td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'The Power-Matrix Mall'); ?></td>

 

to:

<td valign="middle"><?php echo '<a href="' . HEADER_IMAGE_LINK . '">' . tep_image(DIR_WS_IMAGES . HEADER_IMG_PIC, HEADER_IMG_ALT) . '</a>'; ?></td>

 

Then in /catalog/includes/languages/english.php define the following:

// define header image information

define('HEADER_IMG_PIC', 'powerclouds2.gif');

define('HEADER_IMG_ALT', ' Welcome to The Power-Matrix Mall ');

define('HEADER_IMAGE_LINK','http://www.power-matrix.com');

 

 

The problem is that I cannot find these lines in the english.php:

 

define('HEADER_IMG_PIC', '');

define('HEADER_IMG_ALT', '');

define('HEADER_IMAGE_LINK','');

 

 

Can someone point me in the right direction?

Link to comment
Share on other sites

Ok, got it now. What I have done is replaced the code like it said in the OSCDOX and then added those definitions with my own gif file and my url. I missunderstood the instructions. You are supposed to add those definitions to the english.php

 

Thanks for a quick reply though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...