- Posts: 4
- Thank you received: 0
OS Property support center
Agent Registration Redirect
- wesley
- Topic Author
- Offline
- New Member
-
Less
More
11 years 7 months ago #41234
by wesley
Agent Registration Redirect was created by wesley
Hi,
I would like to direct the agents registration page to a specific URL instead of the homepage. How can I do this?
Any help is much appreciated.
Thanks,
Wesley
I would like to direct the agents registration page to a specific URL instead of the homepage. How can I do this?
Any help is much appreciated.
Thanks,
Wesley
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 7 months ago #41249
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Agent Registration Redirect
Hi Wesley,
You can setup the Joomla menu to layout: OS Property> Agent/ Owner registration
Thanks
Dam
You can setup the Joomla menu to layout: OS Property> Agent/ Owner registration
Thanks
Dam
Please Log in or Create an account to join the conversation.
- wesley
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
11 years 7 months ago #41253
by wesley
Replied by wesley on topic Re: Agent Registration Redirect
Hi,
Sorry I may have been misleading in my description. I meant that I want to redirect them after the registration page. So when they suit their registration form I would like it to goto another page instead of
The
Homepage .
Thanks for all your help!
Amazing support.
Sorry I may have been misleading in my description. I meant that I want to redirect them after the registration page. So when they suit their registration form I would like it to goto another page instead of
The
Homepage .
Thanks for all your help!
Amazing support.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 7 months ago #41268
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Agent Registration Redirect
Hi Wesley,
What's the page that you want to redirect to?
You can edit the redirect link in:
components > com_osproperty > classes > agent.php
find
if($configClass == 0){
//send email to admin
$emailOpt[0]->customer = $user->name;
$emailOpt[0]->agent_id = $agent_id;
OspropertyEmail::sendAgentApprovalRequest($option,$emailOpt);
$msg = JText::_('OS_THANKYOU_TO_BECOME_AGENT1');
$mainframe->redirect(JUri::root(),$msg);
}else{
$msg = JText::_('OS_THANKYOU_TO_BECOME_AGENT2');
$mainframe->redirect(JUri::root(),$msg);
}
and change JUri::root() to the page that you need to redirect, for example
$mainframe->redirect("http://abc.com",$msg);
Good luck
Dam
What's the page that you want to redirect to?
You can edit the redirect link in:
components > com_osproperty > classes > agent.php
find
if($configClass == 0){
//send email to admin
$emailOpt[0]->customer = $user->name;
$emailOpt[0]->agent_id = $agent_id;
OspropertyEmail::sendAgentApprovalRequest($option,$emailOpt);
$msg = JText::_('OS_THANKYOU_TO_BECOME_AGENT1');
$mainframe->redirect(JUri::root(),$msg);
}else{
$msg = JText::_('OS_THANKYOU_TO_BECOME_AGENT2');
$mainframe->redirect(JUri::root(),$msg);
}
and change JUri::root() to the page that you need to redirect, for example
$mainframe->redirect("http://abc.com",$msg);
Good luck
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.