Support for Adoption

djphaezer - December 17, 2008 - 19:19
Project:Family Tree 2
Version:6.x-1.1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

I come from a family with many adoptions. For example, one set of parents had 5 biological children and 3 adopted children. Some of the children identify their biological parents as their 'parents' while others identify their adopted parents as their 'parents.'

What would be nice is a way to add this information using fields when creating a new individual.

For example, when creating a new individual, below the drop-down to select 'ancestry group', there could be a check box "Adopted?". If the box is checked, it enables another drop down to select a ancestry group that is the adopted family. Maybe these two drop downs can be specified as 'biological' and 'adopted' or whatever works anyway.

The family tree view, of course could still show biological relationships, but it would also be great if there was a way to switch it back and forth between biological relationships and adopted relationships (if there are any).

Thanks!

#1

Microbe - December 18, 2008 - 22:41

Thanks for posting so much feedback about the module.

I have made some changes to the module to include adoption as I was already thinking of doing this.
The changes include a field to individuals pages to add the adopted parents. This is shown on the Individuals page and the group and location pages.
It can also be selected to be shown on the tree and is shown with a red connector.

If there is anything else you wish the data to be included in please ask.

Peter

Bugs also fixed:
#348361: Ascendants View - Name Display Problem (Firefox)
#348381: Duplicate of "Input Format" displayed

AttachmentSize
family.zip 44.41 KB

#2

djphaezer - December 19, 2008 - 21:02

Wow, great work, and thanks for getting it done so quickly!!!

Thought I had some errors at first, but then I realized that I forgot to run update.php after I updated the module. Seems to be working fine so far!

Thanks!

I tested it thoroughly, my only thought so far is that for the finished version of the module, you might want to give people the ability to enable / disable support for adoption. Not everyone is going to care about tracking adopted family members, so it might be a good idea to put some option in a configuration menu for this. But I'm not really sure where you want to go with this, or if you want to include a module configuration page but whatever.

#3

pyutaros - February 12, 2009 - 06:22

Does this need to be committed to CVS?

#4

sugardave - April 5, 2009 - 03:27

I'd say yes, because I would like to see if I can start contributing to this module and it would make it easier if I could be sure that the current download link for the dev version had this zip file applied.

#5

yossarian - April 16, 2009 - 16:46

here's a patch against head

AttachmentSize
family-adopt.txt 21.08 KB

#6

pyutaros - April 17, 2009 - 02:49

You should apply patches against the 6.x branch.

#7

yossarian - April 17, 2009 - 23:20

I can't 'apply' the patch because I do not own this project. I think you mean I should create the patch against 6.x.

OK. But aren't head and 6.x identical at the moment?

#8

pyutaros - May 4, 2009 - 02:08

Yes, at the moment, HEAD and 6.x may be identical, but that will not always be the case. Safest bet is to patch against an actual branch. I will try and commit all of the latest changes as soon as I can.

 
 

Drupal is a registered trademark of Dries Buytaert.