Pedigree

Component ID

2325179

Component name

Pedigree

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This project builds on the Family Tree module (https://www.drupal.org/project/family). There was never a proper Drupal 7 release for it. As a starting point for my project, I used the zip file here: https://www.drupal.org/node/1262608#comment-6634046. I made some changes to it, so I could use it for a site I was building.

  • I did nothing with the location functionality. It is probably better to use the location and gmap modules to connect those with individuals and groups. At least, that is what I do on my site.
  • After installation I cloned the views, and then worked with those to adapt them to my taste. The provided views are a good starting point for that.
  • You can add more fields (like image) to the content types after installation to extend the possibilities.
  • I have not paid particular attention to security. Use at your own risk.
  • I have not used GED import, and have no idea if it works or not.
  • I see more ways of improving the code...

I'll have to study the Drupal API better first. Help for this project would be welcome.

Most important changes made so far

  • Code (php, html, css) has been changed notably in many places.
  • Date format is now localized.
  • Block that shows siblings of an individual now works.
  • Presentation of Individual and Group pages improved.
  • Presentation of ascendant and descendant trees improved.
  • Age added to trees and individual page.
  • Partner(s) added to descendant tree.
  • Many (most?) strings can now be properly translated.

Update: complete rewrite of module

I have now begun to work on a complete rewrite of the module. This is my first module, so I will still need to study the Drupal API often, which will make progress slow.

This is my plan:

  • Rename module to Pedigree
  • Create a new content type for persons, creating all the necessary fields.
  • Use the relation module to create partner en parent-child relations, also creating fields.
  • Create decent default page views for person, as well as the descendants and ancestors trees.
  • Extend the feeds importer to be able to import GEDCOM files.
  • Provide an upgrade path from data of Family module to Pedigree

When something useful is ready, I will post it here.

There is also a small website demonstrating the module: http://familie.jossmeets.nl

Let me know what you think. Also have a look at the issues to see what is going on.