- Posts: 7
- Thank you received: 0
Automatically check recurring?
- jaxweb
- Topic Author
- Offline
- New Member
Less
More
12 years 7 months ago - 12 years 7 months ago #11058
by jaxweb
Automatically check recurring? was created by jaxweb
I have joomla 1.5.23
joomdonation 2.8.1
I am trying to make the recurring radio button default checked in the frontend form. I saw this thread - joomdonation.com/index.php?option=com_ku...d=4454&catid=10#4454 but it has not helped.
joomdonation 2.8.1
I am trying to make the recurring radio button default checked in the frontend form. I saw this thread - joomdonation.com/index.php?option=com_ku...d=4454&catid=10#4454 but it has not helped.
Last edit: 12 years 7 months ago by jaxweb.
Please Log in or Create an account to join the conversation.
- calebmiller
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
12 years 2 months ago #13897
by calebmiller
Replied by calebmiller on topic Re: Automatically check recurring?
it worked for me. you'll go to the line that says the following
$receiveUserId = JRequest::getVar('receive_user_id', 0) ;
if ($amount ==0)
$amount = '';
$rdAmount = JRequest::getFloat('rd_amount', 0, 'post');
$rTimes = JRequest::getVar('r_times', '') ;
$rFrequency = JRequest::getVar('r_frequency', '') ;
$donationType = JRequest::getVar('donation_type', 'one time') ; <
Change this to 'recurring'
if ($recurring) {
$receiveUserId = JRequest::getVar('receive_user_id', 0) ;
if ($amount ==0)
$amount = '';
$rdAmount = JRequest::getFloat('rd_amount', 0, 'post');
$rTimes = JRequest::getVar('r_times', '') ;
$rFrequency = JRequest::getVar('r_frequency', '') ;
$donationType = JRequest::getVar('donation_type', 'one time') ; <
Change this to 'recurring'
if ($recurring) {
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
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.
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.