- Posts: 40
- Thank you received: 1
OS Property support center
How to change "Price for" field
- zenoni
- Topic Author
- Offline
- Senior Member
-
Less
More
11 years 11 months ago - 11 years 11 months ago #36538
by zenoni
How to change "Price for" field was created by zenoni
Please could you advice how to change "Price for" filed?
Is it possible to import this field? On the CSV Form import I can't see any option to import this field. It is important field, pelease could you implement a import feature for this field.
Is it possible to import this field? On the CSV Form import I can't see any option to import this field. It is important field, pelease could you implement a import feature for this field.
Last edit: 11 years 11 months ago by zenoni.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 11 months ago #36541
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: How to change "Price for" field
Hi,
I will find the solution for this problem soon
Thanks
Dam
I will find the solution for this problem soon
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Ranala
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 1
11 years 9 months ago - 11 years 9 months ago #38262
by Ranala
Replied by Ranala on topic Re: How to change "Price for" field
What is the best possibility to change the values (per night, per week .....) ?
- with the control panel - but do not know where ?
- or directly in the database ?
- or in the language files com_osproperty.ini relating to the listing.php and/or property.php ?
Thanks - ranala
- with the control panel - but do not know where ?
- or directly in the database ?
- or in the language files com_osproperty.ini relating to the listing.php and/or property.php ?
Thanks - ranala
Last edit: 11 years 9 months ago by Ranala.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13244
- Thank you received: 1729
11 years 9 months ago #38266
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: How to change "Price for" field
Hi,
You can change in files
components > com_osproperty > classes > listing.php
administrator > components > com_osproperty > classes > property.php
and the code in the dropdown list is
$timeArr[] = JHTML::_('select.option','',JText::_('OS_NOT_APPLICABLE'));
$timeArr[] = JHTML::_('select.option','OS_PER_NIGHT',JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option','OS_PER_WEEK',JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option','OS_PER_MONTH',JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option','OS_PER_SQUARE_FEET',JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option','OS_PER_SQUARE_METRE',JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="input-medium"','value','text',$row->rent_time);
OS_PER_SQUARE_METRE .etc are defined in language file
Thanks
Dam
You can change in files
components > com_osproperty > classes > listing.php
administrator > components > com_osproperty > classes > property.php
and the code in the dropdown list is
$timeArr[] = JHTML::_('select.option','',JText::_('OS_NOT_APPLICABLE'));
$timeArr[] = JHTML::_('select.option','OS_PER_NIGHT',JText::_('OS_PER_NIGHT'));
$timeArr[] = JHTML::_('select.option','OS_PER_WEEK',JText::_('OS_PER_WEEK'));
$timeArr[] = JHTML::_('select.option','OS_PER_MONTH',JText::_('OS_PER_MONTH'));
$timeArr[] = JHTML::_('select.option','OS_PER_SQUARE_FEET',JText::_('OS_PER_SQUARE_FEET'));
$timeArr[] = JHTML::_('select.option','OS_PER_SQUARE_METRE',JText::_('OS_PER_SQUARE_METRE'));
$lists = JHTML::_('select.genericlist',$timeArr,'rent_time','class="input-medium"','value','text',$row->rent_time);
OS_PER_SQUARE_METRE .etc are defined in language file
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Dang Thuc 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.