Posted by GabrielH on May 7, 2008 at 12:09pm
Jump to:
| Project: | Donation |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | GabrielH |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hi
Wonder if anyone can help.
I'm trying to place a drop-down menu into a donation box on my website.
I want to capture what has prompted a person to donate, but don't know how to edit the grey box here:
http://www.freetibet.org/support/make-donation-free-tibet-campaign
Apologies I'm a real novice and this may be very easy!
I can get some HTML together for the drop-down, but just don't know how to go about placing it in the grey box.
Any help would be greatly appreciated!
Gabriel
Comments
#1
You would need to write the code to do that for the module. Can you give me an example of the html you are looking for?
I'm guessing you just want folks to select a donation of $20, $50, or $100 dollars, right?
At this point the module isn't flexible enough to allow you to customize this. However, it shouldn't be all that difficult to extend it a bit.
#2
@mgifford.
Can't he use a form_alter to add the drop down, and remove the text box with the same ID?
#3
Certainly, but it doesn't sound like he has any php experience. Most of the other notes on this module involve just plain hacking away at it though. Not very user friendly for small NGOs with no tech support.
It should be pretty trivial to provide a list in the settings where someone can define values for an array. I just wanted clarification though from him as I really am no sure how effective it is to limit folks donations in nice little increments.