Cookies help us deliver our services. By using our services, you agree to our use of cookies.


Jump to: navigation, search

Maternal And Paternal Lines

9,298 bytes added, 22:04, 28 September 2019
Sites using this mod
| ver = 9110
| notes = Note that this mod includes additional languages besides English and requires that you have '''all affected TNG languages folders''' on your site.
| mod_name = Maternal And Paternal Lines
| mod_summary = Adds four new pages to TNG
| mod_last_update = 3 Jul 2017
| mod_validation =
| download_link = for {{Tv91Tv120}} {{Tv110}}<br />[{{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}]<hr/>for {{Tv1010}}<br />[Mediahttps:maternal_paternal_lines_v9//{{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}|]<hr/>{{Tv100}}{{Tv91}}<br />[{{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}]]| download_stats =[ See download statistics]
| mod_author = Erik Hoppe
| mod_url = [[Maternal And Paternal Lines]] (this page)
| mod_support = [httphttps://wwwtng.tngforum.uscommunity/index.php?act=idx /forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons]| mod_contact = [http:| mod_version = for TNG v11.0.0 - v12<br//www> for TNG v10.1.0 - 10.xerxx1.se2<br/mod_support.php My Mod Support]| mod_version = > 2 for TNG v9.1 and abovethrough 10.0.x
| min_TNG_ver = 9.1.1
| max_TNG_ver = 10.0.112+
| TNG_file_list = See [[Maternal_And_Paternal_Lines#TNG_Modules_Impacted|TNG Modules Impacted]]
| related_mods =[[Male and Female Descendant and Parent Ancestor Lines]]| notes =Author of '''[ TNG Colouring Book]'''<br/>Mods by me: [[User:XerxX|At my user page]].
{| style="margin-right:0.5 em;" align="right"
== 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.<br />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.<br />
* 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 [[User:XerxX|Erik Hoppe]]
Credit for the mod also goes to [[File:Oname.gif|bottom|link=User:XXXXX|OTojay]], Jacques Deslauriers and ,[[User:henny|Henny Savenije]] and [[User:Mfenger|Mogens C. Fenger]] for German, French , Dutch and Dutch Danish translations resp. and for the suggestions, testing and <b>'''patience</b> ''' provided by the alpha and beta testers:
* [[File:Oname.gif|bottom|link=User:XXXXX|OTojay]]
* [[User:Klintan-Sweden|Ulf Klinteberg]]
* [[User:henny|Henny Savenije]]
<b>Ken Roy</b> has also been deeply involved in the later versions. Loads of Thanks!
== Mod Conflicts ==
<i><u>The below is added to all involved mods:</u></i><br/>
Of <big><b>my mods</b></big>, some demand a special order to Install and Uninstall. This is one of them.<br/>
Installing / Uninstalling in the wrong order may create chaos at a later stage.<br/>
The mods may signal Okay to Install but nevertheless may not be.<br/><br/>
<b><big>Order to INSTALL:</big></b><br/>
All mods <b>below</b> the one you want to Install, must first be Uninstalled (if you use them).<br/>
See the Uninstall order below. You can Install them after.<br/>
#'''Maternal And Paternal Lines'''
#'''''[[Public Access Control|Public Access Control]]'''''
#'''''[[Forum for TNG|Forum for TNG]]'''''
#'''''[[Fixed Family Tab|Fixed Family Tab]]'''''
<b><big>Order to UNINSTALL:</big></b><br/>
All mods <b>above</b> the one you want to Uninstall, must first be Uninstalled (if you use them).<br/>
You can Install them after. See the Install order above.<br/>
#'''''[[Fixed Family Tab|Fixed Family Tab]]'''''
#'''''[[Forum for TNG|Forum for TNG]]'''''
#'''''[[Public Access Control|Public Access Control]]'''''
#'''Maternal And Paternal Lines'''
Suppose you use the ''[[Scrollbox mod|Scrollbox]]'' and ''[[Fixed Family Tab|Fixed Family Tab]]'' mods.<br/>
Now you want to install ''Maternal And Paternal Lines''.<br/>
As you can see in the ''Install Order'' both the used mods are ''below'' the ''Maternal And Paternal Lines'' mod and therefore you must first Uninstall the mods in the Uninstall order:<br/>
First Uninstall the ''[[Fixed Family Tab|Fixed Family Tab]]'' mod and then the ''[[Scrollbox mod|Scrollbox]]'' mod.<br/>
Now you can install all three mods in the Install order:<br/>
First you Install ''Maternal And Paternal Lines'', second the ''[[Scrollbox mod|Scrollbox]]'' mod and finally ''[[Fixed Family Tab|Fixed Family Tab]]''.
== Requirements ==
{{TNG 9.1.0|and after}}
* A working TNG installation.
* For TNG '''&lt;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 v9and above)* Both '''English''' and '''English-UTF8''' folders be on your site
== Installation ==
# Download Click on the zip file download link for your TNG version, shown in the summary in the upper right corner of the page. # Extract Un-zip the downloaded file and you will find '''a folder with all its contents from : Open it'''.# Move/copy/FTP the downloaded zip '''.cfg''' file into and the folder named '''maternal_paternal_linesXXX''' (dep. on version) to the '''mods''' folder or FTP the extracted file and folder with its contents to of your mods folderTNG system.
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the mod.
# 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.
== After installation ==
'''Empty Your Cache!'''<br/>The mod adds to genstyle.css so it has to be re-loaded for the styles to take effect.<br/>Instructions for how to '''[[Bypassing_Browser_Cache | are found here]]'''
== In the event of a problem ==
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
* Contact me through Replace all affected files with the copies you made before the installation.* [httphttps://www.xerxxtng.secommunity/mod_supportindex.php My Mod Support?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons
== Changing 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):
[[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) that are <b>'''Spinning side</b> ''' and <b>'''Sword side</b>'''.The English expressions are <b>'''Distaff side</b> ''' and <b>'''Spear side</b> ''' - Read more here: [ The Flip Side Of Distaff]
If you don't like the images, I provide you with a set of replacement images:
[[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 <b>'''replacement_images</b>'''.<br />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 <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 ==
'''Note:''' The config file includes the Danish, Dutch, English, French, German and Swedish language custom text.<br />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!'''<br />
'''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['xerxxEjforaldrar'] = "No parents are registered.";
== Customizing Background Colors ==
If you are color-blind and cannot distinquish the direct line from the siblings, you can customize any of the following colors in your template/css/mytngstyle.css
<syntaxhighlight lang="css" enclose="div">
.xerxxline {
background-color: #E9E9FF;
.xerxxspouse {
background-color: #FFFFFF;
.xerxxsibling {
background-color: #E4E4E4;
for example, you could change the direct line to another color
<syntaxhighlight lang="css" enclose="div">
/* override Maternal and Paternal lines colors */
.xerxxline {
background-color: #D9FFB3;
Here is a link to a page that shows 140 colours with hex codes:
[ w3schools - Colornames]
== Uninstalling the mod ==
# click the '''Delete''' button to delete the config file from the mods folder.
 ==Revision History==
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
! Date
! Description
| v11.0.0.2
| 3 Jul 2017
| Fixed Tab icon problems. Thanks to Jim Holt for the alert.
| v11.0.0.1
| 20 Jun 2016
| Fixed a CSS problem for Template 15. Thanks to Jan H. for the alert.
| v11.0.0.0
| 18 March 2016
| Updated for TNG v11.0.0 by '''Ken Roy''' - Thank You!
| v10.1.0.4
| 20 Oct 2015
| The Family pages displayed ugly under TNG v10.1.2 and several templates. (Esp. #12 as reported by Hendrik. Thanks!) Corrected.<br/>Please note that the accompanying file folder is a replacement (rev. named).
| V9.1.1.2<br/>V10.1.0.3
| 6 July 2015
| The Family pages are now "Mobile friendly" (See visualization).<br/>NOTE that all four pages have new code.
| V9.1.1.1b<br/>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.<br />
I also included the Danish translation provided by Mogens C Fenger / Wiki user Mfenger.
| V9.1.1.0
| Introduction.
== Visualization of this mod ==
{| border="0" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
| Individ's Paternal Line tree, Admin view (50%) (Yes; it is a test database)
|[[Image:paternalindivid.jpg|678px|left|Individ Paternal Line tree]]
|[[Image:paternalfamily.jpg|504px|left[Family Maternal Line tree]]
| Family's Maternal Line trees, Mobile view
== Sites using this mod ==
! User-language
| [http Andersson, Hoppe, Sahlin, Thorell]
| [[User:XerxX|Erik Hoppe]]
| Mod author. Heavily customized sitePage only f. logged in users.| 911.10.10.02| 911.1.12| SwedishSE, GermanGB, EnglishDE
| [ Our Roy and Boucher Family]
| [[User:Ken Roy|Ken Roy]]
| Very nice addition to TNG charts
| 12.0.0
| French, English
| [ De Veenkoloniale Genealogieën]
| [[User:henny|Henny Savenije]]
| Looks really well.
| 10.0.1
| Dutch, French, Englishand many more.|-| [ my family]| [[File:Oname.gif|link=User:ojay]]| (no public site)| see [[User:ojay]]| see [[User:ojay]]| D,(NL),(GB) |-| [ Mitchell Familes Online - Sample page]| [[User:HiTowerUK|Roger Mitchell]]| Very nice addition to the family charts || 10.0.1| EN.|-| [ Nordic Ancestry]| [[User:Mfenger|Mogens C. Fenger]]| Not a public site || 10.0.1| DA, EN.|-| [ Brady Family Tree in Western Australia]| [[User:bradyfamilytree|Darryl Brady]]| Public site || 10.1.1| EN, DE|-| [ Hooley Family Links]| [[User:lastejas|Rick Hooley]]| Public/Private| [[User: lastejas|See Here]]| [[User: lastejas|See Here]]| EN|-| [ MOTYER Family Genealogy]| [[User:JMM|John Mark Motyer]]| Public site| [[User:JMM|see here]]| [[User:JMM|see here]]| EN, DE, RU|-| [ Quigley Doyle Family Tree]| [[User:dwqwiz|Don Quigley]]| Public Site|| 10.1.1| EN|-| [ Our Family History]| [[User:torlund|Tor Lund]]| Public Site|| 11.1| NO, EN, DE, FR|-| [ Our Family History]| [[User:JeanPichette|Jean Pichette]]| Public Site| 11.0.0| 11.0.0| EN, FR|-| [ Luithlenfamilie]| [[User:pingo|Ingo Wagner]]| Not a Public site|| 11.1.2| DE, EN, NO, FR|-| [ Roots & Relatives Remembered]| [[User:Tngrlkrz|Ron Krzmarzick]]| Public & Private, modified|| [ See Here]| EN,DE,CS,ES|-| [ roy~royesfamilylinks ]| [[User:unknown|Bruce Roy]]| Public Site|| 11.0.1| EN|-| [ OurFamilyHistory ]| [[User:Paul Barrett|Paul Barrett]]| Public Site|| 11.0.1| EN|-| [ Racine d'Alsace]| [[User:Louis42|J-Louis Valory]]| Public/Private - T17 customized|| 12.0.2| FR|-| [ Joseph Oran Holtz Genealogy Pages]| [[User:Stores|Jim Holt]]| Not a Public Site|| 11.1.1| English|-| [ Bumbery-Wangler]| [[User:Bob|Bumbery]]| Public Site| | 11.1.2| English|-| [ The Grahams of Helensburgh]| [[User:Fruin|Jim Graham]]| Public Site|| 12.0| English|-| [ Martius family]| [[User:Hemar|Hendrik Martius]]| Half public|| 12.0.1| DE, EN, FR, NL|-| [ Journeys in Genealogy]| [[User:PapaTango|Patrick Thrush]]| Public WP/TNG integration|| 12.0.3| English|-| [ Our Family Histories]| [[User:Bsl20b50|Bryan S. Larson]]| Public - T8 customized| [[User:Bsl20b50|see here]]| [[User:Bsl20b50|see here]]| EN
== TNG Modules Impacted ==
The following TNG Modules are modified, and should be backed up prior to installing this mod:<br />'''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
* img/xerxxSverd.gif
[[Category:Mods for TNG v12]]
[[Category:Mods for TNG v11]]
[[Category:Mods for TNG v10]]
[[Category:Mods for TNG v9]]
[[Category:Mods for TNG v10]]
[[Category:genlib.php mods]]
[[Category:genstyle.css mods]]

Navigation menu