varnco Posted May 4, 2003 Share Posted May 4, 2003 Okay, I am trying to remove the new products info box from my default.php page, but I am having no luck commenting it out. This is what I am trying to comment out: <td><br> <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> But, if I try to use // to comment it out, it doesn't comment it out. If I try to use <!-- --> it doesn't work either. I don't want to delete the code from default.php as I may want to display "new products" at a later date. Obviously, I am doing something wrong, but can't figure it out. I'm sure it's simple simon... but I've been going at it for hours... Thanks for the help! Link to comment Share on other sites More sharing options...
rseigel Posted May 4, 2003 Share Posted May 4, 2003 I believe this appears 3 times in default.php. You need to comment out all three of them. :wink: Link to comment Share on other sites More sharing options...
varnco Posted May 4, 2003 Author Share Posted May 4, 2003 Didn't work. I think I must be using the wrong things to comment out the lines. I've tried // right before the line.... nothing. I've tried the <!-- --> and nothing... Link to comment Share on other sites More sharing options...
orchard Posted May 4, 2003 Share Posted May 4, 2003 To comment out the php line, are you doing it like this? <?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?> In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink: Link to comment Share on other sites More sharing options...
varnco Posted May 4, 2003 Author Share Posted May 4, 2003 ... dumb that I was doing... I was adding the // before the <?php and not before the includes statement. Hours wasted over something so simple. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.