agtlewis Posted February 2, 2003 Share Posted February 2, 2003 So far modifying this script has been painless, however I am stuck on something. In my store I want to set the heading title to be the same as the category which is selected. So if I were to click on EMT Pants, the title would be EMT pants, instead of WHAT DO WE GOT HERE UH UH. My guess is that /includes/languages/english/default.php would be the file to modify, but I am not sure. If anyone could tell my an easy way to do this I would appreciate it. Here is the code which I think needs to be changed. if ($category_depth == 'products' || $HTTP_GET_VARS['manufacturers_id']) { define('HEADING_TITLE', 'Product List'); define('TABLE_HEADING_IMAGE', ''); define('TABLE_HEADING_MODEL', 'Model'); define('TABLE_HEADING_PRODUCTS', 'Product Name'); define('TABLE_HEADING_MANUFACTURER', 'Manufacturer'); define('TABLE_HEADING_QUANTITY', 'Quantity'); define('TABLE_HEADING_PRICE', 'Price'); define('TABLE_HEADING_WEIGHT', 'Weight'); define('TABLE_HEADING_BUY_NOW', 'Buy Now'); define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.'); define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: '); define('TEXT_SHOW', '<b>Show:</b>'); define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); define('TEXT_ALL', 'All'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', 'Greetings!'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } Here is an example link... http://www.astions.com/default.php/cPath/25 On another note, I would appreciate any feedback on the site so far. http://www.astions.com/ Link to comment Share on other sites More sharing options...
agtlewis Posted February 2, 2003 Author Share Posted February 2, 2003 I know someone knows something about this. Please help as this is important. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.