chloe Posted March 14, 2006 Posted March 14, 2006 Hi All: Still struggling here. Where do I "//" out the New Product Listing on the bottom of the front page so it does not show anymore. I'm guessing it is on the index.php, but where? Thanks.
rabbitseffort Posted March 14, 2006 Posted March 14, 2006 in index.php find somewhere around line 316 in the root index.php file--your line # may be different, <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> and if you delete that code out it will take out the new products module good luck--hope this helps--you may want to write this down in case you ever want to put it back :thumbsup: "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
sra4031 Posted March 14, 2006 Posted March 14, 2006 Worked great, but some notes. Before you do this copy the file into your html editor, or text editor so if you mess up, all you have to do is go and retreive it. Second, this only works for the index page. I would like to get it off the list completely. It will always show your last product entered as being new, even a year from now, which makes you look new.
rabbitseffort Posted March 14, 2006 Posted March 14, 2006 to have it gone all the way then you could go to all the pages that still show a reference of new products and edit the line out that calls the module you could also comment out the new products box like so: //require(DIR_WS_BOXES . 'whats_new.php'); that way the box doesnt exist anymore "I must admit that I personally measure success in terms of the contributions an individual makes to her or his fellow human beings." ---Margaret Mead--- "The answer is never the answer. What's really interesting is the mystery. If you seek the mystery instead of the answer, you'll always be seeking. I've never seen anybody really find the answer -- they think they have, so they stop thinking. But the job is to seek mystery, evoke mystery, plant a garden in which strange plants grow and mysteries bloom. The need for mystery is greater than the need for an answer. --Ken Kesey"
sra4031 Posted March 15, 2006 Posted March 15, 2006 I accidently did it. The same code in line 316 is also up towards the top of index.php. Delete that line and it will take it off the site except the index page. So if you take that code out of both places in index.php it will take all the New Product boxes out.
chloe Posted March 15, 2006 Author Posted March 15, 2006 Hi All: Still struggling here. Where do I "//" out the New Product Listing on the bottom of the front page so it does not show anymore. I'm guessing it is on the index.php, but where? Thanks. Hi All: It worked! Thank you so much! I'm almost there. Patti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.