Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing front page???


Guest

Recommended Posts

This is my first visit to the site. I hope I can describe my problem without confusing you or me more! when I add a new product and picture to the site it shows on the front page-is there any way of adding a new product and not having it show. I woul dlike to have my front page remain the same all the time, not show the new item. :D

thanks, Janice

Link to comment
Share on other sites

Just go into:

 

/catalog/inlcudes/column_left.php and comment out this line.

 

require(DIR_WS_BOXES . 'whats_new.php');

 

You comment by putting to forward slashes // in front of the code. LIke this:

 

//require(DIR_WS_BOXES . 'whats_new.php');

 

Then go read:

 

http://wiki.oscommerce.com

 

After that, if you need anymore help let me know.

Steve

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

Link to comment
Share on other sites

I love this Support Forum!! I have been trying to remove the manufacturer's box to no avail.

 

I just keep reading the boards, taking notes and I will be a master before I know it, :lol:

Thanks,

 

Karole

Link to comment
Share on other sites

I love this Support Forum!!  I have been trying to remove the manufacturer's box to no avail.  

 

I just keep reading the boards, taking notes and I will be a master before I know it,  :lol:

 

In the /catalog/includes/column_left.php

 

Find this code.

  if ( (USE_CACHE == 'true') && !SID) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }

 

 

And you need to comment out this entire piece of code. Now to do this you will us a diffrent type of comment tag, which is. /* */

 

Like this:

 /* if ( (USE_CACHE == 'true') && !SID) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }*/

 

This will disable the manufacture box. And keep up the great attitude, it will take you far in OSC and in life. Ok, I'm getting philosophical, I'll stop! :D

 

Need anymore help let me or the board know. We will try and help.

Steve

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

Link to comment
Share on other sites

I didn't do this:

/* if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}*/

 

i actually just did this:

 

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_manufacturers_box();

} else {

// include(DIR_WS_BOXES . 'manufacturers.php');

}

 

and it worked just fine. Will not doing it the other way, effect something else, elsewhere??

Thanks,

 

Karole

Link to comment
Share on other sites

I didn't do this:

/* if ( (USE_CACHE == 'true') && !SID) {  

   echo tep_cache_manufacturers_box();  

 } else {  

   include(DIR_WS_BOXES . 'manufacturers.php');  

 }*/  

 

i actually just did this:

 

if ( (USE_CACHE == 'true') && !SID) {  

   echo tep_cache_manufacturers_box();  

 } else {  

//   include(DIR_WS_BOXES . 'manufacturers.php');  

 }

 

and it worked just fine.  Will not doing it the other way, effect something else, elsewhere??

 

Not that I have run into yet. This only sets up the manufacture box and the manufacture box cache, in the column, it doesn't do anything else.

Steve

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

Link to comment
Share on other sites

I didn't do this:

/* if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}*/

 

i actually just did this:

 

if ( (USE_CACHE == 'true') && !SID) {

echo tep_cache_manufacturers_box();

} else {

// include(DIR_WS_BOXES . 'manufacturers.php');

}

 

and it worked just fine. Will not doing it the other way' date=' effect something else, elsewhere??[/quote']

 

Not that I have run into yet. This only sets up the manufacture box and the manufacture box cache, in the column, it doesn't do anything else.

 

I did think of one more effect, doing it your way. It will set up cache for the manufacture box that you won't need, it just takes up disk space and that is unneccessary.

Steve

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...