Zoi Posted March 19, 2004 Share Posted March 19, 2004 Hi all.. Anyone know how the *Biip* i remove the Infobox "Tell_a_friend" on the right column? i tryed put a // infront of this code.. (in includes/column_right.php) if ($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'); } Where do i put i, or HOW do i remove the box ? tell me about it.. thank you! / Andrew :unsure: Link to comment Share on other sites More sharing options...
wondernet Posted March 19, 2004 Share Posted March 19, 2004 If you cant do it that way, just load an empty file "/includes/boxes/tell_a_friend.php". Link to comment Share on other sites More sharing options...
241 Posted March 19, 2004 Share Posted March 19, 2004 from your own post if ($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'); ?} change to /* if ($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'); ?} */ this removes tell a friend and specials if you want to keep specials if ($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...
Zoi Posted March 20, 2004 Author Share Posted March 20, 2004 241! Thanks alot!.. it worked! :> finally i can move on with my page :), cheers! :D :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.