josieg182 Posted October 8, 2006 Posted October 8, 2006 How do I remove the "new product of the month" box from my index.php page? Take nothing but pictures. Leave nothing but footprints. Kill nothing but time. (\__/) (='.'=) (")_(")
Guest Posted October 8, 2006 Posted October 8, 2006 Down near the bottom of the index.php file (about line 30) find this bit of code <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> Comment out the include like thus <?php /*include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);*/ ?> By commenting out the code, it will be easy to have the box return later if you need to.
ddp Posted October 8, 2006 Posted October 8, 2006 How do I remove the "new product of the month" box from my index.php page? If I am not mistaken the code to comment out is in the includes/column_left.php file. and the code to comment out would be: require(DIR_WS_BOXES . 'whats_new.php'); to this // require(DIR_WS_BOXES . 'whats_new.php'); This removes the box from all the pages. BTW I love your signature. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
Guest Posted October 9, 2006 Posted October 9, 2006 Hi ddp. I was thinking that Dani was talking about the new products section in the main text area. Anyway, now both boxes are revealed. Love the sig too.
ddp Posted October 9, 2006 Posted October 9, 2006 Hi ddp.I was thinking that Dani was talking about the new products section in the main text area. Anyway, now both boxes are revealed. Love the sig too. Yeah I was not sure what was wanted so I posted the other solution. Backup before making changes. Backup before making changes! Backup before making changes!! You did do a backup? eh?
yodatriker Posted January 28, 2008 Posted January 28, 2008 when i click on a category the whats new for box is there how do i remove that? what file do i need to edit
Recommended Posts
Archived
This topic is now archived and is closed to further replies.