Menu

Where's "Add marriage details&qu...

Help
Wesley
2010-03-18
2013-05-30
  • Wesley

    Wesley - 2010-03-18

    In the 'edit_interface.php' file I see the "case 'add':" section on around line 500 but I'm unable to find the actual Add Marriage form that is used when clicking "Add marriage details".  Could someone please point to which file that contains that code?

    At the bottom of the "Add marriage details" form of course is the section 'Husband, Age, Wife, Age' . I've been asked several times if it's required to enter in the Ages of the husband and wife.  I'm wanting to put some text about that in-between the Address <tr> and the Husband <tr>.

    Thanks!

     
  • Greg Roach

    Greg Roach - 2010-03-18

    You add marriages from the FAMILY page, not the INDIVIDUAL page.

     
  • Wesley

    Wesley - 2010-03-18

    Thanks for the reply.  Anywhere I bring up the form it's the same form; under the "Close Relatives" tab, adding a Marriage new fact on the Family page, when "Edit Family" is clicked on the Family page, etc.  I just need to know where the code is for that form?

    Thanks again!

     
  • Greg Roach

    Greg Roach - 2010-03-19

    The form is generated dynamically from the gedcom data.

    You probably want to look at add_simple_tag() in functions_edit.php.  You'd need to make any changes conditional on the record type, as changes here affect all AGE tags, including INDI ones, such as DEAT:AGE.

    I don't think there is any special handling for AGE. so it is covered by default processing.

    I'm afraid it isn't simple…

    The empty HUSB/WIFE:AGE fields are added in functions_edit.php, in the function insert_missing_subtags().  If you don't want these fields at all, you would remove them here.

     

Log in to post a comment.