Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

replace define('HEADING_TITLE', 'text'); with bkcolor or img


netisuroyster

Recommended Posts

I assume you are talking about the text to image change.

 

1) Open up catalog/includes/languages/english.php (if english is your default language)

 

Try this as an example:

 

1) Open up catalog/includes/languages/english.php (if english is your default language)

2) Change your code from:

 

define('HEADER_TITLE_CHECKOUT', 'Checkout');

 

To

 

define('HEADER_TITLE_CHECKOUT', '<img src="images/checkout.gif" border="0">');

 

This will change the text 'checkout' in the header.php page with an image.

ensure your images are in you catalog/images/directory (can be in a directory further down the scale - i.e. catalog/images/displayimages/etc)

 

If you want to change then text in boxes to images then:

 

// categories box text in includes/boxes/categories.php

define('BOX_HEADING_CATEGORIES', '<img src="images/categories.gif" border="0">');

 

You can do this to almost anywhere there is text.

 

Do you see what I am doing here? If not - send me a private message and I can explain further :-)

 

Hope this helps!

James

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...