Ancestris - Forum

Ancestris Support => FRANÇAIS => Topic started by: Superchinois on December 10, 2023, 14:28:29

Title: Calque Individus - Afficher le lieu-dit
Post by: Superchinois 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
Title: Re: Calque Individus - Afficher le lieu-dit
Post by: yannig 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
Title: Re: Calque Individus - Afficher le lieu-dit
Post by: Superchinois 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