Direct to donation form from campaign card

  • Clements Radenborg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 weeks 5 days ago #177213 by Clements Radenborg
Direct to donation form from campaign card was created by Clements Radenborg
I have set up a page with different campaigns using the Donation campaigns module. Apart from that, I've setup a campaign page for each campaign with the Donation form module, because then I can show additional information on the campaign. What I would like to achieve is that once a visitor clocks the Donate button on the campaign card, he or she will be directed to the campaign page with the form, instead of the default component/jdonation/<campaign-name> page.

Is that possible?

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

More
3 weeks 5 days ago #177223 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Direct to donation form from campaign card
Hi Clements,
Yes, this is possible. On the Campaigns list page, when you click on a campaign, it will redirect you to the donation page for that specific campaign.
The same applies to the JD Campaigns module.

Thanks
Dam

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

  • Clements Radenborg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 weeks 5 days ago #177225 by Clements Radenborg
Replied by Clements Radenborg on topic Direct to donation form from campaign card
Hi Dam, Is there an instruction for that? Eg. How to name them? Because it doesn't work yet for me.

Thanx.

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

More
3 weeks 4 days ago #177259 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Direct to donation form from campaign card
Hi Clements,
There is nothing technical here; it's simply normal logic. For example, from the campaign list page:
demo.joomdonation.com/donation/index.php...d-view?category_id=0
when you click on a campaign, you will be redirected to the donation form page for that campaign.
Thanks
Dam

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

  • Clements Radenborg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 weeks 4 days ago - 3 weeks 4 days ago #177266 by Clements Radenborg
Replied by Clements Radenborg on topic Direct to donation form from campaign card
Hi Dam,
I'm sorry for all these 'stupid' questions. But what happens in my site is that JoomDonation will create the form itself, although a page exists. So instead of going to domain.com/en/campaignname it will still go to domain.com/en/component/jdonation/campaignname.

For now, I've solved it with an js file but if you want to check, I can turn it off
 
Last edit: 3 weeks 4 days ago by Clements Radenborg.

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

More
3 weeks 3 days ago #177299 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Direct to donation form from campaign card
Hi Clements,
Joom Donation generates URLs like:
domain.com/en/component/jdonation/campaignname
in cases where there is no menu item pointing to the Campaigns List layout of Joom Donation.
You can try creating a hidden menu item that links to the Campaigns List layout, then check if the URLs to the donation forms for your campaigns change as expected.
Thanks
Dam

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

Moderators: Dang Thuc DamDang Dam