I easily get overwhelmed with drupal and its many modules, thus apologize up front, if this Q's already answered somewhere...please refer if so.
I'm building a "Family Tree" website and currently have two content types, "Individuals" and "Families". Users first, enter individual's data(stuff unique to an individual), then enter families data (stuff like wedding date, husband/wife, children, etc; that's unique to a family). In "families", I have an Entity Reference with a SelectList for entering husbands, wives, and children. This way there's no double entry or chance of duplication, since each individual (coupled with DateOfBirth) are unique.
Users can select either Individuals or Families and view/edit content. Upon viewing Family(selectable by Parents), I have links to each Individual's (husband, wife and children) page.
I would like to add a block to the Individual page that would send user, through a dynamic link, to that Individual's Family page, where he/she was listed as a "Child". Finding a Parent's page is easy, since my node title contains both husband and wife names. Understand I will ultimately have 100's of entries and need a single dynamic link that works for ALL individual nodes.
Thanks for any guidance here...

Comments

VM’s picture

You'll need to dig into the views.module to build the block display. I venture you'll need to research how the entity reference module integrates with views. I also venture that you will need to work with relationships in views.

may want to test https://www.drupal.org/project/family

JakeRogers’s picture

Thanks, I've done some of each, but will delve deeper and advise of results/solution...

Jake