- Posts: 19
- Thank you received: 0
OS Property support center
Re-direct "Upgrade" button
- bfrylinck
- Topic Author
- Offline
- New Member
-
Less
More
12 years 1 month ago #33371
by bfrylinck
Re-direct "Upgrade" button was created by bfrylinck
Hi Dam
As PayPal does not support our currency I cannot use it on my site. I would like to re-direct the visitor when they click on the "Confirm" button in this process -
<input class="btn btn-info" type="button" onclick="javascript:document.ftForm.submit();" value="Confirm">
to an article in my site.
Where can I find this code please.
As PayPal does not support our currency I cannot use it on my site. I would like to re-direct the visitor when they click on the "Confirm" button in this process -
<input class="btn btn-info" type="button" onclick="javascript:document.ftForm.submit();" value="Confirm">
to an article in my site.
Where can I find this code please.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
12 years 1 month ago #33372
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Re-direct "Upgrade" button
Hi,
You want to use another payment gateway for the purpose or you only want use to complete the confirmation form, click on submit ?
However, both 2 ways are difficult, because you can redirect to another page, but we should process the function to upgrade the properties from normal to featured.
In fact, if you want to change the submit url of the form, you only need to change the action attribute of the form.
<form method="POST" action="<?php echo JRoute::_('index.php?Itemid='.JRequest::getInt('Itemid',0))?>" name="ftForm">
in Version 2.0.9.1 it's line 5231
Thanks
Dam
You want to use another payment gateway for the purpose or you only want use to complete the confirmation form, click on submit ?
However, both 2 ways are difficult, because you can redirect to another page, but we should process the function to upgrade the properties from normal to featured.
In fact, if you want to change the submit url of the form, you only need to change the action attribute of the form.
<form method="POST" action="<?php echo JRoute::_('index.php?Itemid='.JRequest::getInt('Itemid',0))?>" name="ftForm">
in Version 2.0.9.1 it's line 5231
Thanks
Dam
Please Log in or Create an account to join the conversation.
- bfrylinck
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 19
- Thank you received: 0
12 years 1 month ago #33382
by bfrylinck
Replied by bfrylinck on topic Re: Re-direct "Upgrade" button
Hi Dam
We'll have to process the update requests manually. It would be great if when they click on the confirm button, the form is sent via e-mail to the administrator, and the person is te-directed to an article in the site.
In which file can I find this code for the form?
We'll have to process the update requests manually. It would be great if when they click on the confirm button, the form is sent via e-mail to the administrator, and the person is te-directed to an article in the site.
In which file can I find this code for the form?
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
12 years 1 month ago #33403
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Re-direct "Upgrade" button
Hi,
You can find the code in file
components > com_osproperty > classes > listing.html.php
php function confirmUpgrade
Thanks
Dam
You can find the code in file
components > com_osproperty > classes > listing.html.php
php function confirmUpgrade
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 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.