Show Husband or Wife mod

From TNG_Wiki
Revision as of 14:20, 26 May 2017 by XerxX (talk | contribs) (Restricted)

Jump to: navigation, search
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

Show Husband or Wife
Summary Replaces the Family heding with Husband or Wife.
Validation The mod is XHTML compliant.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link for
TNG 11.0
TNG 10.1.3
Download stats Show Husband or Wife
Author(s) Erik Hoppe
Homepage Show Husband or Wife mod (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod for TNG v10.1.3, for TNG v11.0.1 and above
Min TNG V 10.1.3
Max TNG V 11.x
Files modified
Related Mods
Spouse_Partner_Label by Graham Chamberlain
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.


This mod was developed by Erik Hoppe


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)


  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


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 French, German 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
18 Jan 2017 Added Partner if both persons are of the same sex (proposed by Ken Roy)
French translation by Ken Roy.
1 Nov 2016 Introduction.

Visualization of this mod


Without mod

With mod (female spouse)

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 10.1.3 SE, GB, DE
Our Roy and Boucher Family Ken Roy 11.0.2 EN, FR
Familienforschung Riehl & Kröber Otto Riehl (no public site) 11.0.2 DE, EN, ES, FR, PT
Chamberlain & Eidenbenz Genealogy Graham Chamberlain V11.0.1.0 11.1 EN, FR, DE, ES, NL

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/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/Swedish/cust_text.php (if present)
  • languages/Swedish-UTF8/cust_text.php (if present)