Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

turning off what's new box


Xodduzz

Recommended Posts

Searched the forums a bit, this one only.. couldn't find any posts about it..

Most likely because it's so trivial only nipwits like me have this problem..

anyways if anyone could help me tell me how to turn of the bottom box I'd be eternally grateful!

 

Xodduzz

Link to comment
Share on other sites

In your main index.php page look toward the bottom of the page and replace...

 

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

 

with

<td><!-----THIS IS WHERE WHATS NEW USED TO BE-----></td>

 

 

I only say to do it that way so that if you use any contributions that you need to place where "What's new used to be" then you will know.

Contributions I used : Updated 06-13-04 23:42

----------------

Vote on My Graphis Poll

Link to comment
Share on other sites

There are 2 references to FILENAME_NEW_PRODUCTS in index.php which generate that.

 

Change both from:

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);?></td>

 

To:

<td></td>

 

Sorry if this is the sloppy way but Im no programmer I just know what works. Hope this helps.

 

Kenneth

Kenneth S

--------------

Customer "Are you a real programmer?"

Me "No, but I did stay at a Holiday Inn Express last night"

Link to comment
Share on other sites

Perhaps a better way to do this, so that it is easily restored if desired, would be to rem out the code rather than delete it.

 

i.e., change

<td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td>

into

<td>
 <?php 
     //include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); 
 ?>
</td>

You could also add a HTML comment so someone else can more easily understand what's going on.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...