Redirect when donation is ok

  • donato
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #102621 by donato
Redirect when donation is ok was created by donato
Hello i have a question for the component joom donation , when the donation is ok i need to redirect to a specific url , it's possible?
Thenks

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

  • donato
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #102624 by donato
Replied by donato on topic Redirect when donation is ok
sorry thanks

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

More
7 years 3 months ago #102628 by Mr. Dam
Replied by Mr. Dam on topic Redirect when donation is ok
Hi,
Yes, it's possible to redirect user to specific url after the donation, we can make the modification on Joom Donation to redirect donor to specific url. If you want to have this feature, please submit ticket on category: Joom Donation and we will discuss about it.
Thanks
Dam
The following user(s) said Thank You: donato

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

  • donato
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 3 months ago #102667 by donato
Replied by donato on topic Redirect when donation is ok
How i can redirect to specific url when transition ok?
Thanks

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

More
7 years 3 months ago #102672 by Mr. Dam
Replied by Mr. Dam on topic Redirect when donation is ok
Hi Donato,
The solution is hacking into Complete layout of Joom Donation to redirect donor to specific page
Thanks
Dam

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

More
7 years 2 months ago #105090 by Datech
Replied by Datech on topic Redirect when donation is ok
Hi, I have the same problem

Hello i have a question for the component joom donation , when the donation is ok i need to redirect to a specific url , it's possible?
Thanks


Can I ask for instructions on what to change in joomla donation ??
Thanks

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

More
7 years 1 month ago #105133 by Mr. Dam
Replied by Mr. Dam on topic Redirect when donation is ok
Hi,
In normal, when the donation is completed, donor will be redirected to layout: Complete of Joom Donation. We can make the modification to redirect user to another by hacking into this layout.
You can open file:

root > components > com_jdonation > view > html.php

Find:
Code:
parent::display();
and change it by this code
Code:
$app = JFactory::getApplication(); $app->redirect('REDIRECT_LINK');
On above code, you can replace the link you want to redirect in REDIRECT_LINK
This is core hacking, so whenever you update Joom Donation extension, you should redo the work.
Good luck
Dam

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

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