Author Topic: Calque Individus - Afficher le lieu-dit  (Read 3216 times)

0 Members and 1 Guest are viewing this topic.

Offline Superchinois

  • VIP
  • Hero Member
  • *
  • Posts: 162
    • View Profile
Calque Individus - Afficher le lieu-dit
« on: December 10, 2023, 14:28:29 »
Bonjour,

Je souhaite afficher le lieu-dit dans l'affichage des individus de l'arbre dynamique (voir pièce jointe 1)
J'y suis arrivé pour les Naissances/Baptêmes et Décès/Inhumation :

<td><ifvalue path=INDI:BIRT default=INDI:CHR img=yes txt=no></td>
         <td valign="top">
            <b><ifvalue path=INDI:BIRT default=INDI:CHR format="{$D}"></b>&nbsp;<br>
            <ifvalue path=INDI:BIRT:PLAC format="0, 1, 5" default=INDI:CHR:PLAC format="0, 1, 5" max=67>&nbsp;
         </td>


Mais je n'y arrive pas avec le lieu :
<tr>
         <td><prop path=INDI:RESI img=yes txt=no></td>
         <td valign="top">
            <b><prop path=INDI:RESI?LAST format={$p}></b>&nbsp;<br>
         </td>
      </tr>


J'ai mis "INDI:RESI?LAST" pour avoir le dernier RESI du GEDCOM, mais je ne vois pas comment intégrer le format="0, 1, 5" comme dans les naissances et décès.
Je donne en 2ème pièce jointe le code complet de mon calque.
Est-ce que quelqu'un peu m'aider pour afficher la même chose ?

Par avance merci.

Eric
Version d'Ancestris :  12.0.12207
Java :  17.0.9+11-LTS-201 - C:\Program Files\Java\jdk-17
Système :  Windows 11 - 10.0 - ericd
Répertoire utilisateur :  C:\Users\ericd\.ancestris\trunk

Offline yannig

  • VIP
  • Hero Member
  • *
  • Posts: 252
  • Yannick VOYEAUD
    • View Profile
    • Généalogie et histoire
Re: Calque Individus - Afficher le lieu-dit
« Reply #1 on: December 10, 2023, 15:31:49 »
Bonsoir,

Avez-vous essayé de mettre
 <b><prop path=INDI:RESI?LAST:PLAC format="0, 1, 5" ></b>&nbsp;<br>

Amitiés
Yannick VOYEAUD
https://voyeaud.org
Debian 12
Ancestris 12

Offline Superchinois

  • VIP
  • Hero Member
  • *
  • Posts: 162
    • View Profile
Re: Calque Individus - Afficher le lieu-dit
« Reply #2 on: December 10, 2023, 15:39:32 »
Bonsoir,

Avez-vous essayé de mettre
 <b><prop path=INDI:RESI?LAST:PLAC format="0, 1, 5" ></b>&nbsp;<br>

Amitiés

Bonjour Yannig,

C'est tout à fait ça.
J'ai compris mon erreur, je ne mettais pas INDI:RESI?LAST:PLAC format="0, 1, 5" mais INDI:RESI?LAST format="0, 1, 5"

Merci pour votre aide.

Eric
Version d'Ancestris :  12.0.12207
Java :  17.0.9+11-LTS-201 - C:\Program Files\Java\jdk-17
Système :  Windows 11 - 10.0 - ericd
Répertoire utilisateur :  C:\Users\ericd\.ancestris\trunk