By User on Saturday, 29 June 2019
Posted in General Issues
Likes 0
Views 359
Votes 0
Hello.
At the moment in profile page "Introduction" area display only Country.
How can I display City? Or City + Country?

Thanks.
Hi Dmitry,

The city is not shown as default, only the state and country.

But if you really want to, you can template override the following file to show the city.
JoomlaFolder/media/com_easysocial/apps/fields/user/address/themes/default/widgets/display.php
·
Monday, 01 July 2019 16:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks, It helped
Just for other clients:

upload file to folder:
/templates/<YOUR_JOOMLA_TEMPLATE>/html/com_easysocial/apps/fields/user/address/widgets
and use "city" instead of "country" and "country_code":

<?php if ($value->city) { ?>
<?php echo $value->city;?>
<?php } ?>
·
Tuesday, 02 July 2019 02:15
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Dmitry and thanks for the info.

Regards.
·
Tuesday, 02 July 2019 10:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post