Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images instead of boxes


tanicos

Recommended Posts

Put the various images you want for the header in your /includes/languages/[iNSERT LANGUAGE HERE]/images/ folders.

 

An example with the "Categories" box.

 

The image I'm using as an example is named categories_header.gif

 

In /includes/languages/english.php

 

Find this code:

 

define('BOX_HEADING_CATEGORIES', 'Categories');

Alter to:

 

define('BOX_HEADING_CATEGORIES', tep_image(DIR_WS_LANGUAGES . $language . '/images/categories_header.gif','Categories'));

Then make similar changes in In /includes/languages/spanish.php (or whatever language you support).

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...