Whilst small files can be uploaded to forum posts, if you have a custom theme or module to contribute please add it on the "Add-ons" page.
  • Page:
  • 1
  • 2

TOPIC:

Show Relationship 6 years 3 months ago #1

  • Alex
  • Alex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 56
Hi everyone,

I'm new here so... please bear with me. I have migrated from Ancestry.com to using webtrees so I can share my work with family members without having them create Ancestry accounts. Anyway, the feature I miss most is knowing what the relationship of the individual I am seeing is with me. This is, when I am in an Individual's page, is there a way to show anywhere that this person is the husband of my cousin twice removed (or whatever)?

Thanks,
Alex

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #2

It is a chart. Find it under Charts->Relationships
Chris at genes.tronsmit.com

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #3

  • Alex
  • Alex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 56
Yes, I've seen that option. What I was looking for is a way to display that relationship when I was looking at the individual's page.

Thanks,
Alex

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #4

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940
Add a 'Fact or Event' (at the bottom of the events on the individual page.)
On the drop-down menu, click on "Associate."
Enter the "pid" for the individual whose relationship you wish to display, or enter their name to find their PID and then save.
I believe this is the closest option to what you want.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #5

  • ric2015
  • ric2015's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 353
I was looking for that feature as well - I have implemented it in a custom module which replaces the Families tab with a version that additionally displays the relationship of the person to the default individual (and also, while i was at it, displays the relationship between married persons).

See e.g. here for an example and/or get the module here .

Would that help?
Richard

webtrees 2.1.6 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available for webtrees 2.1 at cissee.de

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #6

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940
I added your module, and find it helpful. It shows my 3rd cousin (5x removed), but it doesn't show the wife of my 3rd cousin, so what are the limitations or parameters?
On my Charts, I now get two "Relationship to Me" options, the first of which results in an error (500.) I have enabled your module, and disabled the module of the same name described as "A tab showing the close relatives of an individual." I am using webtrees 1.7.7 with the latest "Just Black theme" and the "Families" module linked below. Does anyone else experience the same error? Any clues?
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #7

  • ric2015
  • ric2015's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 353

thomas52 wrote: I added your module, and find it helpful. It shows my 3rd cousin (5x removed), but it doesn't show the wife of my 3rd cousin, so what are the limitations or parameters?


I was only interested in relationships via common ancestors, therefore other relationships are currently not shown. I think I'll add a configuration option for this.

thomas52 wrote: On my Charts, I now get two "Relationship to Me" options, the first of which results in an error (500.) I have enabled your module, and disabled the module of the same name described as "A tab showing the close relatives of an individual." I am using webtrees 1.7.7 with the latest "Just Black theme" and the "Families" module linked below. Does anyone else experience the same error? Any clues?


The module also includes a replacement for the Relationships Chart, with further options, that's why you now have two of them (same as with the Families tab). Do you have a logfile where the cause of the 500 error is logged?

(In any case, you can hide the additional chart via Module Administration > Charts > 'Families' > 'Hide from everyone')
Richard

webtrees 2.1.6 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available for webtrees 2.1 at cissee.de

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #8

  • Gustine
  • Gustine's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 190
Hello,

I'm testing this module too. Looks interesting. Here is a French translation.

I disabled modules « Families » and « Relationships » to avoid duplicate Families tab and duplicate chart menu. Same limit in relationship calculation as Thomas, but no error.
(I'd prefer a module to replace Families tab and another to replace - or not - Relationship chart).
webtrees 2.1 for web publishing, with Vesta Classic L&F + MagicSunday fanchart + Justlight theme + sosa²⁰
Mageia 7 - php 7.4
(main DB still using webtrees 1.7)

Please Log in or Create an account to join the conversation.

Last edit: by Gustine. Reason: useless translation due to new version of the module
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Show Relationship 6 years 3 months ago #9

  • Shemwell
  • Shemwell's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 206
Hi Richard,
That's just too cool... nice addition to the families page.
Be sure to upload a copy to the Add-ons.

Thanks

Barry
Barry

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #10

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940
Yes, very nice, the Families custom module works fine. But to work properly, I must disable my 'Relationships' module which I use constantly.
An additional 'Options' module would be great. I would also suggest an alternative name, perhaps "Families Expansion" or such.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

Please Log in or Create an account to join the conversation.

[SOLVED] Show Relationship 6 years 3 months ago #11

  • Alex
  • Alex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 56
Problem solved.

Please Log in or Create an account to join the conversation.

[SOLVED] Show Relationship 6 years 3 months ago #12

  • Alex
  • Alex's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 56
Richard,

This is exactly what I was looking for, Thanks! Where can we keep up with updates you make?

Also, I am not experiencing the 500 error as mentioned above, it works fine for me.

Keep it up!
Alex

Please Log in or Create an account to join the conversation.

[SOLVED] Show Relationship 6 years 3 months ago #13

  • ric2015
  • ric2015's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 353
Thank you all for the feedback - I will clean up the module a bit and include more configuration options, and then add it to the Add-ons list, as suggested.

A few notes:
Tab and Chart are combined in a single module, because they are both based on common functionality (the algorithms used to determine the relationships). You can use just one part of the module by hiding either the tab or the chart via Module Administration (I will modify the links so that they point to the old relationship chart if necessary).

(The extended relationship chart features are probably to be merged into the main chart anyway, see Issue #913)
Richard

webtrees 2.1.6 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available for webtrees 2.1 at cissee.de

Please Log in or Create an account to join the conversation.

[SOLVED] Show Relationship 6 years 3 months ago #14

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940
I still get TWO 'Relationship to me' Chart options

The first option results in "currently unable to handle this request. HTTP ERROR 500" which I am unable to identify further.
The second option gives me our normal relationship chart. In the Control Panel, hiding or disabling the 'Relationships' chart removes the functioning chart, and leaves the non-functioning chart that has no 'hide' option.'

One further consideration: it may be desirable to have the relationship description "Ira Peaslee is first cousin 5 times removed ascending of ..." on the individual's MAIN 'Facts & Events' possibly under the name or title block above the tabs. This way the relationship would show at all times to visitors logged on.
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)
Attachments:

Please Log in or Create an account to join the conversation.

[SOLVED] Show Relationship 6 years 3 months ago #15

  • ric2015
  • ric2015's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 353

thomas52 wrote: The second option gives me our normal relationship chart. In the Control Panel, hiding or disabling the 'Relationships' chart removes the functioning chart, and leaves the non-functioning chart that has no 'hide' option.'


The chart named "Relationships" is the original chart. The new chart is listed as "Families", because that's the name of the custom module. I'll try to make that less confusing. Anyway, this is the chart that you have to hide.

thomas52 wrote: One further consideration: it may be desirable to have the relationship description "Ira Peaslee is first cousin 5 times removed ascending of ..." on the individual's MAIN 'Facts & Events' possibly under the name or title block above the tabs. This way the relationship would show at all times to visitors logged on.


Ok, I can probably add that as a further configuration option. As in the case of the Families tab, this will probably require duplicating the entire tab code, because these tabs are not designed with such extensibility in mind. Maybe this even requires a separate custom module, I'm not sure if a single module can target multiple tabs.
Richard

webtrees 2.1.6 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available for webtrees 2.1 at cissee.de

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #16

  • SlidesArmed
  • SlidesArmed's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 32
I find this very interesting.
I installed the module and translated the .csv module language file to Norwegian. In the "new" relationship chart, some of the options are now translated but not all.

I also notice that in the new family tab only some of the edit link texts are now translated. When working in Norwegian language, "View family", " Add a new brother or sister", " Add a new son or daughter", "Add a new wife" is now in English and not in chosen language. In the old family tab, these are translated according to webtrees translation file.

Additionally, I find issues with getting the new family tab to work when not logged in. I am not sure this is the same as others reported.

I am happy to work with anyone to make this a great addition to webtrees.

[Edit:] I think I found out why the missing translations; some of the source key words are not identical to the current "same" in the latest webtrees source and some are not present at all.
I tried to extract the language variable to create a .po file for the module but didn't find a tool to do it. So I manually created my own to support the few words I needed, based on a different module's .po file. I did this mostly for my own training and seeking to understand the logic of webtrees.

Regards,
Thomas

Please Log in or Create an account to join the conversation.

Last edit: by SlidesArmed.

Show Relationship 6 years 3 months ago #17

  • ric2015
  • ric2015's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 353
I have now updated the module to the latest webtrees version (1.7.7). This means there shoudn't be any non-translated 'general' texts now. I have also added several configuration options, which may be useful. The latest version is available here .

Gustine has provided French translations - Thank you! If you have translations for other languages, let me know and I'll include them as well (most additional texts only appear in the configuration panel and are therefore not that important to translate - regular users won't see them anyway).
Richard

webtrees 2.1.6 at cissee.de/webtrees2
Vesta custom modules (Classic Look & Feel, Gov4webtrees, Shared Places, Extended Relationships) available for webtrees 2.1 at cissee.de

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #18

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940
Re: 1.7.7.2 -- Hiding the "Relationships A chart displaying relationships between two individuals." .. results in only one "Relationship to Me" Chart.
However, the remaining "Relationship" Chart results in an error "unable to handle this request. HTTP ERROR 500"
I find nothing on this error. Is it just me?
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

Please Log in or Create an account to join the conversation.

Last edit: by thomas52.

Show Relationship 6 years 3 months ago #19

  • Gustine
  • Gustine's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 190
Hello Thomas,

Perhaps an other custom module calls for relationship.php. What happens if you remove extended relationships module AND disable original relationship module ?
webtrees 2.1 for web publishing, with Vesta Classic L&F + MagicSunday fanchart + Justlight theme + sosa²⁰
Mageia 7 - php 7.4
(main DB still using webtrees 1.7)

Please Log in or Create an account to join the conversation.

Show Relationship 6 years 3 months ago #20

  • thomas52
  • thomas52's Avatar
  • Away
  • Premium Member
  • Premium Member
  • Western North Carolina
  • Posts: 940

Relationships A chart displaying relationships between two individuals.

is not a custom module.
However, disabling the standard Relationships module, leaves me with a single 'Relationship to me' chart that returns "HTTP ERROR 500."
I have installed the most recent version.
The custom "Extended Relationships" module Relationship chart is simply not appearing.
I should get a chart with the options

Find a closest relationship via common ancestors
Find all smallest lowest common ancestors, show a closest connection for each
Find all relationships via lowest common ancestors
Find the closest overall connections (preferably via common ancestors)
Find the closest overall connections

... as shown in nc2016's example. But not happening. I feel like I must be missing something fundamental.
However, if I simply hide nc2016'a chart, all is well. Hmmmm?
"Failure is an amazing teacher." (L'échec est un professeur extraordinaire.)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum