- Posts: 35
- Thank you received: 0
Start Thermometer from a specified amount
- TrueVineMinistries
- Topic Author
- Offline
- Junior Member
Less
More
13 years 2 months ago #7894
by TrueVineMinistries
Start Thermometer from a specified amount was created by TrueVineMinistries
Hi All!
We are using Joomdonatoin to garner donations for our church building fund. Before we implemented Joomdonation, we had collected some funds for the fund. I would like the themometer to show that. How would I go about start the temometer at a different value, apart from zero?
Any help would be appreciated. Thank you!
We are using Joomdonatoin to garner donations for our church building fund. Before we implemented Joomdonation, we had collected some funds for the fund. I would like the themometer to show that. How would I go about start the temometer at a different value, apart from zero?
Any help would be appreciated. Thank you!
Please Log in or Create an account to join the conversation.
- zoomlanski
- Offline
- Senior Member
Less
More
- Posts: 60
- Thank you received: 0
13 years 2 months ago #7908
by zoomlanski
Replied by zoomlanski on topic Re: Start Thermometer from a specified amount
Subscribing to topic - interested in same.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
13 years 2 months ago #7909
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Start Thermometer from a specified amount
Hi all
I will consdering adding this as a parameter of the module. For now, if you want to have this feature, you can modify the code a litlte. Open the file modules/mod_jd_thermometer/tmpl/default.php, looks at the line 22 :
Change it to
Please replae the STARTING_AMOUNT with the actual amount you want. For example :
Hope this help !
Regards,
Tuan
I will consdering adding this as a parameter of the module. For now, if you want to have this feature, you can modify the code a litlte. Open the file modules/mod_jd_thermometer/tmpl/default.php, looks at the line 22 :
Code:
$donatedAmount = $row->donated_amount ;
Change it to
Code:
$donatedAmount = $row->donated_amount + STARTING_AMOUNT;
Please replae the STARTING_AMOUNT with the actual amount you want. For example :
Code:
$donatedAmount = $row->donated_amount + 120;
Hope this help !
Regards,
Tuan
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.