JD_REQUIRE_CAMPAIGN Please choose a campaign

  • tastytreats
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 2 months ago #13585 by tastytreats
I see on the Joom Donation Demo that if you do not select a campaign, it prompts you to select one and will not continue without a selection being made.

However mine does not do that. The code appears to be there, but it just lets the donor proceed having contributed to the "Select Campaign" campaign.

if ($this->config->use_campaign && !$this->campaignId) {
?>
if (form.campaign_id.value == 0) {
alert('<?php echo JText::_('JD_REQUIRE_CAMPAIGN'); ?>');
form.campaign_id.focus();
return ;
}


How do I fix this issue? When donors contribute to "no" campaign, their donations are not counted in the intended campaign, and the modules do not update correctly. Help!

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

More
12 years 2 months ago #13705 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: JD_REQUIRE_CAMPAIGN Please choose a campaign
Hi

That's strange. Could you please send me the link to your donation page so that I can check it ? Normally, if you enable Campaigns, donors will need to choose a campaign when making donation. That's how the extension designed to work !

Regards,

Tuan

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

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