Hide the goal amount on the mod_jd_form

  • kpg
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #119980 by kpg
Hello,

We would like to hide the Goal/targetamount of the campaign in the Module mod_jd_form. You can hide it on other modules like: mod_jd_campaigns. But on the form Module it is not possible. Also the Code is in one block. So you can't just hide it by CSS rule. You can hide all with .
Code:
campaigndetailsdonationpage .percentDonatedAmount { display: none }

We can't use the other Module which fits the puprose mod_jd_campaigns. As the site is a Onepager and we can't end up at other page.

Thanks for the hint and regards

Tobi

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

More
6 years 3 weeks ago #120016 by Mr. Dam
Replied by Mr. Dam on topic Hide the goal amount on the mod_jd_form
Hello Tobi,
Could you please send me the screenshots of the part that you want to hide?
Thanks
Dam

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

  • kpg
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago - 6 years 3 weeks ago #120039 by kpg
Replied by kpg on topic Hide the goal amount on the mod_jd_form
Hello Dam,

This is the requested screenshot.
Thanks for the help.

Regards

Tobi



Perhaps you could add the same features of the mod_jd_campaigns or add the Form-including in this module. Either way.
Attachments:
Last edit: 6 years 3 weeks ago by kpg.

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

More
6 years 3 weeks ago #120042 by Mr. Dam
Replied by Mr. Dam on topic Hide the goal amount on the mod_jd_form
Hi,
To hide the Goal of Campaign, please open files:
root -> components -> com_jdonation -> view -> donation -> tmpl -> default_campaign.php and simpleflow_layout_campaign.php
Find:
Code:
<div class="<?php echo $rowFluidClass?> "> <div class="<?php echo $span12Class?> campaignstatistic percentDonatedAmount"> <span class="percentDonatedAmount_value1"> <?php echo DonationHelperHtml::formatAmount($this->config, $this->campaign->goal, $this->config->currency_code); ?> </span> <div class="clearfix"></div> <span class="percentDonatedAmount_label"> <?php echo JText::_('JD_GOAL'); ?> </span> </div> </div>
and remove it
Thanks
Dam
The following user(s) said Thank You: kpg

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

  • kpg
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 3 weeks ago #120076 by kpg
Replied by kpg on topic Hide the goal amount on the mod_jd_form
Perfect Thanks

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

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