Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner


ixon

Recommended Posts

Make sure your new banner is under the "486x50" group. If not, it will not show.

 

Note: Even though your image for the banners may not be sized at 486 x 50 pixels, it doesn't really matter. It's either you make all banner images to be under this group, or you change the footer.php codes to the new group you are using.

Link to comment
Share on other sites

If you are referring to the banner in the header, you will need to either use back the same filename for the image as before, or change the code to look for your new image.

 

To change the code, open up catalog/includes/header/php and look for the following line around line 57:

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

and change the banner filename accordingly:

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'banner_name.gif', 'site_name') . '</a>'; ?></td>

 

Hope this helps...

 

Note: Banner image in header is not controlled by the Banner Manager. The Banner Manager only controls the dynamic banners at the footer.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...