- Posts: 37
- Thank you received: 0
OS Property support center
Problem with themes
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
10 years 5 months ago - 10 years 5 months ago #54245
by filaretos
Problem with themes was created by filaretos
Hello
I have some problems and i think most of them are related to the themes Os property is using.
1. Every 'Menu Item type' that goes to OS property Layouts, like 'Layout Category Listing', Layout list all agents' etc is displayed in English although the rest of the webpage is in Greek.
My guess is that the theme overrides the language but i don't know for sure.
2. OS Content Slider and Search module in homepage don't translate the values OS_MIN, OS_SQMT, etc at all. Neither in English or Greek.
3. When i am using 'Advanced Search' some fields that should have drop down menus don't have and aren't displayed properly.
I am sending you pictures for problem 2 and 3
I have some problems and i think most of them are related to the themes Os property is using.
1. Every 'Menu Item type' that goes to OS property Layouts, like 'Layout Category Listing', Layout list all agents' etc is displayed in English although the rest of the webpage is in Greek.
My guess is that the theme overrides the language but i don't know for sure.
2. OS Content Slider and Search module in homepage don't translate the values OS_MIN, OS_SQMT, etc at all. Neither in English or Greek.
3. When i am using 'Advanced Search' some fields that should have drop down menus don't have and aren't displayed properly.
I am sending you pictures for problem 2 and 3
Attachments:
Last edit: 10 years 5 months ago by filaretos.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
10 years 5 months ago #54259
by Mr. Dam
Replied by Mr. Dam on topic Problem with themes
Hi Filaretos,
1. Please check to see if you already have the file
language > gr-GR > gr-GR.mod_ospropertysearch.ini
2. You can add translation for some language constants by this solution
open file
language > en-GB > en-GB.mod_ospropertysearch.ini
language > en-GB > en-GB.mod_os_contentslider.ini
add
OS_MIN="Min price"
OS_MAX="Max price"
OS_SQMT="Sqmt"
and the same for Greek language file
3. Can you send me the link of your "Advanced search" page and let me know what're the fields that aren't show correctly?
Thanks
Dam
1. Please check to see if you already have the file
language > gr-GR > gr-GR.mod_ospropertysearch.ini
2. You can add translation for some language constants by this solution
open file
language > en-GB > en-GB.mod_ospropertysearch.ini
language > en-GB > en-GB.mod_os_contentslider.ini
add
OS_MIN="Min price"
OS_MAX="Max price"
OS_SQMT="Sqmt"
and the same for Greek language file
3. Can you send me the link of your "Advanced search" page and let me know what're the fields that aren't show correctly?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 years 5 months ago - 10 years 5 months ago #54272
by filaretos
Replied by filaretos on topic Problem with themes
Hello Dam,
Thanks for the quick reply.
1. The file 'language > el-GR > el-GR.mod_ospropertysearch.ini' exists. The thing is that every webpage that uses an OS Layout as a Menu Item type isn't translated and not only the propertysearch.
2. Done it thanks.
3. spitis.gr/search_options/advanced_search
The fields are:Category and Property type. You will see that when you click the box to make a selection it just opens up all available selections and you can't close it.
You will also see that the webpage has 'OS Property » Layout: Advanced Search' and everything is in English except those two fields.
Thanks for the quick reply.
1. The file 'language > el-GR > el-GR.mod_ospropertysearch.ini' exists. The thing is that every webpage that uses an OS Layout as a Menu Item type isn't translated and not only the propertysearch.
2. Done it thanks.
3. spitis.gr/search_options/advanced_search
The fields are:Category and Property type. You will see that when you click the box to make a selection it just opens up all available selections and you can't close it.
You will also see that the webpage has 'OS Property » Layout: Advanced Search' and everything is in English except those two fields.
Last edit: 10 years 5 months ago by filaretos.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
10 years 5 months ago #54281
by Mr. Dam
Replied by Mr. Dam on topic Problem with themes
Hi,
There are some wrong in Greek language file, and we have solved it for you. Now the advanced search works property. You can check it again
Thanks
Dam
There are some wrong in Greek language file, and we have solved it for you. Now the advanced search works property. You can check it again
Thanks
Dam
Please Log in or Create an account to join the conversation.
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 years 5 months ago #54287
by filaretos
Replied by filaretos on topic Problem with themes
Thank you very much for your help, really appreciate it.
If you could help with some more minor problems i have i would be very grateful.
1. I would like to translate 'REF' but i can't find in .ini file. what line should i add?
2. Can you please tell why 'OS Content Slider ' doesn't show icons like: os-icon-bathroom, os-icon-bedroom etc.
3. Where can i remove 'checkbox: Sold' in advanced search?
If you could help with some more minor problems i have i would be very grateful.
1. I would like to translate 'REF' but i can't find in .ini file. what line should i add?
2. Can you please tell why 'OS Content Slider ' doesn't show icons like: os-icon-bathroom, os-icon-bedroom etc.
3. Where can i remove 'checkbox: Sold' in advanced search?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
10 years 5 months ago #54296
by Mr. Dam
Replied by Mr. Dam on topic Problem with themes
Hi,
1. Ref is hard code text. You must find in the source code of OS Property and change it to other words
2. I am checking it now
3. To remove Checkbox Sold, please follow these steps
- Open file: components > com_osproperty > helpers > common.php
- find
<div class="span12">
<?php
$isSold = JRequest::getVar('isSold',0);
if($isSold == 1){
$checked = "checked";
}else{
$checked = "";
}
?>
<input type="checkbox" name="isSold" id="isSold" value="<?php echo $isSold;?>" <?php echo $checked;?> onclick="javascript:changeValue('isSold')" />
<strong>
<?php echo JText::_('OS_SOLD');?>
</strong>
</div>
and remove it
Thanks
Dam
1. Ref is hard code text. You must find in the source code of OS Property and change it to other words
2. I am checking it now
3. To remove Checkbox Sold, please follow these steps
- Open file: components > com_osproperty > helpers > common.php
- find
<div class="span12">
<?php
$isSold = JRequest::getVar('isSold',0);
if($isSold == 1){
$checked = "checked";
}else{
$checked = "";
}
?>
<input type="checkbox" name="isSold" id="isSold" value="<?php echo $isSold;?>" <?php echo $checked;?> onclick="javascript:changeValue('isSold')" />
<strong>
<?php echo JText::_('OS_SOLD');?>
</strong>
</div>
and remove it
Thanks
Dam
Please Log in or Create an account to join the conversation.
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 years 5 months ago #54314
by filaretos
Replied by filaretos on topic Problem with themes
Thank you Dan,
As long as i can't translate Ref, i would like to remove it as an option in the drop down menu : Sort by in search.
Where can i do this?
As long as i can't translate Ref, i would like to remove it as an option in the drop down menu : Sort by in search.
Where can i do this?
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
10 years 5 months ago #54351
by Mr. Dam
Replied by Mr. Dam on topic Problem with themes
Hi,
I solved the Content slider problem for you.
To remove Ref in Order dropdown select list, please follow these steps
- Open file: components > com_osproperty > classes > listing.php
- find
$optionArr[] = JHTML::_('select.option','a.ref',JText::_('Ref'));
and remove it
Thanks
Dam
I solved the Content slider problem for you.
To remove Ref in Order dropdown select list, please follow these steps
- Open file: components > com_osproperty > classes > listing.php
- find
$optionArr[] = JHTML::_('select.option','a.ref',JText::_('Ref'));
and remove it
Thanks
Dam
Please Log in or Create an account to join the conversation.
- filaretos
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
10 years 5 months ago #54394
by filaretos
Replied by filaretos on topic Problem with themes
Thank you very much for your help!! Great support!
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.