Difference between revisions of "Show Husband or Wife mod"

From TNG_Wiki
Jump to navigation Jump to search
(31 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 +
{{restricted}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Show Husband or Wife
 
| mod_name        = Show Husband or Wife
 
| mod_summary    = Replaces the Family heding with Husband or Wife.
 
| mod_summary    = Replaces the Family heding with Husband or Wife.
 
| mod_validation  = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = The mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
| download_link = for {{Tv110}}[https://xerxx.se/modSupport/click/click.php?id=85 Show_Husband_or_Wife_mod_v11.0.1.cfg.zip]<hr/>for {{Tv1013}}[https://xerxx.se/modSupport/click/click.php?id=84 Show_Husband_or_Wife_mod_v10.1.3.0.cfg.zip]
+
| mod_last_update = 8 Nov 2018
 +
| download_link = for {{Tv120}}{{Tv110}}[https://xerxx.se/modSupport/click/click.php?id=164&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Show_Husband_or_Wife_mod_v11.0.1.1c.cfg.zip]<hr/>for {{Tv1013}}[https://xerxx.se/modSupport/click/click.php?id=162&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Show_Husband_or_Wife_mod_v10.1.3.1b.cfg.zip]
 
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=16 Show Husband or Wife]
 
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=16 Show Husband or Wife]
 
| mod_author      = Erik Hoppe
 
| mod_author      = Erik Hoppe
 
| mod_url        = [[Show Husband or Wife mod]] (this page)
 
| mod_url        = [[Show Husband or Wife mod]] (this page)
| mod_support    = [https://xerxx.se/modSupport/index.php?mod=18 My Mod Support]
+
| mod_support    = [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons]
| mod_contact    = [https://xerxx.se/modSupport/index.php?mod=18 My Mod Support]
+
| mod_contact    =  
| mod_version    = 10.1.3.0 for TNG v10.1.3,<br/>11.0.1.0 for TNG v11.0.1 and above
+
| mod_version    = 10.1.3.1b for TNG v10.1.3,<br/>11.0.1.1c for TNG v11.0.1 and above
 
| min_TNG_ver    = 10.1.3
 
| min_TNG_ver    = 10.1.3
| max_TNG_ver    = 11.0.2
+
| max_TNG_ver    = 12.x
 
| TNG_file_list  = See [[Show Husband or Wife mod#TNG_Modules_Impacted|TNG Modules Impacted]]
 
| TNG_file_list  = See [[Show Husband or Wife mod#TNG_Modules_Impacted|TNG Modules Impacted]]
 
| related_mods    = [[Spouse_Partner_Label]] by Graham Chamberlain
 
| related_mods    = [[Spouse_Partner_Label]] by Graham Chamberlain
Line 22: Line 24:
 
== Purpose of the mod ==
 
== Purpose of the mod ==
  
The '''''Family''''' data heading in ''getperson.php'' is replaced by '''''Husband''''' or '''''Wife''''' depending on the spouse's sex.
+
The '''''Family''''' data heading in ''getperson.php'' is replaced by '''''Husband''''' or '''''Wife''''' depending on the spouse's sex.<br/>When the same sex it displays '''''Partner'''''.
  
  
Line 28: Line 30:
  
 
This mod was developed by [[User:XerxX|Erik Hoppe]]<br/>
 
This mod was developed by [[User:XerxX|Erik Hoppe]]<br/>
 +
See all my mods at <b><i>[[User:XerxX|my Wiki page]]</i></b>
  
  
Line 50: Line 53:
 
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
 
* Replace all affected files with the copies you made before the installation.
 
* Replace all affected files with the copies you made before the installation.
* Contact me through [https://xerxx.se/modSupport/index.php?mod=18 My Mod Support]
+
* [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons]
  
 +
== Conflicts ==
 +
 +
This mod conflicts with v11.0.0.0 of the [[Family Edit Links Mod]].  If you want to use both mods, you need to install the [[Family Edit Links Mod]] first.  After installing the [[Show Husband or Wife mod]], the [[Family Edit Links Mod]] will show a Bad Target because of the conflict.  Do not attempt to Clean Up. 
 +
 +
Conflict is resolved by v11.0.0.1 of the [[Family Edit Links Mod]].
  
 
== Custom Text Additions ==  
 
== Custom Text Additions ==  
  
The config file includes the English language custom text.<br />There are German and Swedish translations if they are present in your TNG system.<br/>For other languages you can modify the config file to add the custom text or manually add to whatever language you like.<br/>
+
The config file includes the English language custom text.<br />There are Dutch, French, German, Norwegian and Swedish translations if they are present in your TNG system.<br/>For other languages you can modify the config file to add the custom text or manually add to whatever language you like.<br/>
  
 
(English custom text for reference)<br />
 
(English custom text for reference)<br />
Line 63: Line 71:
 
$text['husband'] = "Husband";
 
$text['husband'] = "Husband";
 
$text['wife'] = "Wife";
 
$text['wife'] = "Wife";
 +
$text['xerxxPartner'] = "Partner";
  
 
</pre>
 
</pre>
Line 82: Line 91:
 
! Date
 
! Date
 
! Description
 
! Description
 +
|-
 +
| v11.0.1.1c
 +
| 8 Nov 2018
 +
| Dutch translation by Renze P.
 +
|-
 +
| v10.1.3.1b<br/>v11.0.1.1b
 +
| 6 Nov 2018
 +
| Norwegian translation by Helge H.
 +
|-
 +
| v10.1.3.1<br/>v11.0.1.1
 +
| 18 Jan 2017
 +
| Added Partner if both persons are of the same sex (proposed by Ken Roy)<br/>French translation by Ken Roy.
 
|-
 
|-
 
| v10.1.3.0<br/>v11.0.1.0
 
| v10.1.3.0<br/>v11.0.1.0
Line 94: Line 115:
 
|-
 
|-
 
| [[file:showHoWa.jpg]]<br/><br/>Without mod
 
| [[file:showHoWa.jpg]]<br/><br/>Without mod
| [[file:showHoWb.jpg]]<br/><br/>With mod (female spouse)
+
| [[file:showHoWb.jpg]]<br/><br/>With mod (female spouse)<br/>[[file:Samesexspouse.png]]<br/><br/>With mod (same sex spouse)
 
|-
 
|-
 
|}
 
|}
Line 115: Line 136:
 
| [[User:XerxX|Erik Hoppe]]
 
| [[User:XerxX|Erik Hoppe]]
 
| Mod author
 
| Mod author
| 10.1.3.0
+
| 11.0.1.1
| 10.1.3
+
| 11.1.2
 
| SE, GB, DE
 
| SE, GB, DE
 +
|-
 +
| [https://www.royandboucher.com/tng/getperson.php?personID=I39&tree=T0001 Our Roy and Boucher Family]
 +
| [[User:Ken Roy|Ken Roy]]
 +
|
 +
| 11.0.1.1
 +
| 12.0.0
 +
| EN, FR
 +
|-
 +
| [https://www.tng.riehl-partner-web.de/ Familienforschung Riehl &amp; Kr&ouml;ber]
 +
| [[User:Otto_Riehl|Otto Riehl]]
 +
| (no public site)
 +
| 11.0.1.0
 +
| 11.1.2
 +
| DE, EN, ES, FR, PT
 +
|-
 +
| [http://www.katiandgraham.com/genealogy/index.php Chamberlain &amp; Eidenbenz Genealogy]
 +
| [[User:Hiraeth|Graham Chamberlain]]
 +
|
 +
| V11.0.1.0
 +
| 11.1
 +
| EN, FR, DE, ES, NL
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| J-Louis Valory
 +
| Public/Private - Template 1
 +
| 11.0.1.1
 +
| 11.1.1
 +
| French
 +
|-
 +
| [https://www.kleinmanngenealogy.com/ Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
|
 +
| 11.0.1.1
 +
| 12.0.2
 +
| EN
 +
|-
 +
| [https://www.djcm.dk/ DJCM.DK]
 +
| [[User:clausm|Claus Martinussen]]
 +
|
 +
| 11.0.1.1
 +
| 12.0
 +
| DA, EN
 +
|-
 +
| [https://www.eskeland.net/tng/ eskeland.net]
 +
| [[User:helland71]]
 +
| Private - Template 1
 +
| 11.0.1.1b
 +
| 12.0.2
 +
| NO, EN
 +
|-
 +
| [[User:JPB|Current info on my user site]]
 +
| [[User:JPB|JPB]]
 +
| Public site
 +
| ...
 +
| ...
 +
| DE, EN, FR
 
|-
 
|-
 
| [https://www.kmtrees.com Roots & Relatives Remembered]
 
| [https://www.kmtrees.com Roots & Relatives Remembered]
| [[User:Tngrlkrz|Ron Krzmarzick]]
+
| [[User:Tngrlkrz | Ron Krzmarzick]]
| Mod author
+
| Public & Private
| 11.0.1
+
| 11.0.1.1c
| 11.0.2
+
| [https://kmtrees.com/modlist_wiki?whichoptions=basic&cachemethod=3&sortby=filename See Here]
 +
| EN,DE,ES,CS
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User: lastejas|Rick Hooley]]
 +
| Public/Private
 +
| [[User: lastejas|See Here]]
 +
| [[User: lastejas|See Here]]
 +
| EN
 +
|-
 +
| [https://www.ourfamilyhistories.org Our Family Histories]
 +
| [[User: Bsl20b50|Bryan S. Larson]]
 +
| Public
 +
| [[User: Bsl20b50|See Here]]
 +
| [[User: Bsl20b50|See Here]]
 
| EN
 
| EN
 
|-
 
|-
Line 134: Line 225:
 
* languages/English/cust_text.php
 
* languages/English/cust_text.php
 
* languages/English-UTF8/cust_text.php
 
* languages/English-UTF8/cust_text.php
 +
* languages/Dutch/cust_text.php (if present)
 +
* languages/Dutch-UTF8/cust_text.php (if present)
 +
* languages/French/cust_text.php (if present)
 +
* languages/French-UTF8/cust_text.php (if present)
 
* languages/German/cust_text.php (if present)
 
* languages/German/cust_text.php (if present)
 
* languages/German-UTF8/cust_text.php (if present)
 
* languages/German-UTF8/cust_text.php (if present)
 +
* languages/Norwegian/cust_text.php (if present)
 +
* languages/Norwegian-UTF8/cust_text.php (if present)
 
* languages/Swedish/cust_text.php (if present)
 
* languages/Swedish/cust_text.php (if present)
 
* languages/Swedish-UTF8/cust_text.php (if present)
 
* languages/Swedish-UTF8/cust_text.php (if present)
  
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
[[Category:Mods for TNG v11]]
 
  
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
 +
[[Category:cust_text.php English mods]]
 +
[[Category:cust_text.php Dutch mods]]
 +
[[Category:cust_text.php French mods]]
 +
[[Category:cust_text.php German mods]]
 +
[[Category:cust_text.php Norwegian mods]]
 +
[[Category:cust_text.php Swedish mods]]

Revision as of 17:08, 23 February 2019

Restricted Downloads of Show Husband or Wife mod are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Show Husband or Wife
Summary Replaces the Family heding with Husband or Wife.
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 8 Nov 2018
Download link for
TNG 12.0
TNG 11.0
Show_Husband_or_Wife_mod_v11.0.1.1c.cfg.zip
for
TNG 10.1.3
Show_Husband_or_Wife_mod_v10.1.3.1b.cfg.zip
Download stats Show Husband or Wife
Author(s) Erik Hoppe
Homepage Show Husband or Wife mod (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 10.1.3.1b for TNG v10.1.3,
11.0.1.1c for TNG v11.0.1 and above
Min TNG V 10.1.3
Max TNG V 12.x
Files modified
Related Mods
Spouse_Partner_Label by Graham Chamberlain
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

The Family data heading in getperson.php is replaced by Husband or Wife depending on the spouse's sex.
When the same sex it displays Partner.


Developer

This mod was developed by Erik Hoppe
See all my mods at my Wiki page


Requirements

TNG version: 10.1.3
  • A working TNG installation.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG)


Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file and you will find the .cfg file there (if there's also a folder there: That's a Mac habit - don't bother).
  3. Move/copy/FTP the .cfg file to the mods folder of your TNG system.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.


In the event of a problem

Conflicts

This mod conflicts with v11.0.0.0 of the Family Edit Links Mod. If you want to use both mods, you need to install the Family Edit Links Mod first. After installing the Show Husband or Wife mod, the Family Edit Links Mod will show a Bad Target because of the conflict. Do not attempt to Clean Up.

Conflict is resolved by v11.0.0.1 of the Family Edit Links Mod.

Custom Text Additions

The config file includes the English language custom text.
There are Dutch, French, German, Norwegian and Swedish translations if they are present in your TNG system.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

(English custom text for reference)


$text['husband'] = "Husband";
$text['wife'] = "Wife";
$text['xerxxPartner'] = "Partner";


Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder.


Revision History

Version Date Description
v11.0.1.1c 8 Nov 2018 Dutch translation by Renze P.
v10.1.3.1b
v11.0.1.1b
6 Nov 2018 Norwegian translation by Helge H.
v10.1.3.1
v11.0.1.1
18 Jan 2017 Added Partner if both persons are of the same sex (proposed by Ken Roy)
French translation by Ken Roy.
v10.1.3.0
v11.0.1.0
1 Nov 2016 Introduction.


Visualization of this mod

ShowHoWa.jpg

Without mod
ShowHoWb.jpg

With mod (female spouse)
Samesexspouse.png

With mod (same sex spouse)


Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

URL User Note Mod-Version TNG-Version User-language
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author 11.0.1.1 11.1.2 SE, GB, DE
Our Roy and Boucher Family Ken Roy 11.0.1.1 12.0.0 EN, FR
Familienforschung Riehl & Kröber Otto Riehl (no public site) 11.0.1.0 11.1.2 DE, EN, ES, FR, PT
Chamberlain & Eidenbenz Genealogy Graham Chamberlain V11.0.1.0 11.1 EN, FR, DE, ES, NL
Racine d'Alsace J-Louis Valory Public/Private - Template 1 11.0.1.1 11.1.1 French
Kleinmann Genealogy John Kleinmann 11.0.1.1 12.0.2 EN
DJCM.DK Claus Martinussen 11.0.1.1 12.0 DA, EN
eskeland.net User:helland71 Private - Template 1 11.0.1.1b 12.0.2 NO, EN
Current info on my user site JPB Public site ... ... DE, EN, FR
Roots & Relatives Remembered Ron Krzmarzick Public & Private 11.0.1.1c See Here EN,DE,ES,CS
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Our Family Histories Bryan S. Larson Public See Here See Here EN

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:

  • getperson.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/Dutch/cust_text.php (if present)
  • languages/Dutch-UTF8/cust_text.php (if present)
  • languages/French/cust_text.php (if present)
  • languages/French-UTF8/cust_text.php (if present)
  • languages/German/cust_text.php (if present)
  • languages/German-UTF8/cust_text.php (if present)
  • languages/Norwegian/cust_text.php (if present)
  • languages/Norwegian-UTF8/cust_text.php (if present)
  • languages/Swedish/cust_text.php (if present)
  • languages/Swedish-UTF8/cust_text.php (if present)