rubygirl Posted April 26, 2003 Posted April 26, 2003 Can someone please tell me why this code won't work? if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) { $hide = tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']); $hide .= tep_hide_session_id(); $tell_friend = '<form name="tell_a_friend" method="get" action="' . tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false) . '"><div align="center">' . tep_draw_input_field('send_to', '', 'size="10"') . ' ' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . $hide . '</div><br><p align="center">' . BOX_TELL_A_FRIEND_TEXT . '</td>'; } this is part of another contrib and for someone reason when this is applied I end up in the cart contents area of the site.... IDEAS ANYONE??? Quote
Anotherone Posted May 2, 2003 Posted May 2, 2003 Really good answers :? I have the same problem, seems to be a problem with the email settings. Can you tell me your solution? Anotherone Quote
rubygirl Posted May 2, 2003 Author Posted May 2, 2003 actually I haven't solved the issue as of yet - in order to be able to use some of the contrib however- I simply removed the tell a friend box and placed it back in the columns - seems like the "form" issue is preventing it from working the way it was coded in the contrib. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.