Sheldon Posted November 12, 2004 Posted November 12, 2004 Where do i change the length of the boxes on the right hand side, My are shopping Cart, Manufacture info, Notifications, etc, They are all ok until I go to a product page and then they are 3 times the length as any other page. Also, how do I take out the manufacturers search box on the left side. Thanks.
Guest Posted November 12, 2004 Posted November 12, 2004 length or width? You can edit the content of each column in catalog/includes/column_left.php and column_right.php. Look for the code that includes infoboxes and comment out the ones that you don't want. -jared
Sheldon Posted November 13, 2004 Author Posted November 13, 2004 length or width? You can edit the content of each column in catalog/includes/column_left.php and column_right.php. Look for the code that includes infoboxes and comment out the ones that you don't want. -jared <{POST_SNAPBACK}> width. Another question on the bottom left I have links for shipping/returns, warranty info, etc, How do I add data to these fields? Thanks again for all your help.
Sheldon Posted November 13, 2004 Author Posted November 13, 2004 width. Another question on the bottom left I have links for shipping/returns, warranty info, etc, How do I add data to these fields? Thanks again for all your help. <{POST_SNAPBACK}> Can't find anyplace in the column_right.php to set the width of the columns.
Guest Posted November 13, 2004 Posted November 13, 2004 There is an entry in includes/application_top.php for the column width. The default is set at 125.
Sheldon Posted November 13, 2004 Author Posted November 13, 2004 There is an entry in includes/application_top.php for the column width.The default is set at 125. <{POST_SNAPBACK}> Here is the code. I can't find it. Also, Were is the file to add infomation to the warranty link. It is located on the bottom left of my site? <?php /* $Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ require(DIR_WS_BOXES . 'shopping_cart.php'); if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php'); if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php'); if (isset($HTTP_GET_VARS['products_id'])) { if (tep_session_is_registered('customer_id')) { $check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'"); $check = tep_db_fetch_array($check_query); if ($check['count'] > 0) { include(DIR_WS_BOXES . 'best_sellers.php'); } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'product_notifications.php'); } } else { include(DIR_WS_BOXES . 'best_sellers.php'); } if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { include(DIR_WS_BOXES . 'specials.php'); } require(DIR_WS_BOXES . 'reviews.php'); if (substr(basename($PHP_SELF), 0, 8) != 'checkout') { include(DIR_WS_BOXES . 'languages.php'); include(DIR_WS_BOXES . 'currencies.php'); } ?>
Guest Posted November 14, 2004 Posted November 14, 2004 The code you're looking for is in application_top.php, not column_right.php. Most pages include application_top.php, then column_left.php, then the main body, then column_right.php, then footer.php/applicaton_bottom.php (don't remember in which order). In application_top.php, look for the variable BOX_WIDTH. That's your column width. -jared
Recommended Posts
Archived
This topic is now archived and is closed to further replies.