Topic: Has anyone come up with a way to add a paypal button to this gallery?
The only posts were from 2006. Hoping something new has happened or someone figured out how to make this work. Any help would be greatly appreciated. I'm using 2.03
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer v2 → Has anyone come up with a way to add a paypal button to this gallery?
The only posts were from 2006. Hoping something new has happened or someone figured out how to make this work. Any help would be greatly appreciated. I'm using 2.03
Well, After looking one million places for an answer...... (no interest here) I found a way to incorporate paypay into simpleviewer. You guys that support should look at this.
This goes in between the CDATA delimeters:
<a href="https://www.paypal.com/xclick/business=communications%40bianj.org&undefined_quantity=1&item_name=Person+with+a+Brain+Injury+-+Member-+Two+Days&item_number=AS1&amount=95.00&no_shipping=0&no_note=1&bn=PP-BuyNowBF¤cy_code=USD&lc=US" ><img src="https://www.paypal.com/en_US/i/btn/btn_paynow_SM.gif" border="0" alt="Pay Now" /></a>
This has the same variables as paypal uses and if you look at the way its made compared to the regular paypal layout you should be able to figure out what its doing. I even used a different button image than the paypal one. It doesn't seem to be perfect for all variables (don't know that for sure yet) but it works for at least what they used here.
Hope this helps someone......
thanks for sharing.
OK. So where exactly are the CData deliminators kept?
thx
@mgerety
OK. So where exactly are the CData deliminators kept?
In your gallery.xml file between each caption tag, <caption><![CDATA[ The caption goes here ]]></caption>.
http://www.simpleviewer.net/simpleviewe … l#custom_1
with paypal you can also generate a href link which functions as a 'add to cart' link, but when i insert that into caption html it doesn't work..... any ideas?
Please post the URL of the page you are having trouble with if you would like us to take a look.
Your caption should look something like this:
<caption><![CDATA[<a href="http://www.example.com/">add to cart</a>]]></caption>
... with 'http://www.example.com/' being replaced with your unique PayPal URL.
Bear in mind that the link will be active only when the gallery is uploaded to a web server.
SimpleViewer Forum → SimpleViewer v2 → Has anyone come up with a way to add a paypal button to this gallery?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.