- Posts: 363
- Thank you received: 25
OS Property support center
SOLVED !!! Address format
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
7 years 10 months ago - 7 years 10 months ago #102501
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
SOLVED !!! Address format was created by Stephen
Hi
In which file can I change the ordering of the addressformat? [e.g Address, City, State/Province, Postcode, Region).
I need this in a different order starting with State/Province, city, .....
Regards
Stephen
In which file can I change the ordering of the addressformat? [e.g Address, City, State/Province, Postcode, Region).
I need this in a different order starting with State/Province, city, .....
Regards
Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Attachments:
Last edit: 7 years 10 months ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Away
- Administrator
-
Less
More
- Posts: 13124
- Thank you received: 1708
7 years 10 months ago #102502
by Mr. Dam
Replied by Mr. Dam on topic Addressformat
Hi Stephen,
You can modify the Configure option for Address format in file:
root > administrator > components > com_osproperty > classes > configuration > properties > property.php
Find:
You can add more option based into array $optionArr on above code
Thanks
Dam
You can modify the Configure option for Address format in file:
root > administrator > components > com_osproperty > classes > configuration > properties > property.php
Find:
Code:
$addressArr = array();
$addressArr[0] = JText::_('OS_ADDRESS');
$addressArr[1] = JText::_('OS_CITY');
$addressArr[2] = JText::_('OS_STATE');
$addressArr[3] = JText::_('OS_REGION');
$addressArr[4] = JText::_('OS_POSTCODE');
$optionArr = array();
$optionArr[0] = "0,1,2,3,4";
$optionArr[1] = "0,1,4,2,3";
$optionArr[2] = "0,1,4,3,2";
$optionArr[3] = "0,1,3,4,2";
$optionArr[4] = "0,1,3,2,4";
$optionArr[5] = "0,1,2,4,3";
You can add more option based into array $optionArr on above code
Thanks
Dam
The following user(s) said Thank You: Stephen
Please Log in or Create an account to join the conversation.
- Stephen
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 363
- Thank you received: 25
7 years 10 months ago #102514
by Stephen
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Replied by Stephen on topic Addressformat
Hi
Thanks a lot.
Thanks a lot.
If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
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.