jetcom77 Posted November 1, 2006 Posted November 1, 2006 Hi I want to change the text on the homepage but cannot seem to find the text in the index page to change it. I have read some tutorials on how to change it and it reffers to a 'define('text main' part of the code near the top of the file. However, my index page has the following at the top of the file..... <?php /* $Id: index.php,v 1.1 2003/06/11 17:37:59 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); // the following cPath references come from application_top.php $category_depth = 'top'; if (isset($cPath) && tep_not_null($cPath)) { $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $cateqories_products = tep_db_fetch_array($categories_products_query); if ($cateqories_products['total'] > 0) { $category_depth = 'products'; // display products } else { $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'"); $category_parent = tep_db_fetch_array($category_parent_query); if ($category_parent['total'] > 0) { $category_depth = 'nested'; // navigate through the categories } else { $category_depth = 'products'; // category has no products, but display the 'no products' message } } } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT); ?> As you can see, their is no 'define('main text' tag. the only thing i can see is the 'require('includes/application_top.php');' which i have checked out, but cannot find any text to edit. Can anyone please help.
knifeman Posted November 1, 2006 Posted November 1, 2006 jetcom77, There are two index files. The one you want to edit is this one: [path to catalog]/includes/languages/english/index.php Tim
Recommended Posts
Archived
This topic is now archived and is closed to further replies.