- Posts: 2
- Thank you received: 0
form column width,convenience fee & test mode
- dems
- Topic Author
- Offline
- New Member
1. Re. formatting the donate form at the moment and I cant for the life of me figure out how to extend the first column that has all the field titles in it. I am in donation/tmpl/default.php in dreamweaver and i have just taken the mouse and dragged the left column so that it is almost equal in width as the fields column but it doesnt reflect the changes when i upload to the site. Any ideas now to make this first column wider?
2. This is really little but just think it would be nicer. When i ask if the donor would like to pay the convenience fee, the radio buttons are set to NO then YES, I have already defaulted to YES but I would like to swap positions so that YES is first then NO, how can I do that?
3. Using authorize.net and would like to test before going live. I added my api and transaction key in the back end parameters then filled out form in the front end but I got the notice:
Donation Failed
Reason (TESTMODE) The credit card number is invalid.
How can I test that this works prior to going live? Do you have a dummy creditcard number i can follow? Do I need to put authorize.net in test mode as well? My site is live so that is not really an option at the moment.
Thanks for a great component by the way!
Please Log in or Create an account to join the conversation.
- dems
- Topic Author
- Offline
- New Member
- Posts: 2
- Thank you received: 0
Can you please answer at least #3, dont care too much about the first 2 but i cannot get this component up and running on a live site until I can test it properly.
Thank you!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
I replied you via email. I post the answers here in case any other users have the same questions :
1. Re. formatting the donate form at the moment and I cant for the life of me figure out how to extend the first column that has all the field titles in it. I am in donation/tmpl/default.php in dreamweaver and i have just taken the mouse and dragged the left column so that it is almost equal in width as the fields column but it doesnt reflect the changes when i upload to the site. Any ideas now to make this first column wider?
=> To reformat the donate form, you don't need to change the code in the php file. You just need to open the file file components/com_jdonation/assets/css/style.css, look at the css class title_cell at line 8, change the width property from 25% to 50%.
2. This is really little but just think it would be nicer. When i ask if the donor would like to pay the convenience fee, the radio buttons are set to NO then YES, I have already defaulted to YES but I would like to swap positions so that YES is first then NO, how can I do that?
=> 2. It is part of Joomla core code, so we cannot change it in this case. If you need to do that, I need to customize the code for you. However, you will not be upgrade to the future version of Joom Donation . (I used Joomla core library function called from JHTML class to generate this Yes/No button .
3. Using authorize.net and would like to test before going live. I added my api and transaction key in the back end parameters then filled out form in the front end but I got the notice:
Donation Failed
Reason (TESTMODE) The credit card number is invalid.
How can I test that this works prior to going live? Do you have a dummy creditcard number i can follow? Do I need to put authorize.net in test mode as well? My site is live so that is not really an option at the moment.
=> 3. For test mode, you can use a test creditcard number and also need to have a test authorize.net account. You can use mine :
- Creditcard numebr : 4111111111111111
- API Login : 2Sht9m67PD
- Transaction Key : 35J2rq5d6LtJ2Yg6
Hope my answer are clear to you .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.