- Posts: 15
- Thank you received: 4
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services
OS Property support center
How to change the label Price
- JOYCE
-
Topic Author
- Offline
- New Member
-
Less
More
11 years 8 months ago #56990
by JOYCE
How to change the label Price was created by JOYCE
Hi dam and team, I will appreciate if you can help me with this issue. I want to to change the label in property information "Price" by "Price from" see attached image. It is possible to do this?
Thank you in advance
Thank you in advance
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13804
- Thank you received: 1816
11 years 8 months ago #57021
by Mr. Dam
Replied by Mr. Dam on topic How to change the label Price
Hi Joyce,
Please open file:
components > com_osproperty > templates > theme1 > listing.html.tpl.php
find:
echo OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo " /".JText::_($row->rent_time);
}
and replace by
echo "From ". OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo " /".JText::_($row->rent_time);
}
Thanks
Dam
Please open file:
components > com_osproperty > templates > theme1 > listing.html.tpl.php
find:
echo OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo " /".JText::_($row->rent_time);
}
and replace by
echo "From ". OSPHelper::generatePrice($row->curr,$row->price);
if($row->rent_time != ""){
echo " /".JText::_($row->rent_time);
}
Thanks
Dam
Please Log in or Create an account to join the conversation.
- JOYCE
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 4
11 years 8 months ago #57105
by JOYCE
Replied by JOYCE on topic How to change the label Price
Thank you Dam the solution is working good.
Can you please tell me How can I translate this word "From" in the other language installed?
Can you please tell me How can I translate this word "From" in the other language installed?
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13804
- Thank you received: 1816
11 years 8 months ago #57115
by Mr. Dam
Replied by Mr. Dam on topic How to change the label Price
OK, please relace
echo "From ". OSPHelper::generatePrice($row->curr,$row->price);
by
echo Jtext::_('OS_FROM'). OSPHelper::generatePrice($row->curr,$row->price);
Thanks
Dam
echo "From ". OSPHelper::generatePrice($row->curr,$row->price);
by
echo Jtext::_('OS_FROM'). OSPHelper::generatePrice($row->curr,$row->price);
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2026 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.