mod_jr_campaign - show Donated Amount / Goal bug

  • James Riley
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
7 years 10 months ago #81933 by James Riley
In the configuration for the Campaign Module (mod_jr_campaign), there are separate options for [Show Donated Amount ] and [Show Goal]. However, when you toggle either one on, both Donated Amount *AND* Show Goal will display in the module even if only one is toggled on.

Looking at modules/mod_jd_campaign/tmpl/default.php, the code is not there to support individual display, and will always display both regardless of which one is turned on (line 30: if ($showDonatedAmount || $showGoal) )

I've attached a modified version of the tmpl/default.php file that will allow the toggles to function properly and fix the bug. Starting on line 30, my changes are noted in the file.

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Attachments:

Please Log in or Create an account to join the conversation.

More
7 years 10 months ago #82104 by Dũng Nguyễn Việt
Replied by Dũng Nguyễn Việt on topic mod_jr_campaign - show Donated Amount / Goal bug
Hello.
This is small issue fron our default layout. Please update attach file to the same location.
Thanks.
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: Mr. DamDũng Nguyễn Việt