Maternal And Paternal Lines

Revision as of 04:20, 9 July 2015 by XerxX (talk | contribs)
Ambox notice.png Note that this mod includes additional languages besides English and requires that you have all affected TNG languages folders on your site.
TNG 10.0
TNG 9.1


Maternal And Paternal Lines
Summary Adds four new pages to TNG
Validation
Mod Updated {{{mod_last_update}}}
Download link for
TNG 10.1.0

maternal_paternal_lines_v10.1.0.3.zip
TNG 10.0
TNG 9.1

maternal_paternal_lines_v9.1.1.2.zip
Download stats See download statistics
Author(s) Erik Hoppe
Homepage Maternal And Paternal Lines (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod 10.1.0.3 for TNG v10.1.x
9.1.1.2 for TNG v9.1 through 10.0.1
Min TNG V 9.1.1
Max TNG V 10.1.2
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

The Maternal And Paternal Lines mod adds four new pages to your TNG system: Two pages for individs and two pages for families.
The selected person/family is followed from mother-to-mother (Maternal Line) or from father-to-father (Paternal Line) as far back as is possible to trace.

  • Individ's tree is displayed including the line's spouse and siblings
  • Family's both trees are displayed side-by-side, with spouse but not siblings, making it easy to compare the time-spans for the generations.


Developer

This mod was developed by Erik Hoppe

Credit for the mod also goes to  , Jacques Deslauriers,Henny Savenije and Mogens C. Fenger for German, French, Dutch and Danish translations resp. and for the suggestions, testing and patience provided by the alpha and beta testers:


Requirements

TNG version: 9.1.0
  • A working TNG installation.
  • For TNG <10.1: All affected language files be on your site (see the list below)
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v9 and above)


Installation

  1. Click on the download link for your TNG version, shown in the summary in the upper right corner of the page.
  2. Un-zip the downloaded file and you will find a folder: Open it.
  3. Move/copy/FTP the .cfg file and the folder named maternal_paternal_linesXXX (dep. on version) 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.
  5. Note - if you're using the tng.php WordPress-TNG Plugin, you need to "Update the TNG Variables" in the WordPress Admin pane for the TNG Plugin to get this to work correctly.


In the event of a problem


Replacing the default icons/images

The default tab icons and the default images at the Family pages are supposed to show a spinning wheel (Maternal) and a sword (Paternal):

    Tab icons, Family page Maternal image and Paternal image

They are selected because of the Swedish expressions for those lines (translated) that are Spinning side and Sword side. The English expressions are Distaff side and Spear side - Read more here: The Flip Side Of Distaff

If you don't like the images, I provide a set of replacement images:

    Tab icons, Family page Maternal image and Paternal image

Open the folder named maternal_paternal_lines, in which you will find the folder replacement_images.
If you do this prior to installation of the mod: Move the replacement images out of the replacement_images folder and let them replace the images in the outer folder maternal_paternal_lines.
If you do this after installation of the mod: Move the replacement images to the (system root)img/ folder and let them replace the images there.


Custom Text Additions

Note: The config file includes the Danish, Dutch, English, French, German and Swedish language custom text.
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 Only!
Danish, Dutch, French, German and Swedish custom text translations may be changed by editing the respective custom_text.php file.

$text['xerxxSpinnrub'] = "Maternal Line";
$text['xerxxSvardrub'] = "Paternal Line";
$text['xerxxSpinnrub2'] = "Maternal Lines";
$text['xerxxSvardrub2'] = "Paternal Lines";
$text['xerxxEjforaldrar'] = "No parents are registered.";


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
V9.1.1.2
V10.1.0.3
6 July 2015 The Family pages are now "Mobile friendly" (See visualization).
NOTE that all four pages have new code.
V9.1.1.1b
V10.1.0.2b
3 July 2015 When used together with my "Access" mods, data was pushed by the camera-icon outside of the box.
V10.1.0.2 26 Jan 2015 New version for TNG v10.1. Thanks to Ken Roy for assistance.
V9.1.1.1 15 April 2014 If a language file was missing, no error was signalled but no files were copied. Took away all the %fileoptional:% directives to ensure Error.

I also included the Danish translation provided by Mogens C Fenger / Wiki user Mfenger.

V9.1.1.0 14 April 2014 Introduction.


Visualization of this mod

Individ's Paternal Line tree, Admin view (50%) (Yes; it is a test database)
Family's Maternal Line trees, Admin view (50%)
 
Family's Maternal Line trees, Mobile view
 


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. Heavily customized site 9.1.1.2 9.1.1 Swedish, German, English
Our Roy and Boucher Family Ken Roy Very nice addition to TNG charts 10.1.0.2 10.1.0 French, English
De Veenkoloniale Genealogieën Henny Savenije Looks really well. 9.1.1.0 10.0.1 Dutch, French, English and many more.
my family   (no public site) see User:ojay see User:ojay D,(NL),(GB)
Mitchell Familes Online - Sample page Roger Mitchell Very nice addition to the family charts 9.1.1.0 10.0.1 EN.
Nordic Ancestry Mogens C. Fenger Not a public site 9.1.1.0 10.0.1 DA, EN.
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.3 10.1.1 EN, DE
Hooley Family Links Rick Hooley Public Site 10.1.0.2 10.1.1 EN

TNG Modules Impacted

The following TNG Modules are modified, and should be backed up prior to installing this mod:
Make sure you have all of these language files installed

  • genlib.php
  • css/genstyle.css
  • languages/Danish/cust_text.php
  • languages/Danish-UTF8/cust_text.php
  • languages/Dutch/cust_text.php
  • languages/Dutch-UTF8/cust_text.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php
  • languages/French/cust_text.php
  • languages/French-UTF8/cust_text.php
  • languages/German/cust_text.php
  • languages/German-UTF8/cust_text.php
  • languages/Swedish/cust_text.php
  • languages/Swedish-UTF8/cust_text.php

The following modules are added by this mod

  • xerxxFamilyMaternalLine.php
  • xerxxFamilyPaternalLine.php
  • xerxxIndividMaternalLine.php
  • xerxxIndividPaternalLine.php
  • img/xerxx_small_icon_sprites.gif
  • img/xerxxSpinn.gif
  • img/xerxxSverd.gif