-1.17
Рейтинг
3.38
Сила
пробовал, поэтому топик и здесь. Спасибо AlikMis, помог решить

classes\modules\user\entity\User.entity.class.php
public function getCity() {
  if($oCity=$this->Geo_GetGeoObjectByTarget('user',$this->getId())) return $oCity;
  return null;
 }


в шаблон
{if $oUserList->getCity()}<a href="{router page='people'}city/{$oUserList->getCity()->getId()}/">{$oUserList->getCity()->getName()|escape:'html'}</a>{/if}