- Posts: 9
- Thank you received: 0
OS Property support center
Price for Dropdown
- alireza
- Topic Author
- Offline
- New Member
-
Less
More
8 years 3 months ago #92759
by alireza
Price for Dropdown was created by alireza
Hi,
How can i add "Per Year" in price for dropwon when property type is for rent. i just have below options:
-Not applicable
-Per Night
-Per Week
-Per Month
-Per Square Feet
-Per Square Meter
Thanks
How can i add "Per Year" in price for dropwon when property type is for rent. i just have below options:
-Not applicable
-Per Night
-Per Week
-Per Month
-Per Square Feet
-Per Square Meter
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13056
- Thank you received: 1696
8 years 3 months ago #92817
by Mr. Dam
Replied by Mr. Dam on topic Price for Dropdown
Hi,
To add "Per Year" into field Rent time frame, please follow these solution
1. Open file:
and add
2. Open file
and add
OS_PER_YEAR="Per Year"
3. If you use more than one language, please use Translation tool at back-end of OS Property to filter and translate the language constant OS_PER_YEAR for other languages
Thanks
Dam
To add "Per Year" into field Rent time frame, please follow these solution
1. Open file:
androot > components > com_osproperty > classes > listing.php
Find:root > administrator > components > com_osproperty > classes > property.php
Code:
$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'));
and add
Code:
$timeArr[] = JHTML::_('select.option','OS_PER_YEAR',JText::_('OS_PER_YEAR'));
androot > language > en-GB > en-GB.com_osproperty.ini
root > administrator > language > en-GB > en-GB.com_osproperty.ini
and add
OS_PER_YEAR="Per Year"
3. If you use more than one language, please use Translation tool at back-end of OS Property to filter and translate the language constant OS_PER_YEAR for other languages
Thanks
Dam
The following user(s) said Thank You: alireza
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.