Graveyard666 Posted October 18, 2005 Share Posted October 18, 2005 I saw a thread earlier today in this forum on tips & tricks for the tell-a-friend contrib, I was wondering if someone could steer me in the direction of getting the tell-a-friend contrib to work on the product_info.php page. I want a link on that page to take the person to catalog/tell_a_friend.php instead of an infobox in the right column any ideas or am I missing a pre-existing contrib or thread that shows this already? jeff Link to comment Share on other sites More sharing options...
Graveyard666 Posted October 18, 2005 Author Share Posted October 18, 2005 nevermind, i got it figured out Link to comment Share on other sites More sharing options...
crybaby Posted October 19, 2005 Share Posted October 19, 2005 Can you share with me how you figured out the solution to your problem. I have the same situation and what I have been doing is going in to each product individually and adding a html to the description of the product. The html is only for tell a friend. I would just like to have it done inside my admin so that way I don't have to manually add it to each product. I can't use any of my infoboxes. If you have a chance, please share. Thanks I saw a thread earlier today in this forum on tips & tricks for the tell-a-friend contrib, I was wondering if someone could steer me in the direction of getting the tell-a-friend contrib to work on the product_info.php page. I want a link on that page to take the person to catalog/tell_a_friend.php instead of an infobox in the right column any ideas or am I missing a pre-existing contrib or thread that shows this already? jeff Link to comment Share on other sites More sharing options...
minghoo Posted October 23, 2005 Share Posted October 23, 2005 Can you share with me how you figured out the solution to your problem. I have the same situation and what I have been doing is going in to each product individually and adding a html to the description of the product. The html is only for tell a friend. I would just like to have it done inside my admin so that way I don't have to manually add it to each product. I can't use any of my infoboxes. If you have a chance, please share. Thanks here is the text link of tell a friend: <?php echo '<a href="' . tep_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL') . '">' . BOX_TELL_A_FRIEND_TEXT . '</a>'; ?> My contributions: EZ new fields easy way add Qty box in your product_info.php Link to comment Share on other sites More sharing options...
airolg Posted October 23, 2005 Share Posted October 23, 2005 here is the text link of tell a friend: <?php echo '<a href="' . tep_href_link(FILENAME_TELL_A_FRIEND, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL') . '">' . BOX_TELL_A_FRIEND_TEXT . '</a>'; ?> Where (file) would you put this? And would that work for Ask_a_question contribution on each product page? Link to comment Share on other sites More sharing options...
minghoo Posted October 24, 2005 Share Posted October 24, 2005 Where (file) would you put this? And would that work for Ask_a_question contribution on each product page? I don't know about ask_a_question contribution. put code in the product_info.php My contributions: EZ new fields easy way add Qty box in your product_info.php Link to comment Share on other sites More sharing options...
Ronny Posted January 6, 2007 Share Posted January 6, 2007 I don't know about ask_a_question contribution.put code in the product_info.php Tryed this but when clicking the link I get this: Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /hsphere/local/home/webtask/eterya.com/tell_a_friend.php on line 123 Here´s the code around line 123 in my tell_a_friend.php: <!-- Start code --> <tr><td valign="top"> <table border="0" cellspacing="0" cellpadding="0"> <tr><td width="2"></td> <td width="220" valign="top"><?php require(DIR_WS_INCLUDES . 'column_left.php'); ?></td> <td width="2"></td> <td width="505" valign="top"> <?php require(DIR_WS_INCLUDES . 'menu.php'); ?> <table border="0" cellspacing="0" cellpadding="0"> <tr><td><?=tep_image(DIR_WS_IMAGES.'m27.gif')?></td> <td class="bg6 ab" width="496" height="26"> <?=tep_image(DIR_WS_IMAGES.'m29.gif')?> <span class="tx2"><?=echo sprintf(HEADING_TITLE, $product_info['products_name'])?></span></td> <td><?=tep_image(DIR_WS_IMAGES.'m30.gif')?></td></tr> <tr><td height="15" colspan="3"></td></tr> </table> <!-- body //--> May life be good to you... Sincerely, Ronny Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.