- Posts: 25
- Thank you received: 0
OS Property support center
SOLVED !!! Get details about property redirect
- c8x
- Topic Author
- Offline
- Junior Member
-
Less
More
9 years 10 months ago - 9 years 10 months ago #65336
by c8x
SOLVED !!! Get details about property redirect was created by c8x
Hi, there is a kind of bug in OS Property:
I have 3 languages in my site : english , german and french. Till now everything works fine with the translations.
But if I use "request more details" form in property details view, after filling the form and submit the component always redirects to english site (en in object url), and message " Your request has been sent to agent." is shown.
and it should stay on chosen language with the message in this language too
thanx
I have 3 languages in my site : english , german and french. Till now everything works fine with the translations.
But if I use "request more details" form in property details view, after filling the form and submit the component always redirects to english site (en in object url), and message " Your request has been sent to agent." is shown.
and it should stay on chosen language with the message in this language too
thanx
Last edit: 9 years 10 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #65341
by Mr. Dam
Replied by Mr. Dam on topic Get details about property redirect after submit
Hi,
Please submit ticket and send your site information with super admin account so i can check the issue for you
Thanks
Dam
Please submit ticket and send your site information with super admin account so i can check the issue for you
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
9 years 10 months ago #65357
by Mr. Dam
Replied by Mr. Dam on topic Get details about property redirect after submit
Hi C8x,
Please download this attachment, extract it and copy 2 files (sharing.html.tpl.php, request.html.tpl.php) to overwrite in folder:
Thanks
Dam
Please download this attachment, extract it and copy 2 files (sharing.html.tpl.php, request.html.tpl.php) to overwrite in folder:
Code:
root > components > com_osproperty > templates > theme3
Dam
- c8x
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 0
9 years 10 months ago #65387
by c8x
Replied by c8x on topic Get details about property redirect after submit
Hi,
thanx Dam! it works.....
it was enough to add:
<?php
$language = JFactory::getLanguage();
$language = $language->getTag();
$language = explode("-",$language);
$language = $language[0];
?>
and then to <form method="POST" action="<?php echo JURI::root()?>index.php?option=com_osproperty&task=property_requestmoredetails&Itemid=<?php echo $itemid?>&lang=<?php echo $language;?>
thanx Dam! it works.....
it was enough to add:
<?php
$language = JFactory::getLanguage();
$language = $language->getTag();
$language = explode("-",$language);
$language = $language[0];
?>
and then to <form method="POST" action="<?php echo JURI::root()?>index.php?option=com_osproperty&task=property_requestmoredetails&Itemid=<?php echo $itemid?>&lang=<?php echo $language;?>
Please Log in or Create an account to join the conversation.
Moderators: Mr. 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.