- Posts: 29
- Thank you received: 0
Donation complete page
- Fra Tabs
- Topic Author
- Offline
- Junior Member
Less
More
6 years 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
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.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
6 years 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
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 Member
Less
More
- Posts: 29
- Thank you received: 0
6 years 3 weeks 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
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.
- Dave B
- Offline
- Platinum Member
6 years 3 weeks 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.
- Alexis Priddy
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
5 years 4 months 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.
- asoundidea
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 0
5 years 1 month ago - 5 years 1 month 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;
}
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: 5 years 1 month ago by asoundidea. Reason: Typo
Please Log in or Create an account to join the conversation.
- Dave B
- Offline
- Platinum Member
5 years 1 month 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.
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.
- Dave B
- Offline
- Platinum Member
5 years 1 month 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.
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.
Please Log in or Create an account to join the conversation.
- Dave B
- Offline
- Platinum Member
4 years 7 months ago #133930
by Dave B
Replied by Dave B on topic Donation complete page
Are you going to anwser us? Almost all forms, which this is a form, has the option to direct to a dedicated page when the form completes.
Please Log in or Create an account to join the conversation.
- Dave B
- Offline
- Platinum Member
4 years 7 months ago #133931
by Dave B
Replied by Dave B on topic Donation complete page
Also, there is no way to test or see the thank you page without making donation.
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.