Jump to content
Sign in to follow this  
sheepiedog

Add This Contribution 6884

Recommended Posts

hi,

 

I would like to install the Add This Contribution 6884

 

to the bottom of the Tell A Friend Box which is in my right column.

 

I have attempted a few times and it just ends up as text at the top of the right column and I dont know enough where to add it.

 

According to the contribution I need to add

/*BOF Add This Contribution*/
include (DIR_WS_MODULES . FILENAME_ADD_THIS);
/*EOF Add This Contribution*/

 

I would like to add this to the bottom of my Tell A Friend Box - this is my existing tell_a_friend.php code :

 

<?php
/*
 $Id: tell_a_friend.php,v 1.16 2003/06/10 18:26:33 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/
?>
<!-- tell_a_friend //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_TELL_A_FRIEND);

 new infoBoxHeading($info_box_contents, false, false, false, $column_location);

 $info_box_contents = array();
 $info_box_contents[] = array('form' => tep_draw_form('tell_a_friend', tep_href_link(FILENAME_TELL_A_FRIEND, '', 'NONSSL', false), 'get'),
                              'align' => 'center',
                              'text' => tep_draw_input_field('to_email_address', '', 'size="10"') . ' ' . tep_image_submit('button_tell_a_friend.gif', BOX_HEADING_TELL_A_FRIEND) . tep_draw_hidden_field('products_id', $HTTP_GET_VARS['products_id']) . tep_hide_session_id() . '<br>' . BOX_TELL_A_FRIEND_TEXT);

 new infoBox($info_box_contents, $column_location);
?>
           </td>
         </tr>
<!-- tell_a_friend_eof //-->

 

If someone could advise how I would be able to add this code, or if perhaps it is not possible - would really appreciate it.

Share this post


Link to post
Share on other sites

I have changed my mind - I would like to add the Add This button to column right and have it sit at the bottom right after the info boxes.

 

I have been able to get the button appear but only at the top of the column and I fear that I havent done it correctly.

 

If someone could please help and advise me on where in the code in column right would be the correct place to add this button and code and any code I need to make this addition correctly. (so I dont break something else)

Edited by sheepiedog

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×