Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove NEW_PRODUCTS code


dhooper

Recommended Posts

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

I'm new to this php coding. I think I'm not doing something right, as the box is not moving.

 

I changed both the codes in the catalog/index.php to:

 

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

 

And added /* ..... */ to the modules/new_products.php file Now, this file, at the beginning I have:

 

<!-- new_products //-->

<?php /* ..... */

 

I also tried putting the /* ..... */ at the very top before the first <?php. When that didn't work, I put it after the first <?php.

 

The end of the file now reads:

 

/* ..... */

?>

<!-- new_products_eof //-->

 

What am I doing wrong?

Diana

Link to comment
Share on other sites

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

That's all you need to do (twice).

 

I that doesn't work, I'll need your URL to be of any more help.

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

You may have been looking at your PC's cache of the page.

 

Whenever I make a change to a page (or stylesheet) I always hold the <Ctrl> key down while doing a page refresh when looking at the new page.

 

This forces the browser (IE and Firefox anyway) to fetch and display the latest contents from the server.

;)

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...