Guest Posted February 20, 2004 Posted February 20, 2004 I want to change the line where it says "Let's see what we have here" on the products page, plus I want to get rid of the placeholder for the "Let's See" image as the image file is missing. I need to know which php file is this that I need to edit. This is the link : http://www.genrxnutrition.com/catalog/index.php?cPath=25 Thanks in advance!
1quicksi Posted February 20, 2004 Posted February 20, 2004 Wording: In: catalog/includes/languages/YourLanguage/index.php Find: define('HEADING_TITLE' Imgage: While you could edit the necessary file and remove the call to the image, it would be much easier to jsut rename the image to .bak and copy over pixel_trans.gif to the name of the image file. knowledge base | Contributions | Search
241 Posted February 20, 2004 Posted February 20, 2004 Let's see what we have here is in catalog/includes/languages/english/index.php If you want you can change this to show the category name instead with this code changes define('HEADING_TITLE', 'Let\'s See What We Have Here'); change to define('HEADING_TITLE', $categories['categories_name']); and this define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } change to define('HEADING_TITLE', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', $categories['categories_name']); } the image is used in a lot of pages search for the code <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted February 20, 2004 Posted February 20, 2004 STEVE UR A GENIUS...THANKS SO MUCH!!!! WOOHOO!
Guest Posted February 20, 2004 Posted February 20, 2004 Actually Steve I cannot find the image placeholder...can you tell me a couple of files that contain this code?
1quicksi Posted February 20, 2004 Posted February 20, 2004 I still think uploading a transparent image 1x1 pixel in size as the same name as the image you want to eliminate is much easier then editing and looking for code and it does the exact same thing. Plus if you ever want to revert back for some reason it is much simplier then re-looking for everything and re-coding although hopefulyl you are just remarking out the lines you no longer want. Up to you though... knowledge base | Contributions | Search
Magic&Smiles Posted February 21, 2004 Posted February 21, 2004 Ok and what would the name of the graphic file be so I could change it to pixel_trans.gif?
241 Posted February 21, 2004 Posted February 21, 2004 helpmepls the one for you would be the catalog/index.php there are several references to this image for each different file call. do a search or find on this <?php echo tep_image(DIR_WS_IMAGES you should find several references to this code in the index.php file No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Magic&Smiles Posted February 21, 2004 Posted February 21, 2004 Thanks, I found it. I was looking in the wrong index.php file. I was looking in the one that's in the language folders and not the main one. Thanks again steve for your help
Guest Posted February 21, 2004 Posted February 21, 2004 Ok I fixed it, I made a 1x1 pic of the same background color and it worked....Thanks to both Steves for your help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.