- Posts: 18
- Thank you received: 0
OS Property support center
Add new address for property?
- Preeti
- Topic Author
- Offline
- New Member
-
Less
More
11 years 10 months ago #41100
by Preeti
Add new address for property? was created by Preeti
I want to add district option for property add section after city.
Please Log in or Create an account to join the conversation.
- Dang Thuc Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13435
- Thank you received: 1760
11 years 10 months ago #41137
by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Re: Add new address for property?
Hi Preeti,
You can make the modification to add "district" field at the "add property" form in file
components > com_osproperty > helpers > layouts > propertyedit.php
but after that, you need to modify the function to save that field in
components > com_osproperty > classes > listing.php function :save
and you also need to change function
components > com_osproperty > helpers > helper.php function: generateAddress to show the address of property
and back-end side so on...
By the way, this is input text field, if you want to have the dropdown select list field, it will be very complicate too.
Thanks
Dam
You can make the modification to add "district" field at the "add property" form in file
components > com_osproperty > helpers > layouts > propertyedit.php
but after that, you need to modify the function to save that field in
components > com_osproperty > classes > listing.php function :save
and you also need to change function
components > com_osproperty > helpers > helper.php function: generateAddress to show the address of property
and back-end side so on...
By the way, this is input text field, if you want to have the dropdown select list field, it will be very complicate too.
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.