ya_dood Posted March 6, 2006 Posted March 6, 2006 How do I change the index content. I checked out catalog/index.php and catalog/includes/languages/english.php but couldn't figure how to remove all the content in the middle so I can put some HTML that will draw in jpgs. thanks
Guest Posted March 6, 2006 Posted March 6, 2006 look in your catalog/includes/languages/english/index.php where the page content is.
ya_dood Posted March 6, 2006 Author Posted March 6, 2006 thanks but I saw that file. When I delete everything it doesn't get rid of the "New Products for March Box" and the "log in" area. It only removes the values that go in the titles. What I need is the file that pulls in those two elements and then I can add a define("") line and put all of my html in there. Here's the file you recommended: define('TEXT_MAIN', 'Hi'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { define('HEADING_TITLE', ''); 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_CATEGORIES', 'All Categories'); define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers'); } elseif ($category_depth == 'top') { define('HEADING_TITLE', ''); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> thanks :)
Guest Posted March 6, 2006 Posted March 6, 2006 well you may want to change the specials and shopping cart page contents or whatever. But basically under the language directory are the main strings for each page (php script) and then some common strings are in the english.php. Some times the page itself pulls in other modules like in your case from the modules\new_products.php which in turn uses the common strings from the english.php. And if you're using template you're on your own as everything is custom there.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.