Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Getting rid of What's New Here? and icon


decadude

Recommended Posts

To completly get rid of 'Let's See What We Have Here?' and the Icon on the Home page.

First backup your *catalog*/index.php and *catalog*/includes/languages/english/index.php files because you will need to edit them.

 

In *catalog*/index.php

 

Do a search for the three occurances of:

php echo tep_image.

 

The code will look something like this:

 

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

Then comment out the icon like this:

 

<!-- <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> -->

 

The first occurance of php echo tep_image will be the Home page icon, the next two will be the parent category level, then the child category level icons.

 

Now edit your *catalog*/includes/languages/english/index.php file

 

Do a search for:

define('HEADING_TITLE', 'Let\'s See What We Have Here');

and

define('HEADING_TITLE', 'What\'s New Here?');

 

If you don't want anything to show up, then make them both look like this:

define('HEADING_TITLE', '');

 

Otherwise you can customize the title youself with your own text.

Please remember to use \' for apostrophies as in Let\'s otherwise you will end up with a page error.

 

Danny

If I'm giving advice, it is based on what path I would take to fix your problem. My path may be wrong.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...