fr4nkmtl Posted August 22, 2010 Posted August 22, 2010 Hello, I want to erase all this: Notifications, tell a friend, quick find, reviews, and the message "This product was added to our catalog on..." What do I do ?
Guest Posted August 22, 2010 Posted August 22, 2010 Francis, Are you looking to erase the language definitions or the boxes on the columns ? Chris
fr4nkmtl Posted August 22, 2010 Author Posted August 22, 2010 Hi, I want to erase boxes. Thank for the reply.
Guest Posted August 23, 2010 Posted August 23, 2010 Francis, you will find the boxes in includes/column_left.php and includes/column_right.php Just comment out the boxes you don't want to display. ie include(DIR_WS_BOXES . 'best_sellers.php'); change to: // include(DIR_WS_BOXES . 'best_sellers.php'); Chris
fr4nkmtl Posted August 23, 2010 Author Posted August 23, 2010 Thanks, it works for everything exept for "tell a friend" because the code is different. If I add // before include, there's is an error message, if I delete the code there's an error message too. Here's the code: if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { Francis, you will find the boxes in includes/column_left.php and includes/column_right.php Just comment out the boxes you don't want to display. ie include(DIR_WS_BOXES . 'best_sellers.php'); change to: // include(DIR_WS_BOXES . 'best_sellers.php'); Chris
Guest Posted August 23, 2010 Posted August 23, 2010 Francis, Try this: if (isset($HTTP_GET_VARS['products_id'])) { if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND)// include(DIR_WS_BOXES . 'tell_a_friend.php'); } else { Chris
MrPhil Posted August 23, 2010 Posted August 23, 2010 That won't work. Comment out the entire statement: if (isset($HTTP_GET_VARS['products_id'])) { // if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php'); } else {
fr4nkmtl Posted August 23, 2010 Author Posted August 23, 2010 I tried this already like I said, it's not working, look what's the error message: Parse error: syntax error, unexpected '}' in C:\EasyPHP-5.3.3\www\catalog\includes\column_right.php on line 37
Recommended Posts
Archived
This topic is now archived and is closed to further replies.