bbw Posted July 15, 2004 Posted July 15, 2004 I'm trying to edit my includes/languages/english/index.php file and everything is good except I cannot make that table/box with all the "new products" go a way. I have commented out what I thought was the correct line(s), and then removed these three lines, all of which I don't need. /* define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); */ I'm using StS (simple page template) but I don't know if the problem is related to this, or if I'm just editing the wrong file, or in the wrong way. A link to see: http://www.spiceswest.com/catalog Thanks bbw
Guest Posted July 15, 2004 Posted July 15, 2004 all you are doing when you comment those out is the defines which say new products . . . . if you want to remove what you are talking about , you will need to start in the catalog/index.php
bbw Posted July 15, 2004 Author Posted July 15, 2004 I see now - that makes more sense! What whould I take out? I'm not having any luck with guessing since I'm just learning this cart's guts AND php in general. I took a couple of stabs at what I tought it would be, but it hasn't worked with what I've removed. Thanks very much!! bbw
bbw Posted July 16, 2004 Author Posted July 16, 2004 I could really use some help on what to edit out of the catalog/index.php file to get rid of the new products box. Anyone? Thanks! bbw :huh:
CentralMass Posted July 16, 2004 Posted July 16, 2004 I have the answer for you, since I had to do this today as well. First Backup your index.php file find <td><?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> There are 2 instances of this, YOU MUST FIND THE SECOND ONE Remove the SECOND instance of it....just hit delete. Upload the new file and refresh, DONE! Need Hosting? Just ask!
bbw Posted July 16, 2004 Author Posted July 16, 2004 Matt: YOU ARE THE MAN!! Worked like a charm! A million thanks! Brooke :D
Mary B. Posted July 16, 2004 Posted July 16, 2004 In case you want to put it back there someday, and alternative would be to comment it out, like this: <td><?php // include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?></td> They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ
bbw Posted July 17, 2004 Author Posted July 17, 2004 Thanks for that tip as well. Although I'm obsessive about backing up, and I keep .txt files with everything I "remove" just in case, I also keep tips like this, JUST IN CASE! Thanks!!! Brooke :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.