Difference between revisions of "Fixed Family Tab"

From TNG_Wiki
Jump to navigation Jump to search
 
(81 intermediate revisions by 19 users not shown)
Line 1: Line 1:
{{restricted}}
+
{{SupportNeeded}}{{restricted}}{{TNGver
{{TNGmod
+
|ver=12.0
 +
|notes=Mod version bumped to v12.0.0.1 (and minor syntax correction) by [[User:Tngrlkrz|Ron Krzmarzick]] since this mod uses Mod Manager tags that are only available in TNG v12. Minimum version of TNG that this mod will install on is TNG 12.0 since it uses conditional tags to see if the [[Maternal And Paternal Lines]] and [[Public Access Control]] mods are installed. I removed TNG v11.1.2 from min TNG version. [[User:KenRoy|KenRoy]] ([[User talk:KenRoy|talk]]) 05:11, 11 March 2019 (CDT)--}}{{TNGmod
 
| mod_name        = Fixed Family Tab
 
| mod_name        = Fixed Family Tab
 
| mod_summary    = Fixes the Family Tab
 
| mod_summary    = Fixes the Family Tab
 
| mod_validation  =
 
| mod_validation  =
| mod_last_update = 17 Sep 2018
+
| mod_last_update = 22 Feb 2021
| download_link = for {{Tv120}}{{Tv110}}[https://xerxx.se/modSupport/click/click.php?id=151&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed Family Tab v11.1.2.0]
+
| download_link   = for {{Tv140}}{{Tv1303}}<br/>[https://xerxx.se/click3/click.php?id=18&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed_family_tab_v13.0.3.3a.cfg.zip]<hr/>for {{Tv130}}<br/>[https://xerxx.se/click3/click.php?id=17&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed_family_tab_v13.0.0.3a.cfg.zip]<hr/>for {{Tv1203}}<br/>[https://xerxx.se/click3/click.php?id=16&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed_family_tab_v12.0.0.3a.cfg.zip]
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=22 Downloads]
+
| download_stats = [https://xerxx.se/click3/index.php?action=stats&groupid=8 Downloads]
 
| mod_author      = Erik Hoppe
 
| mod_author      = Erik Hoppe
 
| mod_url        = [[Fixed_Family_Tab]] (this page)
 
| mod_url        = [[Fixed_Family_Tab]] (this page)
| mod_support    = [https://xerxx.se/modSupport/index.php?mod=24 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=24 My Mod Support]
+
| mod_contact    =  
| mod_version    = 11.1.2.0
+
| mod_version    = 12.0.0.3a - 13.0.3.3a
| min_TNG_ver    = 11.1.2
+
| min_TNG_ver    = 12.0.0
| max_TNG_ver    = 12.x
+
| max_TNG_ver    = 14+
 
| TNG_file_list  = See [[FIXED_FAMILY_TAB#TNG_Modules_Impacted|TNG Modules Impacted]]
 
| TNG_file_list  = See [[FIXED_FAMILY_TAB#TNG_Modules_Impacted|TNG Modules Impacted]]
 
| related_mods    =
 
| related_mods    =
Line 20: Line 21:
 
{| style="margin-right:0.5 em;" align="right"  
 
{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
 
|}
 
|}
 
 
== Purpose of the mod ==
 
== Purpose of the mod ==
  
This mod makes the '''Family tab''' stay active after selection, and navigating family pages is done in the '''innermenu''' (like ancestors or descendants pages).<br/>
+
This mod makes <b>all</b> tabs stay active when the <b>Family Tab</b> is selected and navigating family pages is done in the "<b><i>innermenu</i></b>" (like ancestors pages).<br/>
<br/>
+
If the Subject Person<span style='color:red'>*</span> has no family (no spouse and no children), the family pages in the <b>Family Tab</b> pertains to the parents. This does <b>not</b> change the Subject Person<span style='color:red'>*</span>.<br/>
If the subject Person has no family (is not "married"), the family pages pertains to the parents.<br/>
+
If the Subject Person<span style='color:red'>*</span> has more than one family, the family pages in the <b>Family Tab</b> pertains to the first family by default.<br/>
If the subject Person has more than one family, the first one is selected.<br/>
+
Previous families are selected in the <b>Family sections links</b> and are opened in the <b>Family Tab.</b> Reset to the first family by selecting the <b>Individual Tab</b>.<br/>
When family pages are browsed, the '''Suggest/Edit tab''' pertains to the Family while the subject Person is kept for the other tabs.
+
If a new family is selected, the new Subject Person<span style='color:red'>*</span> will be the Husband/Father if possible.<br/>
 
+
When family pages are browsed, the Suggest/Edit tab pertains to the current Family while the Subject Person<span style='color:red'>*</span> is kept for the other tabs.<br/>
 +
<span style='color:red'>*</span> Subject Person = the selected individual.
  
 
== What you sacrifice ==
 
== What you sacrifice ==
  
When you browse a '''''familygroup.php''''' page there may be shortcuts to Media, Notes, Sources in the '''innermenu''':<br/>
+
When you browse a '''''familygroup.php''''' page (Group Sheet) there may be shortcuts to Media, Notes, Sources etc. in the '''innermenu''':<br/>
 
[[File:fftimg4.jpg]]<br/>
 
[[File:fftimg4.jpg]]<br/>
 
Those shortcuts are not present when this mod is installed.
 
Those shortcuts are not present when this mod is installed.
 
  
 
== Visualization of this mod ==
 
== Visualization of this mod ==
  
This mod makes the TNG tab collection consistent with other tab collections:<br/>
+
<p><b>[https://botebygden.se/familychart.php?familyID=F205&personID=I207&tree=bote A live demo is found here (''Wife'' is subj. pers, her 2nd marr.)]</b>
 +
</p>
 +
<p>This mod makes the TNG tab collection consistent with other tab collections on Internet:<br/>
 
Clicking the original '''Family tab''' in TNG<br/>
 
Clicking the original '''Family tab''' in TNG<br/>
 
[[File:fftimg1.jpg]]<br/><br/>
 
[[File:fftimg1.jpg]]<br/><br/>
Line 47: Line 48:
 
[[File:fftimg2.jpg]]<br/><br/>
 
[[File:fftimg2.jpg]]<br/><br/>
 
'''ALL''' your tabs are '''gone''' - and are '''replaced''' by others!
 
'''ALL''' your tabs are '''gone''' - and are '''replaced''' by others!
<p>
+
</p>
A sidenote: The order of the '''Family Chart''' and '''Group Sheet''' tabs are reversed compared to the links at ''getperson.php'':<br/>
+
<p>A sidenote: '''Family Chart''' and '''Group Sheet''' tabs are placed in the reversed order compared to the links at ''getperson.php'':<br/>
[[File:fftimg5.jpg]]<br/>
+
[[File:fftimg5.png]]<br/>
 
This mod corrects that, see below. (Nit-picking - I know ;)
 
This mod corrects that, see below. (Nit-picking - I know ;)
 
</p>
 
</p>
 
<br/>
 
<br/>
<p>
+
<p>After mod install, this is the result of clicking the '''Family tab''':<br/>
After mod install, this is the result of clicking the '''Family tab''':<br/>
 
 
[[File:fftimg3.jpg]]<br/>
 
[[File:fftimg3.jpg]]<br/>
 
All tabs are at their proper places and the ''familychart.php'' is opened (optionally ''familygroup.php'').<br/>
 
All tabs are at their proper places and the ''familychart.php'' is opened (optionally ''familygroup.php'').<br/>
 
The ''familygroup.php'' and ''familychart.php'' (and ''Maternal/Paternal Lines'' mod) pages are selected in the '''innermenu'''.
 
The ''familygroup.php'' and ''familychart.php'' (and ''Maternal/Paternal Lines'' mod) pages are selected in the '''innermenu'''.
 
</p>
 
</p>
 
  
 
== Developer ==
 
== Developer ==
  
This mod was developed by Erik Hoppe.<br/>See all my mods at my '''''[[User:XerxX|Wiki user page]]'''''.
+
This mod was developed by Erik Hoppe who is '''''<span style="color: red">NOT maintaining or developing</span>''''' this mod.<br/>See '''Mod Support''' in the data box top right.<br/>(See all my mods at my '''''[[User:XerxX|Wiki user page]]'''''.)
  
 
== Credits ==
 
== Credits ==
  
 
Credits go to forumuser '''Merv''' for inspiration to make this mod and to '''Ron''' and '''Ken''' for testing, help, suggestions, advice and patience. Thanks!<br/>
 
Credits go to forumuser '''Merv''' for inspiration to make this mod and to '''Ron''' and '''Ken''' for testing, help, suggestions, advice and patience. Thanks!<br/>
 
+
<b>More Cred</b> to '''''Ron''''' and '''''Ken''''' for correcting/updating the mod. Thanks.
  
 
== Mod Conflicts ==
 
== Mod Conflicts ==
  
This mod must be '''''uninstalled while'''''
+
* [[FGW_Tabs_Mod | FGW Tabs Mod]] <b>before</b> v 11.0.0.9
* [[FGW_Tabs_Mod | FGW Tabs Mod]]
+
must be '''''uninstalled while''''' this mod is installed or uninstalled.<br/>
* [[Maternal And Paternal Lines | Maternal And Paternal Lines]]
 
* [[Public Access Control | Public Access Control]]
 
mods are installed or uninstalled.<br/>
 
 
It can be re-installed after.
 
It can be re-installed after.
 +
* Version 12.0.0.2b can't be used with Robin Richmond's mod [[Regroup Person Profile]].<br/>
 +
(Version '''13'''.0.0.2b resolves that conflict from RPP v13.0.0.19e and later)<br/><br/>
 +
* <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|Maternal And Paternal Lines]]
 +
#[[Scrollbox_mod|Scrollbox]]
 +
#[[Public Access Control|Public Access Control]]
 +
#[[Forum for TNG|Forum for TNG]]
 +
#'''Fixed Family Tab'''
 +
<br/>
 +
 +
<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'''
 +
#[[Forum for TNG|Forum for TNG]]
 +
#[[Public Access Control|Public Access Control]]
 +
#[[Scrollbox_mod|Scrollbox]]
 +
#[[Maternal_And_Paternal_Lines|Maternal And Paternal Lines]]
 +
<br/>
 +
<b><big>Example:</big></b><br/>
 +
Suppose you use the ''[[Scrollbox_mod|Scrollbox]]'' and ''Fixed Family Tab'' mods.<br/>
 +
Now you want to install ''[[Maternal And Paternal Lines|Maternal And Paternal Lines]]''.<br/>
 +
As you can see in the ''Install Order'' both the used mods are ''below'' the ''[[Maternal And Paternal Lines|Maternal And Paternal Lines]]'' mod and therefore you must first Uninstall the mods in the Uninstall order:<br/>
 +
First Uninstall the ''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|Maternal And Paternal Lines]]'', second the ''[[Scrollbox_mod|Scrollbox]]'' mod and finally ''Fixed Family Tab''.
  
 
== Requirements ==
 
== Requirements ==
  
{{TNG 11.1|and after}}
+
{{TNG 12.0|and after}}
 
* A working TNG installation.
 
* A working TNG installation.
 
* A backup of all affected files (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 v10)
 
* An installed current version of the [[Mod Manager]] (is already included in TNG v10)
 
  
 
== Installation ==
 
== Installation ==
Line 94: Line 123:
 
# Move/copy/FTP the '''.cfg''' file to the  '''mods''' folder of your TNG system.
 
# Move/copy/FTP the '''.cfg''' file to the  '''mods''' folder of your TNG system.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install the mod.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install the mod.
# If you use the '''Maternal And Paternal Lines''' mod: Remember to '''clear your cache'''!
+
# If you use the '''[[Maternal And Paternal Lines | Maternal And Paternal Lines]]''' mod: Remember to '''clear your cache'''!
 
 
  
 
== In the event of a problem ==
 
== In the event of a problem ==
Line 101: Line 129:
 
* 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=24 My Mod Support]
+
* [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums: TNG Specific - Code Discussion - Addons]
 
 
  
 
== Modmanager Edit Option ==  
 
== Modmanager Edit Option ==  
  
 
* ''familygroup.php'' (Group Sheet) may be used as the Family tab default page.
 
* ''familygroup.php'' (Group Sheet) may be used as the Family tab default page.
 
  
 
== Uninstalling the mod ==
 
== Uninstalling the mod ==
Line 114: Line 140:
 
If  you want to completely '''Remove''' this mod and all its tables, you should also
 
If  you want to completely '''Remove''' this mod and all its tables, you should also
 
* click the '''Delete''' button to delete the config file from the mods folder.
 
* click the '''Delete''' button to delete the config file from the mods folder.
 
  
 
== Revision History ==
 
== Revision History ==
Line 124: Line 149:
 
! Description
 
! Description
 
|-
 
|-
| v11.1.2.0
+
| 13.0.3.3a<br/>13.0.0.3a<br/>12.0.0.3a
 +
| 22 Feb 2021
 +
|
 +
* Wrong ID going from browsemedia.php showing family image to individ page corrected
 +
* 13.0.3.3a for TNG v13.0.3
 +
|-
 +
| 13.0.0.2b<br/>12.0.0.2b
 +
| 29 Nov 2020
 +
|
 +
* Multiple marriages are supported
 +
* The Individual Tab resets the Family and Family Tab to the first family
 +
* No conflict with Robin Richmond's Regroup Person Profile mod v13.0.0.19e (only v13.0.0.2b)
 +
* PHP Notes removed
 +
|-
 +
| 13.0.0.2a
 +
| 22 Sep 2020
 +
| Updated for TNG v13.0 by Ron Krzmarzick - '''''Thanks'' Ron!'''
 +
|-
 +
| 12.0.0.2a
 +
| 29 Jul 2020
 +
| Because of prev update persons w/o parents got themselves as parents... Sorry about that.
 +
|-
 +
| 12.0.0.2
 +
| 24 Jul 2020
 +
| The subject person changed when a tab was clicked in some situations. Cleaned up and re-wrote some code.
 +
|-
 +
| 12.0.0.1
 +
| 29 Jul 2019
 +
| Remove warning from undefined constant. Bumped version to min. required. Ron K.
 +
|-
 +
| 11.1.2.2
 +
| 6 Jan 2019
 +
| Bookmarking of getperson.php was removed. Now back. Thanks to Ron K for the alert.
 +
|-
 +
| 11.1.2.1
 +
| 8 Oct 2018
 +
| The Suggest tab didn't "release" the PersonID properly. Thanks to Ron K for the alert.
 +
|-
 +
| 11.1.2.0a
 +
| 23 Sep 2018
 +
| Small modification: [[Maternal And Paternal Lines|Maternal And Paternal Lines]] mod now shows "Family..." in the innermenu.
 +
|-
 +
| 11.1.2.0
 
| 17 Sep 2018
 
| 17 Sep 2018
 
| Introduction
 
| Introduction
 
|}
 
|}
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
'''As we never have used the ''Family'' tab at our site I can't show this mod live.''' (We will use it when we upgrade to TNG 12)
 
 
 
'''If you download and install this mod, please add your TNG site to the table below:'''
 
'''If you download and install this mod, please add your TNG site to the table below:'''
 +
<p>Regarding my '''Swedish-Only''' site: Using the Google setting ''"English language"'' and then google for the site, I have a '''''"Translate this page"''''' beside the link. If I use it I get a quite decent translation...
 +
</p>
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
Line 144: Line 210:
 
! User-language
 
! User-language
 
|-
 
|-
| [https://xerxx.se/getperson.php?personID=I36&amp;tree=tredNr2 Andersson, Hoppe, Sahlin, Thorell]
+
| <b><i>[https://botebygden.se/getperson.php?personID=I710&tree=bote Botebygden]</i></b> / CD Jansdotter<br/>Swedish only (community research site).
| [[User:XerxX|Erik Hoppe]]
+
| [[User:Larsa52|Lars Ar&eacute;n]]
| Mod author
+
| Open public site: Many of [[User:XerxX|Erik Hoppe]]'s mods on display.
| '''No ''Family'' tab'''
+
| 13.0.3.3a
| 11.1.2
+
| 13.1.2
| SE, GB, DE
+
| SE
 +
|-
 +
| [https://alineofmalkins.com A Line of Malkins in New Zealand]
 +
| [[User:RickM|Rick Malkin]]
 +
| WordPress & TNG integrated. TNG Login required
 +
| 13.0.3.3a
 +
| 13.1.2b
 +
| EN
 +
|-
 +
| [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Ramblings &amp; Genealogy]
 +
| [[User:TheKiwi|Roger Moffat]]
 +
|
 +
| 13.0.3.3a
 +
| 13.0.3
 +
| EN
 
|-
 
|-
 
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| Public & Private
 
| Public & Private
| 11.1.2
+
| [https://www.kmtrees.com/mods-installed See Here]
| 12.0.1
+
| [https://www.kmtrees.com/mods-installed See Here]
| EN,DE,CS,ES
+
| EN,DE,CS
 +
|-
 +
| [http://www.colegenealogy.net/ The Cole / Tanner Family Tree]
 +
| [[User:dlcole|David Cole]]
 +
| Public/Private
 +
| [[User:Dlcole|see here]]
 +
| [[User:Dlcole|see here]]
 +
| EN, DE, FR, ES, NL
 +
|-
 +
| [https://www.1820settlers.com/ British 1820 Settlers to South Africa]
 +
| [[User:Paultt|Paul Tanner-Tremaine]]
 +
| Public
 +
| 11.1.2.0
 +
| 12.1.0
 +
| English
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| [[User:Louis42|J-Louis Valory]]
 +
| Public/Private - T17 personnalisé
 +
| 11.1.2.1
 +
| 12.0.2
 +
| French
 +
|-
 +
| [https://bourdeaux.de Genealogische Datenbank]
 +
| [[User:JPB|JPB]]
 +
| Public site
 +
| [[User:JPB|see here]]
 +
| [[User:JPB|see here]]
 +
| DE, EN, FR
 +
|-
 +
| [https://www.barta-joggele.li Barta-Joggele Online aus Mauren, Liechtenstein]
 +
| [[User:Geraldomeier|Gerald Meier]]
 +
| Private
 +
| 12.0.0.2a
 +
| 12.3
 +
| DE, EN, FR, ES, PT
 +
|-
 +
| [http://jarocinscy.pl/drzewo/index.php Baza danych Rodziny Jarocińskich]
 +
| [[User:Mjaro|Michał Jarociński]]
 +
| non-public site
 +
| 13.0.3.3a
 +
| 13.0.3
 +
| PL, EN
 +
|-
 +
| [https://scealta.nl/ Scealta]
 +
| Ton van Lil
 +
| Public/Private
 +
| 13.0.3.3a
 +
| 14.0
 +
| NL, EN
 +
|-
 +
| [https://cferrero.net/tng Johnson / Bryans Family Tree]
 +
| [[User:Cferrero|Charlie Ferrero]]
 +
| Public
 +
| 13.0.3.3a
 +
| 13.1
 +
|EN
 +
|-
 +
| [https://ourimmigrantancestors.com/ Our Immigrant Ancestors]
 +
| Jim Larson
 +
| Private
 +
| 13.0.3.3a
 +
| 14.0.4
 +
| EN, NO
 +
|-
 +
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 +
| [[User:Stores|Jim Holt]]
 +
| Private
 +
| [[User:Stores|See Here]]
 +
| [[User:Stores|See Here]]
 +
| EN
 +
|-
 +
|[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel]
 +
|[https://tng.lythgoes.net/wiki/index.php/User:Fluffy82 Tom Huygens]
 +
|Public/Private on WordPress
 +
|13.0.3.3a
 +
|13.1.2
 +
|NL
 +
|-
 +
|[https://slekt.solem.info Solem Genealogy]
 +
|[[User:JTS|Jan-Thore Solem]]
 +
|Private
 +
|13​.0​.3​.3a
 +
|14.0.2
 +
|EN, NO
 +
|- style="vertical-align:top;"
 +
| [https://datschetzky.genealogenstammtisch.net Stammbaum der Familie Datschetzky]
 +
| style="white-space: nowrap;"|[[User:ChristianD|Christian Datschetzky]]
 +
| Public
 +
| 13.0.3.3a
 +
| 14.0.3
 +
| DE, EN
 
|}
 
|}
  
Line 163: Line 334:
 
The following TNG Modules are modified, and should be backed up prior to installing this mod:<br />
 
The following TNG Modules are modified, and should be backed up prior to installing this mod:<br />
 
* getperson.php
 
* getperson.php
 +
* showmedia.php
 +
* suggest.php
 
* genlib.php
 
* genlib.php
 
* familygroup.php
 
* familygroup.php
Line 169: Line 342:
 
* xerxxFamilyPaternalLine.php (if ''Maternal And Paternal Lines'' mod is installed)
 
* xerxxFamilyPaternalLine.php (if ''Maternal And Paternal Lines'' mod is installed)
  
[[Category:Mods for TNG v11]]
+
[[Category:Mods for TNG v14]]
 +
[[Category:Mods for TNG v13]]
 
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v12]]
 
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
 +
[[Category:showmedia.php mods]]
 +
[[Category:suggest.php mods]]
 
[[Category:genlib.php mods]]
 
[[Category:genlib.php mods]]
 
[[Category:familygroup.php mods]]
 
[[Category:familygroup.php mods]]
 
[[Category:familychart.php mods]]
 
[[Category:familychart.php mods]]

Latest revision as of 12:18, 17 March 2024

NeedSupport The mod Fixed Family Tab needs a new support person since the original mod developer or subsequent developers are no longer available to support the mod NeedSupport


Restricted Downloads of Fixed Family Tab 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


Ambox notice.png Mod version bumped to v12.0.0.1 (and minor syntax correction) by Ron Krzmarzick since this mod uses Mod Manager tags that are only available in TNG v12. Minimum version of TNG that this mod will install on is TNG 12.0 since it uses conditional tags to see if the Maternal And Paternal Lines and Public Access Control mods are installed. I removed TNG v11.1.2 from min TNG version. KenRoy (talk) 05:11, 11 March 2019 (CDT)--
TNG 12.0


Fixed Family Tab
Summary Fixes the Family Tab
Validation
Mod Updated 22 Feb 2021
Download link for
TNG 14.0
TNG 13.0.3

Fixed_family_tab_v13.0.3.3a.cfg.zip
for
TNG 13.0

Fixed_family_tab_v13.0.0.3a.cfg.zip
for
TNG 12.0.3

Fixed_family_tab_v12.0.0.3a.cfg.zip
Download stats Downloads
Author(s) Erik Hoppe
Homepage Fixed_Family_Tab (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 12.0.0.3a - 13.0.3.3a
Min TNG V 12.0.0
Max TNG V 14+
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


Purpose of the mod

This mod makes all tabs stay active when the Family Tab is selected and navigating family pages is done in the "innermenu" (like ancestors pages).
If the Subject Person* has no family (no spouse and no children), the family pages in the Family Tab pertains to the parents. This does not change the Subject Person*.
If the Subject Person* has more than one family, the family pages in the Family Tab pertains to the first family by default.
Previous families are selected in the Family sections links and are opened in the Family Tab. Reset to the first family by selecting the Individual Tab.
If a new family is selected, the new Subject Person* will be the Husband/Father if possible.
When family pages are browsed, the Suggest/Edit tab pertains to the current Family while the Subject Person* is kept for the other tabs.
* Subject Person = the selected individual.

What you sacrifice

When you browse a familygroup.php page (Group Sheet) there may be shortcuts to Media, Notes, Sources etc. in the innermenu:
Fftimg4.jpg
Those shortcuts are not present when this mod is installed.

Visualization of this mod

A live demo is found here (Wife is subj. pers, her 2nd marr.)

This mod makes the TNG tab collection consistent with other tab collections on Internet:
Clicking the original Family tab in TNG
Fftimg1.jpg

and DANG! This happens:
Fftimg2.jpg

ALL your tabs are gone - and are replaced by others!

A sidenote: Family Chart and Group Sheet tabs are placed in the reversed order compared to the links at getperson.php:
Fftimg5.png
This mod corrects that, see below. (Nit-picking - I know ;)


After mod install, this is the result of clicking the Family tab:
Fftimg3.jpg
All tabs are at their proper places and the familychart.php is opened (optionally familygroup.php).
The familygroup.php and familychart.php (and Maternal/Paternal Lines mod) pages are selected in the innermenu.

Developer

This mod was developed by Erik Hoppe who is NOT maintaining or developing this mod.
See Mod Support in the data box top right.
(See all my mods at my Wiki user page.)

Credits

Credits go to forumuser Merv for inspiration to make this mod and to Ron and Ken for testing, help, suggestions, advice and patience. Thanks!
More Cred to Ron and Ken for correcting/updating the mod. Thanks.

Mod Conflicts

must be uninstalled while this mod is installed or uninstalled.
It can be re-installed after.

(Version 13.0.0.2b resolves that conflict from RPP v13.0.0.19e and later)

  • The below is added to all involved mods:

Of my mods, some demand a special order to Install and Uninstall. This is one of them.
Installing / Uninstalling in the wrong order may create chaos at a later stage.
The mods may signal Okay to Install but nevertheless may not be.

Order to INSTALL:

All mods below the one you want to Install, must first be Uninstalled (if you use them).
See the Uninstall order below. You can Install them after.

  1. Maternal And Paternal Lines
  2. Scrollbox
  3. Public Access Control
  4. Forum for TNG
  5. Fixed Family Tab


Order to UNINSTALL:
All mods above the one you want to Uninstall, must first be Uninstalled (if you use them).
You can Install them after. See the Install order above.

  1. Fixed Family Tab
  2. Forum for TNG
  3. Public Access Control
  4. Scrollbox
  5. Maternal And Paternal Lines


Example:
Suppose you use the Scrollbox and Fixed Family Tab mods.
Now you want to install Maternal And Paternal Lines.
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:
First Uninstall the Fixed Family Tab mod and then the Scrollbox mod.
Now you can install all three mods in the Install order:
First you Install Maternal And Paternal Lines, second the Scrollbox mod and finally Fixed Family Tab.

Requirements

TNG version: 12.0.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 v10)

Installation

  1. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file.
  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.
  5. If you use the Maternal And Paternal Lines mod: Remember to clear your cache!

In the event of a problem

Modmanager Edit Option

  • familygroup.php (Group Sheet) may be used as the Family tab default page.

Uninstalling the mod

Click the Uninstall button.
If you want to completely Remove this mod and all its tables, you should also

  • click the Delete button to delete the config file from the mods folder.

Revision History

Version Date Description
13.0.3.3a
13.0.0.3a
12.0.0.3a
22 Feb 2021
  • Wrong ID going from browsemedia.php showing family image to individ page corrected
  • 13.0.3.3a for TNG v13.0.3
13.0.0.2b
12.0.0.2b
29 Nov 2020
  • Multiple marriages are supported
  • The Individual Tab resets the Family and Family Tab to the first family
  • No conflict with Robin Richmond's Regroup Person Profile mod v13.0.0.19e (only v13.0.0.2b)
  • PHP Notes removed
13.0.0.2a 22 Sep 2020 Updated for TNG v13.0 by Ron Krzmarzick - Thanks Ron!
12.0.0.2a 29 Jul 2020 Because of prev update persons w/o parents got themselves as parents... Sorry about that.
12.0.0.2 24 Jul 2020 The subject person changed when a tab was clicked in some situations. Cleaned up and re-wrote some code.
12.0.0.1 29 Jul 2019 Remove warning from undefined constant. Bumped version to min. required. Ron K.
11.1.2.2 6 Jan 2019 Bookmarking of getperson.php was removed. Now back. Thanks to Ron K for the alert.
11.1.2.1 8 Oct 2018 The Suggest tab didn't "release" the PersonID properly. Thanks to Ron K for the alert.
11.1.2.0a 23 Sep 2018 Small modification: Maternal And Paternal Lines mod now shows "Family..." in the innermenu.
11.1.2.0 17 Sep 2018 Introduction

Sites using this mod

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

Regarding my Swedish-Only site: Using the Google setting "English language" and then google for the site, I have a "Translate this page" beside the link. If I use it I get a quite decent translation...

URL User Note Mod-Version TNG-Version User-language
Botebygden / CD Jansdotter
Swedish only (community research site).
Lars Arén Open public site: Many of Erik Hoppe's mods on display. 13.0.3.3a 13.1.2 SE
A Line of Malkins in New Zealand Rick Malkin WordPress & TNG integrated. TNG Login required 13.0.3.3a 13.1.2b EN
Roger's Ramblings & Genealogy Roger Moffat 13.0.3.3a 13.0.3 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
The Cole / Tanner Family Tree David Cole Public/Private see here see here EN, DE, FR, ES, NL
British 1820 Settlers to South Africa Paul Tanner-Tremaine Public 11.1.2.0 12.1.0 English
Racine d'Alsace J-Louis Valory Public/Private - T17 personnalisé 11.1.2.1 12.0.2 French
Genealogische Datenbank JPB Public site see here see here DE, EN, FR
Barta-Joggele Online aus Mauren, Liechtenstein Gerald Meier Private 12.0.0.2a 12.3 DE, EN, FR, ES, PT
Baza danych Rodziny Jarocińskich Michał Jarociński non-public site 13.0.3.3a 13.0.3 PL, EN
Scealta Ton van Lil Public/Private 13.0.3.3a 14.0 NL, EN
Johnson / Bryans Family Tree Charlie Ferrero Public 13.0.3.3a 13.1 EN
Our Immigrant Ancestors Jim Larson Private 13.0.3.3a 14.0.4 EN, NO
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.3.3a 13.1.2 NL
Solem Genealogy Jan-Thore Solem Private 13​.0​.3​.3a 14.0.2 EN, NO
Stammbaum der Familie Datschetzky Christian Datschetzky Public 13.0.3.3a 14.0.3 DE, EN

TNG Modules Impacted

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

  • getperson.php
  • showmedia.php
  • suggest.php
  • genlib.php
  • familygroup.php
  • familychart.php
  • xerxxFamilyMaternalLine.php (if Maternal And Paternal Lines mod is installed)
  • xerxxFamilyPaternalLine.php (if Maternal And Paternal Lines mod is installed)