coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: Nighthunter on December 30, 2007, 04:31:56 AM

Title: Adding Paypal code under photographs?
Post by: Nighthunter on December 30, 2007, 04:31:56 AM
Which file do i add this code to?


<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="so_help_me_God@heaven.com ">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="item_name" value="Currumbin Creek">
<input type="hidden" name="amount" value="250.00">
<input type="image" src="http://www.paypal.com/en_US/i/btn/x-click-but01.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>


Thanks you.

Steve
Title: Re: Adding Paypal code under photographs?
Post by: Joachim Müller on December 30, 2007, 11:24:38 AM
Just adding that piece of code will do absolutely nothing except displaying a form. The form is not populated nor is there any relation to the data displayed in coppermine. If that's what you're after, it depends where you want the form to appear. If it is suppossed to show up on all pages, add your code to themes/yourtheme/template.html
If you actually want to integrate paypal with the content from coppermine, just take a look at the existing shopping basket mods.