CoolAJ Posted July 10, 2003 Share Posted July 10, 2003 Hi, could you please tell me how to get rid of the header "Whats new here?" and the New products box on the main page? The contribution define_mainpage doesn't work so I need to do it manually. Which files are to be changed? Thank you, AJ Link to comment Share on other sites More sharing options...
Chad Posted July 10, 2003 Share Posted July 10, 2003 This works somewhat. open default.php in catalog/ directory. find this line.. around 230 in the newest snapshot.. should be similar in older versions. <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> Make sure you backup the file first, then delete it. To get rid of the new products from showing up on the main page.. Look for this in default.php. <tr> <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> </tr> Delete it :) Link to comment Share on other sites More sharing options...
Guest Posted July 10, 2003 Share Posted July 10, 2003 Better is to set HEADING_TITLE to '' in includes/languages/english/default.php (replace english with a different language if necessary). It's easier to restore it later and allows you to separate the three situations when it is printed. It will look like this after: define('HEADING_TITLE', ''); Good luck, Matt Link to comment Share on other sites More sharing options...
CoolAJ Posted July 11, 2003 Author Share Posted July 11, 2003 Thanks you so much. I simply commented the lines out with <!-- text --> Ciao AJ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.