- Posts: 6
- Thank you received: 0
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
Modification in Price For...
- Meenatchi Sundaram
- Topic Author
- Offline
- New Member
-
Less
More
14 years 1 week ago #18932
by Meenatchi Sundaram
Modification in Price For... was created by Meenatchi Sundaram
How to change the Price For option, I want add 'Day' along with others
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13768
- Thank you received: 1807
14 years 1 week ago #18941
by Mr. Dam
Replied by Mr. Dam on topic Re: Modification in Price For...
Hi,
You need to edit 2 files,
1. Backend
classes > property.php
Function : properties_edit
$timeArr[] = JHTML::_('select.option','',JText::_('OS_FOR_SALE'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_NIGHT'),JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_WEEK'),JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_MONTH'),JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_FEET'),JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_METRE'),JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="inputbox"','value','text',$row->rent_time);
Change to
$timeArr[] = JHTML::_('select.option','',JText::_('OS_FOR_SALE'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_NIGHT'),JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option',JText::_('Per day'),JText::_('Per day'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_WEEK'),JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_MONTH'),JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_FEET'),JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_METRE'),JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="inputbox"','value','text',$row->rent_time);
Frontend
classes > listing.php
Function edit
Modify : as above.
Good luck!
Dam
You need to edit 2 files,
1. Backend
classes > property.php
Function : properties_edit
$timeArr[] = JHTML::_('select.option','',JText::_('OS_FOR_SALE'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_NIGHT'),JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_WEEK'),JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_MONTH'),JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_FEET'),JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_METRE'),JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="inputbox"','value','text',$row->rent_time);
Change to
$timeArr[] = JHTML::_('select.option','',JText::_('OS_FOR_SALE'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_NIGHT'),JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option',JText::_('Per day'),JText::_('Per day'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_WEEK'),JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_MONTH'),JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_FEET'),JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option',JText::_('OS_PER_SQUARE_METRE'),JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="inputbox"','value','text',$row->rent_time);
Frontend
classes > listing.php
Function edit
Modify : as above.
Good luck!
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.