Assailant Posted February 27, 2004 Share Posted February 27, 2004 Hmm searched the forums, and I know about commenting out boxes, but when i comment tell a friend 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'); as so...it gives me a parse error, I dont wanna install the column manager admin because my hosting isnt setup for phpmyadmin so ide have to install that, so does anyone know of an easier way? thanks all the other commented out boxes arent listed so the rest work only this is giving me a prob, maybe because I have the login mod box installed? Link to comment Share on other sites More sharing options...
241 Posted February 27, 2004 Share Posted February 27, 2004 Tell a friend is in catalog/includes/column_right.php this is 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 { include(DIR_WS_BOXES . 'specials.php'); } comment out to give 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 { include(DIR_WS_BOXES . 'specials.php'); } */ or if you wish to keep the specials box 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'); } No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Assailant Posted February 27, 2004 Author Share Posted February 27, 2004 gives me a parse error Link to comment Share on other sites More sharing options...
Assailant Posted February 28, 2004 Author Share Posted February 28, 2004 nm got it thanks man Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.