Menu

View source as default ?

Help
2003-11-17
2003-11-18
  • Jette Jřrgensen

    In the "Personal fact and detail"-window, a "+" is shown, if a source is connected to a fact. Then you have to click the "+", before you can read the source-notes, and the "+" becomes a "-".

    How can you make shown source-notes default ?.

     
    • Jette Jřrgensen

      Arne has asked me to write an example, because he haven't got the same problem:

      link: http://carlludvig.dk/individual.php?pid=I59&GEDCOM=CarlLudvig.ged

      Look at "Sencus 1 February 1801"

      And the GEDCOM record look like this:

      0 @I59@ INDI
      1 NAME Karen /Jrgensdatter/
      2 SURN Jrgensdatter
      2 GIVN Karen
      1 SEX F
      1 BIRT
      2 DATE 1731
      2 PLAC Gedesby S, Falster Snder H, Maribo A, Danmark
      1 _UID C831A61DCDD19F4A8D9032B2306338FE0DA8
      1 FAMS @F16@
      1 FAMC @F589@
      1 CENS Karen Jrgensdatter, 55, Gift, Hans Kone, ,
      2 DATE 1 Feb 1787
      2 PLAC Gedesby S, Falster Snder H, Maribo A, Danmark
      2 SOUR @S24@
      1 CENS Karen Jrgensdatter, 70, Gift, Hans kone, ,
      2 DATE 1 Feb 1801
      2 PLAC Gedesby S, Falster Snder H, Maribo A, Danmark
      2 SOUR @S163@
      3 DATA
      4 TEXT FT 1801 - Maribo, Falsters Snder, Gedesby, Giedesbye Bye, 082
      5 CONT Navn, Alder, Civilstand, Stilling i husstanden, Erhverv , Fdested
      5 CONT Jens Hansen, 59, Gift, Mand, Jordls huusmand og Bdker,
      5 CONT Karen Jrgensdatter, 70, Gift, Hans kone, ,
      5 CONT Hans Jensen, 21, Ugift, Deres sn, Selemit.,
      3 OBJE
      4 FORM jpg
      4 FILE medier\folketal\Gedesby_1801_00065_B8354-082.jpg
      4 TITL __FT1801 - Gedesby S, F082, Falsters Snder H, Maribo A, Danmark
      4 NOTE
      4 _SCBK N
      4 _PRIM N
      4 _TYPE PHOTO
      1 CHAN
      2 DATE 17 Nov 2003
      3 TIME 19:17:30

      The GEDCOM file has been created by PAF. I have tried severel ways to make notes in PAF, all gives the same result.

      brgds Jette Jrgensen

       
    • John Finlay

      John Finlay - 2003-11-18

      Do you want the plus to always be expanded so that you can see the source citation without having to open it?

      Or are the TEXT and subsequent CONT tags not being displayed properly?

      --John

       
    • Jette Jřrgensen

      The TEXT-record are showing the word TEXT, when showing the textline, this I think is wrong.

      It seems like PAF has more levels of source-records, than your code 'reads'

      Arnes GEDCOM:
      2 SOUR @Sx@
      3 QUAY x
      2 NOTE x
      3 CONT x

      My GEDCOM:
      2 SOUR @Sx@
      3 DATA
      4 TEXT x
      5 CONT x

      When you open Arnes, whithout expanding, It will show SOUR, NOTE and CONT. When you expand, it will show QUAY.

      When you open my, whitout expanding, it will show SOUR. When you expand, it will show TEXT and CONT.

      It will be okay for me, if I could choose expanded as default. Maybe if one could choose the option in the setup, it would be fine.

      If you could tell me, which php-script and where, i could edit it my selfe.

      brgds Jette.

       
    • John Finlay

      John Finlay - 2003-11-18

      The reason the NOTE and CONT lines in Arne's GEDCOM are showing up is because they are not a NOTE for the source citation but a note for the fact.  If the NOTE from Arne's GEDCOM really is a note for the source citation, then the GEDCOM should look like this:

      2 SOUR @Sx@
      3 QUAY x
      3 NOTE x
      4 CONT x

      Unfortunately there are many ways to add notes to facts and many ways to do source citations :(

      Your GEDCOM record shows the proper way to do a source citation using the TEXT tag.

      To have the source citations expanded by default edit functions_print.php and change line 1207 to say display: block; instead of display: none;

      --John

       
    • Jette Jřrgensen

      Thanks for explaining!

      I have changed "block" to "none", and the plus.gif to minus.gif, and it seems to work!

      /Jette

       

Log in to post a comment.