Donation complete page

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 year 1 month ago #119031 by Fra Tabs
Donation complete page was created by Fra Tabs
Hello
Is there anyway in the back end configuration to change the re-direct thank you page?
Or is it through php file, if so which one is it?

Thanks

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

More
1 year 1 month ago #119099 by Mr. Dam
Replied by Mr. Dam on topic Donation complete page
Hi,
You can change the Donation complete page by modifying file: root -> components -> com_jdonation -> helper -> route.php
Function: getDonationCompleteRoute
Before
return $link;
you can add your directed url, for example:
$link = " domain.com ";

Thanks
Dam

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

  • Fra Tabs
  • Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
1 year 1 week ago #119769 by Fra Tabs
Replied by Fra Tabs on topic Donation complete page
Thanks I will try this out

I would suggest having this feature in the admin that can control form redirection or thank you page

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

More
1 year 1 week ago #119776 by Dave B
Replied by Dave B on topic Donation complete page
I have always wondered why this was not an option. I believe it's required for things like Google Adwords Tracking but just a good idea. Really any form should have such a thing for an option.

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

More
4 months 3 days ago #127276 by Alexis Priddy
Replied by Alexis Priddy on topic Donation complete page
+1

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

More
1 month 1 week ago - 1 month 1 week ago #129270 by asoundidea
Replied by asoundidea on topic Donation complete page
Hello Mr. Dam,

I've tried creating a standalone thank you page and routing JoomDonation to go there following your directions. It doesn't seem to be working. Can you look at this code and tell me if I did it correctly? (Note the line with "faithandwomen.org" in it. This is the one I changed.)

Thank you.

Mike Rau
__________________________

public static function getDonationCompleteRoute($id, $campaignId, $itemId = 0)
{
$link = ' faithandwomen.org/?view=article&id=79&catid=2 ';

if ($campaignId)
{
$needles = array($campaignId, 0);
$needles = array(0);
}
else
{
$needles = array(0);
$needles = array(0);
}

if ($item = self::findItem($needles, $itemId))
{
$link .= '&Itemid=' . $item;
}

return $link;
}
Last edit: 1 month 1 week ago by asoundidea. Reason: Typo

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

More
1 month 1 week ago #129303 by Dave B
Replied by Dave B on topic Donation complete page
Hi, I see you added this to the new version. I do not think this is what we had asked for.

1. Will the shortcode work on the page? [DONATION_DETAIL] or other placeholders?
2. Each campaign should have this but the shortcode must work or it's useless to show the donation details.

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

More
1 month 1 week ago #129304 by Dave B
Replied by Dave B on topic Donation complete page
Do you understand why we would like to have this option? So we can show the details of the donation but customize the page with modules or other things.

Google conversion code must have it's own page to work correctly if you use Adwords Tracking, etc.

So really this should be a menu item in the JD system to create this not a URL for all donations.

If you add a Thank You menu item in the Joom Donation component that you can set to a campaign ID we can use this for different campaigns. Google tracking conversion code needs its own page for each form. It cannot be one page for all donations and all campaigns.

If there is no campaign feature then it can be left empty.



This kind of needs to work with your extension not be a non-JoomDonation page or it won't really work for us.
Attachments:

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

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