I am going to do the best I can to describe what I would like to do. Could someone just let me know if it is possible?
This is for a No Kill Shelter. They use Paypal to collect donations online.
They have a program where individuals can donate to the care of a specific pet for one month.
They would like to have a Paypal link on every pet description page where the link will automatically populate the paypal form with with pets name. They have thousands of pets a year.
I would like to create one module for use on all pet pages.
The pets name is the title_alias.
I am thinking I can do this by calling the title_alias in the link in the module.
CALL TITLE_ALIAS HERE
¤cy_code=USD&amount=20"& target="paypal"> Donation of $20
Is this even possible and if yes, can someone steer me in the right direction?
Need Title_alias in Paypal button.
Forum rules
-
- Joomla! Apprentice
- Posts: 8
- Joined: Fri Jun 01, 2007 2:33 pm
Re: Need Title_alias in Paypal button.
Lauren,
You will probably get a lot more help on module development here:
http://forum.joomla.org/index.php/board,40.0.html
It'll help if you give the url of your site where the multiple pet pages reside for clarification.
I'm a novice php developer, but the challenge as I see it from your description is getting the module to pull the data (animal name) from each individual pet page. Unfortunately, there hasn't been a lot of custom/highly evolved development of payment modules for paypal that I have seen for joomla yet.
I am working with a friend to convert/rewrite a paypal payment module from another CMS. If you could shoot me your URL I'll get him to look at it and give us some more information on the doability of this project.
David
You will probably get a lot more help on module development here:
http://forum.joomla.org/index.php/board,40.0.html
It'll help if you give the url of your site where the multiple pet pages reside for clarification.
I'm a novice php developer, but the challenge as I see it from your description is getting the module to pull the data (animal name) from each individual pet page. Unfortunately, there hasn't been a lot of custom/highly evolved development of payment modules for paypal that I have seen for joomla yet.
I am working with a friend to convert/rewrite a paypal payment module from another CMS. If you could shoot me your URL I'll get him to look at it and give us some more information on the doability of this project.
David
Re: Need Title_alias in Paypal button.
Thank David, I sent you an email.
I afraid it is against the forum rules to cross post, so hopefully someone can move this post if another thread would be more beneficial.
The development site is www.adoptpetsnj.com
I afraid it is against the forum rules to cross post, so hopefully someone can move this post if another thread would be more beneficial.
The development site is www.adoptpetsnj.com
Re: Need Title_alias in Paypal button.
Ok, so I came up with a solution and I thought I would share. At least I think it is a viable solution. Not exactly what I was looking for but it works. It uses the page title.
First In my template I put this script between the head tags.
I found this solution at http://forum.joomla.org/index.php/topic,106817.0.html
(BTW, THANKS!)
Then I added this form to all my appropriate pages.
I am using JOOMSEO so under the parameters I had to disable the First Paragraph otherwise the script added not only the site name and heading but also the first paragraph keywords to the paypal receipt. I guess it's a small price to pay.
I also wanted to be able to use Email Cloaking site wide. When I placed a paypal button in the content area of my site the Cloaking was scrambling the link. I think by using the javascript this problem was eliminated.
First In my template I put this script between the head tags.
I found this solution at http://forum.joomla.org/index.php/topic,106817.0.html
(BTW, THANKS!)
Then I added this form to all my appropriate pages.
I am using JOOMSEO so under the parameters I had to disable the First Paragraph otherwise the script added not only the site name and heading but also the first paragraph keywords to the paypal receipt. I guess it's a small price to pay.
I also wanted to be able to use Email Cloaking site wide. When I placed a paypal button in the content area of my site the Cloaking was scrambling the link. I think by using the javascript this problem was eliminated.