Menu

add existing wife/husband

Help
macalter
2009-10-26
2013-05-30
  • macalter

    macalter - 2009-10-26

    Wondering if there was reason for not having capability to add a source when linking existing Indi as a wife/husband ? Or, was it just an oversight?

     
  • Stephen Arnold

    Stephen Arnold - 2009-10-26

    Mac 
    Probably. Greg's on vacation but in EDIT INTERFACE, at line 549, I think you could add a line: 
    add_simple_tag("0 SOUR", "MARR");  

    -Stephen

     
  • Stephen Arnold

    Stephen Arnold - 2009-10-26

    BTW 
    This stupid forum software took out the underscores and made it italics. 

    addUNDERSCOREsimpleUNDERSCOREtag("0 SOUR", "MARR");  
    _Stephen

     
  • Anonymous

    Anonymous - 2009-10-26

    I'm sure Stephen's right, but if you are going to add SOUR, we should include  all the other possible tags related to MARR:
    Add a new Associate
    Add a new Note
    Add a new Shared Note
    Add a new Multimedia object
    Restriction

    Should all be equally easy, as they do appear in the normal "Add marriage" pop-up.

     
  • Stephen Arnold

    Stephen Arnold - 2009-10-26

    OK - added these lines and you have what you desire. Maybe Gerry or one of the other developers will submit the changes. 

    Remember, the _ITALICS noted below actual have an underscore before and after in the real code, about line 549 of editinterface.php 

    add_simple_tag("0 SOUR", "MARR");
    add_simple_tag("0 NOTE", "MARR");
    add_simple_tag("0 SHARED_NOTE", "MARR");
    add_simple_tag("0 ASSO", "MARR");
    add_simple_tag("0 RESN", "MARR");

    _Stephen

     
  • macalter

    macalter - 2009-10-26

    The code works, thanks only difference is the items aren't collapsed until the + is clicked but for now, that's okay. Do I need to do Tracker suggestion to have it in  release "officially"?

     
  • macalter

    macalter - 2009-10-26

    Okay, it didn't really work. The married box isn't checked but when I do, the SOUR didn't get recorded. But all the fields showed (Source, Resn, Assoc, Note, Shared)

     
  • Anonymous

    Anonymous - 2009-10-26

    Ah well, I guess thats why Stephen and I are testers and support - not developers.

    Perhaps you should add a Feature Request, so that the idea (a good one) doesn't get forgotten.

     
  • macalter

    macalter - 2009-10-26

    Feature Requests item #2886694, was opened. Stephen, i included your code by way of showing what tags needed to be added.

     

Log in to post a comment.