OS Property support center

SOLVED !!! Address format

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
8 years 1 day ago - 7 years 11 months ago #102501 by Stephen
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

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 7 years 11 months ago by Dang Thuc Dam.

Please Log in or Create an account to join the conversation.

More
8 years 1 day ago #102502 by Dang Thuc Dam
Replied by Dang Thuc 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:
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
  • Platinum Member
More
8 years 1 day ago #102514 by Stephen
Replied by Stephen on topic Addressformat
Hi
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: Dang Thuc DamNguyen Phu Quan