Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to remove " What's new here?" title in index.php?


Wanwan

Recommended Posts

Posted

hi,

 

anyone know how to remove the "What's New Here?" title appear in index.php?

 

thank you.

Wanwan -- %_%_

Posted
hi,

 

anyone know how to remove the "What's New Here?" title appear in index.php?

 

thank you.

 

 

Go to your Languages directory then to your language (English) - within that English directory, modify the index.php - you'll see define('HEADING_TITLE') down in that file.

Posted

In order to remove/change what the index heading title is you need to locate your index.php that is in your languages/english/index.php dir.

 

Look on line 22. There you can modify what it sais.

Posted

Thank you annieoakley,

 

May I have one more question? how about the small .gif image ? where to delete it or replace a new .gif?

Wanwan -- %_%_

Posted

Okay hang on first of all the top thing I said was wrong. You need to edit the file or descripion (totally delete it) in the index.php file that is in the store root dir. you will find it on line 293 or so.

 

Can you be more specific? small.gif? where do you see that image at?

Posted
Can you be more specific? small.gif? where do you see that image at?

 

the small picture that located at the end of right site of the "What's New Here?"

this picture is comes with the osCommerce package.

Wanwan -- %_%_

Posted

I beleive if you look right under the whats new here part you will see the image <?php DIR_WS_IMAGES... you can replace it there. See and look because mine is modified and I can't remember if that's the file BUT it's the only place it could be

 

<td>Whats New</td>

<td image></td> <!~ understand?

Posted
Okay hang on first of all the top thing I said was wrong. You need to edit the file or descripion (totally delete it) in the index.php file that is in the store root dir. you will find it on line 293 or so.

 

seth,

I think your 1st post of telling me where to delete the "What's New Here?" is accurate. I' ve deleted the title by using your 1st posted method.

 

thank you again

 

I beleive if you look right under the whats new here part you will see the image <?php DIR_WS_IMAGES... you can replace it there. See and look because mine is modified and I can't remember if that's the file BUT it's the only place it could be

 

<td>Whats New</td>

<td image></td> <!~ understand?

 

I don't know under which file it is... and it is not in index.php file

Wanwan -- %_%_

Posted

I've found the file and the text is in catalog/index.php

 

line 290 and 291

Wanwan -- %_%_

  • 2 weeks later...
Posted

I don't know if this is the "right" way to do it, but if you want to get rid of that image to the right of the "What's New Here" thing...

 

go to catalog/index.php and look for this line:

 

<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

and change it to:

 

<td align="right"><?php echo tep_image(DIR_WS_IMAGES . $NOimage, HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

Maybe a pro here can tell me if that is "ok" to do or not... or if there is a better way.

 

In my index file it was line 282, but I have some mods, etc.

 

Thanks for the info,

 

Pete

I find the fun in everything.

Posted

Hey, i tried doing it myself, with no success.

Removing the line from the /catalog/includes/languages/english/index.php didn't do anything,

and there are several "heading_title" entries in the /catalog/index.php file, and removing those just caused me problems.

any new ideas?

Posted

I figured it out, i think. there are two places where there's a define heading_title, it was the second one in an else clause. thanks!

Archived

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

×
×
  • Create New...