OS Property support center

Name of City

More
3 years 5 months ago #139134 by Mr. Dam
Replied by Mr. Dam on topic Name of City
Hi Sixella,
When you modify source code in \administrator\components\com_osproperty\classes\configuration\properties\property.php, you just change the configure options of Address format. You also need to modify function generateAddress in root -> components -> com_osproperty -> helpers -> helper.php to apply your configure options in Address format.
Thanks
Dam

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

More
3 years 1 month ago #142101 by MediaElf
Replied by MediaElf on topic Name of City
Hello,

I looking to change in category grid or list view something like CITY, REGION
And then at details page a FULL adress with POSTCODE, STATE/PROVINCE etc...

How can i make this modification ?

Thank you
 

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

More
3 years 1 month ago #142102 by Mr. Dam
Replied by Mr. Dam on topic Name of City
Hi Media,
Could you please send us the screenshot of the places where you want to change Address format
Thanks
Dam

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

More
3 years 1 month ago #142104 by MediaElf
Replied by MediaElf on topic Name of City
Here is it.
CITY, REGION, STATE/PROVINCE

Thank you
Attachments:

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

More
3 years 1 month ago #142106 by MediaElf
Replied by MediaElf on topic Name of City
Actually, ewerywhere in the themes it's the line " <?php echo OSPHelper::generateAddress($row);?> " what call the adress from configuration which in turn is written in the file helper.php
But it not possible to create something like <?php echo row->city; ?>, <?php row->region; ?> etc ... in the grid view, line view, details view pages ...

Are you some ideas ;)

Thank you

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

Moderators: Mr. DamNguyen Phu Quan