Announcement

Collapse
No announcement yet.

Which file is responsible for outputting the personName to list?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Which file is responsible for outputting the personName to list?


    Good day!
    Tell me how to display a report in the list.
    All templates for PersonName adjusted.

    Here are the halyards that have been changed:

    custom\Espo\Custom\Core\Utils\Database\Orm\Fields\ PersonName.php
    custom\Espo\Custom\Resources\metadata\fields\perso nName.json
    custom\Espo\Custom\Resources\metadata\entityDefs\C ontact.json
    client\custom\src\views\contact\fields\name-for-account.js
    client\custom\src\views\user\fields\name.js
    client\custom\src\views\fields\person-name.js
    client\custom\res\templates\fields\person-name\detail.tpl
    client\custom\res\templates\fields\person-name\edit.tpl
    custom\Espo\Custom\Core\Templates\Services\Person. php
    custom\Espo\Custom\Resources\metadata\entityDefs\T arget.json
    custom\Espo\Custom\Core\Templates\Metadata\Person\ entityDefs.json
    custom\Espo\Custom\Core\Entities\Person.php
    custom\Espo\Custom\Core\Utils\Database\Orm\Base.ph p

    Found file list-link.tpl but it is common to all entities.
    Which file is responsible for outputting the personName to list?

    In the cards, everything was removed and everything works, but the list is not displayed.


    //---------------------------------------//


    Добрый день!
    Подскажите как вывести отчеcтво в список list.
    Все шаблоны для PersonName скорректировали.

    Вот фалы которые повергались изменениям:

    custom\Espo\Custom\Core\Utils\Database\Orm\Fields\ PersonName.php
    custom\Espo\Custom\Resources\metadata\fields\perso nName.json
    custom\Espo\Custom\Resources\metadata\entityDefs\C ontact.json
    client\custom\src\views\contact\fields\name-for-account.js
    client\custom\src\views\user\fields\name.js
    client\custom\src\views\fields\person-name.js
    client\custom\res\templates\fields\person-name\detail.tpl
    client\custom\res\templates\fields\person-name\edit.tpl
    custom\Espo\Custom\Core\Templates\Services\Person. php
    custom\Espo\Custom\Resources\metadata\entityDefs\T arget.json
    custom\Espo\Custom\Core\Templates\Metadata\Person\ entityDefs.json
    custom\Espo\Custom\Core\Entities\Person.php
    custom\Espo\Custom\Core\Utils\Database\Orm\Base.ph p

    В карточках все вывели и все работает, а list не выводится.

    Нашли файл list-link.tpl но он общий для всех сущностей.
    Какой файл отвечает за вывод personName в list?


    Last edited by roman042; 06-28-2019, 05:32 AM.

  • #2
    Hello.
    This can be helpful https://github.com/espocrm/espocrm/issues/1145.

    Comment

    Working...
    X