- Posts: 4
- Thank you received: 0
OS Property support center
European decimal system in quick search
- Miki
- Topic Author
- Offline
- New Member
-
Less
More
9 years 7 months ago - 9 years 7 months ago #69990
by Miki
European decimal system in quick search was created by Miki
I would replace the comma ( 500,000 ) with the point ( 500.000 ) in the form of quick search on the homepage of my site, because in Italy the comma is used for decimal places. It's possible?
thank you
thank you
Attachments:
Last edit: 9 years 7 months ago by Miki.
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 7 months ago #70028
by Mr. Dam
Replied by Mr. Dam on topic European decimal system in quick search
Hi,
To change the money format, please follow these steps
1. Open file: components > com_osproperty > helpers > helper.php
2. Find
and change to
Find
and change to
Find
and change to
Thanks
Dam
To change the money format, please follow these steps
1. Open file: components > com_osproperty > helpers > helper.php
2. Find
Code:
price_from = price_from.formatMoney(0, ',', '.');
price_to = price_to.formatMoney(0, ',', '.');
and change to
Code:
price_from = price_from.formatMoney(0, ','. ',');
price_to = price_to.formatMoney(0, ','. ',');
Find
Code:
<?php echo number_format($min_price, 0, '', ','); ?>
and change to
Code:
<?php echo number_format($min_price, 0, '', '.'); ?>
Find
Code:
<?php echo number_format($max_price, 0, '', ','); ?>
and change to
Code:
<?php echo number_format($max_price, 0, '', '.'); ?>
Thanks
Dam
The following user(s) said Thank You: Miki
Please Log in or Create an account to join the conversation.
- Miki
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 4
- Thank you received: 0
9 years 7 months ago - 9 years 7 months ago #70048
by Miki
Replied by Miki on topic European decimal system in quick search
Hi Dam!
I did what you 've shown me, but the result is that the bar slider filter is gone (as you can see in the attached file). What's wrong ?
I take this opportunity to ask you two things :
1. Can I change the color of the component with a color not present in the template ? for example, in blue or gray ?
2. As in Italy is not used to make the distinction between bedrooms, beds and rooms, I can eliminate the " Rooms " in the research component ?
Thanks a lot for the collaboration!
I did what you 've shown me, but the result is that the bar slider filter is gone (as you can see in the attached file). What's wrong ?
I take this opportunity to ask you two things :
1. Can I change the color of the component with a color not present in the template ? for example, in blue or gray ?
2. As in Italy is not used to make the distinction between bedrooms, beds and rooms, I can eliminate the " Rooms " in the research component ?
Thanks a lot for the collaboration!
Attachments:
Last edit: 9 years 7 months ago by Miki.
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 7 months ago #70052
by Mr. Dam
Replied by Mr. Dam on topic European decimal system in quick search
Hi Miki,
Please revert your changes and submit ticket on category: OS Property and i will help you to change the currency format in Price range slider.
Thanks
Dam
Please revert your changes and submit ticket on category: OS Property and i will help you to change the currency format in Price range slider.
Thanks
Dam
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.