Ok, I have disabled tell a friend, but I still want to remove tell a friend completely. I have tried to follow the directions on the site, with no success. I am not a developer/coder, so I just follow directions to the best of my ability. I have tried 3 different solutions on the site. I am sure someone will see a basic mistake I am making.
Here is the code in my column_right file.
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');
}
If I do this, where i enter to slashes before the include on the second line, I lose all my page formatting.
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');
}
If I do this, where I remove the second and third line as one post suggested, again I lose all my page formatting.
if (isset($HTTP_GET_VARS['products_id'])) {
include(DIR_WS_BOXES . 'specials.php');
}
If I do this, where I put the slashes before the Tell A Friend line, it seems to do nothing.
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');
}
Any very explicit help is much appreciated
Bob
Edited by bbel121, 24 June 2012 - 05:42 PM.









