Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

paypal logo with image link


BEANSTALKER

Recommended Posts

i'm trying to install a image link to let my customers know i accept paypal on the home page, i just don't know where to put it. If i just put it loose on the page it goes as a header. i have found the perfect place for it, where the -table_background_default.gif- is. I tried putting it where -table_background_default.gif- is in catalog/index.php (between the quotes) & i get a t string error when my site is brought up. Here is the image link i want to put in-

please help

 

 

<!-- PayPal Logo --><table border="0" cellpadding="10" cellspacing="0" align="center"><tr><td align="center"></td></tr>

<tr><td align="center"><a href="#" onclick="java script:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no', width='400', height='350');"><img src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo -->

Link to comment
Share on other sites

Why not put the image at the end of the links in the Information box?

 

Just open includes/boxes/information.php and paste the code at the end of the links there.

 

See how it fits. :)

 

Zipper

Link to comment
Share on other sites

Why not put the image at the end of the links in the Information box?

 

Just open includes/boxes/information.php and paste the code at the end of the links there.

 

See how it fits.  :)

 

Zipper

I tried doing that & the site went coo-coo. the place i want it is below the header & to the left of the right column.

Link to comment
Share on other sites

I tried doing that & the site went coo-coo. the place i want it is below the header & to the left of the right column.

 

 

I have not tested this since I do not have a testsite to do it in, but this might work in theory. :)

Open /default.php or index.php and find this line of code:

<td class="pageHeading" valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE); ?>
</td>
</tr>

 

Just after add this:

<tr>
<td width="100%">
<!-- PayPal Logo -->
<table border="0" cellpadding="10" cellspacing="0" width="100%" align="right"><tr><td align="center"></td></tr>
<tr><td align="center"><a href="#" onclick="javascript:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no', width='400', height='350');"><img src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo -->
</td>
</tr>

 

That should place the image in the correct place.

 

Zipper

Link to comment
Share on other sites

I have not tested this since I do not have a testsite to do it in, but this might work in theory. :)

Open /default.php or index.php and find this line of code:

<td class="pageHeading" valign="top"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE); ?>
</td>
</tr>

 

Just after add this:

<tr>
<td width="100%">
<!-- PayPal Logo -->
<table border="0" cellpadding="10" cellspacing="0" width="100%" align="right"><tr><td align="center"></td></tr>
<tr><td align="center"><a href="#" onclick="javascript:window.open('https://www.paypal.com/us/cgi-bin/webscr?cmd=xpt/popup/OLCWhatIsPayPal-outside','olcwhatispaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no', width='400', height='350');"><img src="https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" border="0" alt="Solution Graphics"></a></td></tr></table><!-- PayPal Logo -->
</td>
</tr>

 

That should place the image in the correct place.

 

Zipper

 

 

i did just that & it's in pretty much in the area i want it, but it lowered the left & right columns, check it out www.gpsmarineoutlet.com

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...