Difference between revisions of "Maternal And Paternal Lines"

From TNG_Wiki
Jump to navigation Jump to search
(updated download link)
Line 45: Line 45:
 
{{TNG 9.1.0|and after}}
 
{{TNG 9.1.0|and after}}
 
* A working TNG installation.
 
* A working TNG installation.
* A backup of all affected files (see the list in the summary in the upper right corner of the page)
+
* A backup of all affected files (see the list below)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v9)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v9)
 
* Both '''English''' and '''English-UTF8''' folders be on your site
 
* Both '''English''' and '''English-UTF8''' folders be on your site
Line 62: Line 62:
 
== Changing the default icons/images ==
 
== Changing the default icons/images ==
  
The default tab icons and the default images at the Family page are supposed to show a spinning wheel (Maternal) and a sword (Paternal):
+
The default tab icons and the default images at the Family pages are supposed to show a spinning wheel (Maternal) and a sword (Paternal):
  
 
[[Image:tabiconsA.jpg|13px|left|Tabs icons]] [[Image:xerxxSpinnA.jpg|36px||Family Maternal image]] [[Image:xerxxSverdA.jpg|36px||Family Paternal image]] Tab icons, Family page Maternal image and Paternal image
 
[[Image:tabiconsA.jpg|13px|left|Tabs icons]] [[Image:xerxxSpinnA.jpg|36px||Family Maternal image]] [[Image:xerxxSverdA.jpg|36px||Family Paternal image]] Tab icons, Family page Maternal image and Paternal image
  
They are selected because of the Swedish expressions for those lines (translated): Spinning side and Sword side.
+
They are selected because of the Swedish expressions for those lines (translated) that are <b>Spinning side</b> and <b>Sword side</b>.
The correct English expressions are Distaff side and Spear side: [http://www.grammarphobia.com/blog/2008/04/the-flip-side-of-distaff.html The Flip Side Of Distaff]
+
The English expressions are <b>Distaff side</b> and <b>Spear side</b> - Read more here: [http://www.grammarphobia.com/blog/2008/04/the-flip-side-of-distaff.html The Flip Side Of Distaff]
  
 
If you don't like the images, I provide you with a set of replacement images:
 
If you don't like the images, I provide you with a set of replacement images:
Line 73: Line 73:
 
[[Image:tabiconsB.jpg|13px|left|Tabs icons]]  [[Image:xerxxSpinnB.jpg|36px||Family Maternal image]]  [[Image:xerxxSverdB.jpg|36px||Family Paternal image]] Tab icons, Family  page Maternal image and Paternal image
 
[[Image:tabiconsB.jpg|13px|left|Tabs icons]]  [[Image:xerxxSpinnB.jpg|36px||Family Maternal image]]  [[Image:xerxxSverdB.jpg|36px||Family Paternal image]] 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.
+
Open the folder named maternal_paternal_lines, in which you will find the folder <b>replacement_images</b>.<br />
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 <b>prior</b> 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.<br />
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.
+
If you do this <b>after</b> installation of the mod: Move the replacement images to the (system root)img/ folder and let them replace the images there.
  
 
== Custom Text Additions ==  
 
== Custom Text Additions ==  

Revision as of 06:27, 14 April 2014

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

maternal_paternal_lines_v9.1.1.0.zip
Download stats
Author(s) Erik Hoppe
Homepage Maternal And Paternal Lines (this page)
Mod Support TNG Forums
Contact Developer My Mod Support
Latest Mod 9.1.1.0 for TNG v9.1 and above
Min TNG V 9.1.1
Max TNG V 10.0.1
Files modified
Related Mods
Notes



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 OT, Jacques Deslauriers and Henny Savenije for German, French and Dutch 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.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v9)
  • Both English and English-UTF8 folders be on your site

Installation

  1. Download the zip file shown in the summary in the upper right corner of the page.
  2. Extract the file and folder with all its contents from the downloaded zip file into the mods folder or FTP the extracted file and folder with its contents to your mods folder.
  3. 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

Changing 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):

Tabs icons

Family Maternal image Family Paternal image 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 you with a set of replacement images:

Tabs icons

Family Maternal image Family Paternal image 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 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!
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.0 14 April 2014 Introduction.

Visualization of this mod

Individ's Paternal Line tree, Admin view (50%)
Individ Paternal Line tree
Family's Maternal Line trees, Admin view (50%)
left[Family Maternal Line tree

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.0 Swedish, German, English

TNG Modules Impacted

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

  • genlib.php
  • css/genstyle.css
  • css/mytngstyle.css
  • 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