Difference between revisions of "Fixed Family Tab"

From TNG_Wiki
Jump to navigation Jump to search
(Added explanation)
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{restricted}}
+
{{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 = 29 July 2019
| 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{{Tv120}}<br />[[Media:fixed_family_tab_v12.0.0.1.zip|Fixed Family Tab v12.0.0.1]]<hr />
 +
<!--  Corrected mod above for syntax error
 +
Download_link = for {{Tv120}}[https://xerxx.se/modSupport/click/click.php?id=175&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed Family Tab v11.1.2.2]
 
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=22 Downloads]
 
| download_stats = [https://xerxx.se/modSupport/click/index.php?action=stats&groupid=22 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.1
| min_TNG_ver    = 11.1.2
+
| min_TNG_ver    = 12.0.0
 
| max_TNG_ver    = 12.x
 
| max_TNG_ver    = 12.x
 
| 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]]
Line 27: Line 31:
 
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 the '''Family tab''' stay active after selection, and navigating family pages is done in the '''innermenu''' (like ancestors or descendants pages).<br/>
 
<br/>
 
<br/>
If the subject Person has no family (is not "married"), the family pages pertains to the parents.<br/>
+
If the subject Person has no family (is not "married"), the family pages pertain to the parents.<br/>
If the subject Person has more than one family, the first one is selected.<br/>
+
If the subject Person has more than one family, the first family is selected.<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 by the ''Group Sheet'' or ''Family Chart'' links for f.ex. parent's family, the new subject Person will be the Husband/Father if possible.<br/>
 +
When family pages are browsed, the '''Suggest/Edit tab''' and '''PDF innermenu link''' pertain to the Family while the subject Person is kept for the other tabs.
  
  
 
== 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.
Line 41: Line 46:
 
== Visualization of this mod ==
 
== Visualization of this mod ==
  
This mod makes the TNG tab collection consistent with other tab collections:<br/>
+
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 52:
 
[[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!
 +
<br/><br/>
 
<p>
 
<p>
A sidenote: The order of the '''Family Chart''' and '''Group Sheet''' tabs are reversed compared to the links at ''getperson.php'':<br/>
+
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>
Line 72: Line 78:
 
== Mod Conflicts ==
 
== Mod Conflicts ==
  
This mod must be '''''uninstalled while'''''
+
* [[FGW_Tabs_Mod | FGW Tabs Mod]] <b>before</b> v 11.0.0.9
* [[Maternal And Paternal Lines | Maternal And Paternal Lines]]
+
must be '''''uninstalled while''''' this mod is installed or uninstalled.<br/>
* [[Public Access Control | Public Access Control]]
 
mods are installed or uninstalled.<br/>
 
 
It can be re-installed after.
 
It can be re-installed after.
 +
<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)
Line 93: Line 131:
 
# 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'''!
  
  
Line 100: Line 138:
 
* 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]
  
  
Line 122: Line 160:
 
! Date
 
! Date
 
! Description
 
! Description
 +
|-
 +
| v12.0.0.1
 +
| 29 Jul 2019
 +
| Remove warning from undefined constant. Bumped version to min. required. Ron K.
 +
|-
 +
| v11.1.2.2
 +
| 6 Jan 2019
 +
| Bookmarking of getperson.php was removed. Now back. Thanks to Ron K for the alert.
 +
|-
 +
| v11.1.2.1
 +
| 8 Oct 2018
 +
| The Suggest tab didn't "release" the PersonID properly. Thanks to Ron K for the alert.
 +
|-
 +
| v11.1.2.0a
 +
| 23 Sep 2018
 +
| Small modification: [[Maternal And Paternal Lines|Maternal And Paternal Lines]] mod now shows "Family..." in the innermenu.
 
|-
 
|-
 
| v11.1.2.0
 
| v11.1.2.0
Line 127: Line 181:
 
| Introduction
 
| Introduction
 
|}
 
|}
 
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 149: Line 202:
 
| 11.1.2
 
| 11.1.2
 
| SE, GB, DE
 
| SE, GB, DE
 +
|-
 +
| [http://lisaandroger.com/genealogy/getperson.php?personID=I16&tree=Roger Roger's Ramblings &amp; Genealogy]
 +
| [[User:TheKiwi|Roger Moffat]]
 +
|
 +
| 11.1.2.0
 +
| 12.0.1
 +
| EN
 +
|-
 +
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 +
| [[User:Tngrlkrz|Ron Krzmarzick]]
 +
| Public & Private
 +
| 12.0.0.1
 +
| [https://kmtrees.com/modlist_wiki?whichoptions=basic&cachemethod=3&sortby=filename See Here]
 +
| EN,DE,CS,ES
 +
|-
 +
| [http://colegenealogy.dynu.net/ Cole / Tanner Family Tree]
 +
| [[User:dlcole|David Cole]]
 +
| Public/Private
 +
| [[User:Dlcole|see here]]
 +
| [[User:Dlcole|see here]]
 +
| English
 +
|-
 +
| [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
 +
|-
 +
| [[User:JPB|Current info on my user site]]
 +
| [[User:JPB|JPB]]
 +
| Public site
 +
| ...
 +
| ...
 +
| DE, EN, FR
 +
|-
 +
|-
 +
| [https://www.barta-joggele.li Barta-Joggele Online aus Mauren, Liechtenstein]
 +
| [[User:Geraldomeier|Gerald Meier]]
 +
| Private
 +
| 11.1.2.2
 +
| 12.1
 +
| DE, EN, FR, ES, PT
 +
|-
 
|}
 
|}
  
Line 161: Line 265:
 
* 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 v12]]
 
[[Category:Mods for TNG v12]]
  

Revision as of 14:57, 29 July 2019

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 29 July 2019
Download link ‎for
TNG 12.0

Fixed Family Tab v12.0.0.1
Download stats {{{download_stats}}}
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.1
Min TNG V 12.0.0
Max TNG V 12.x
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.


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).

If the subject Person has no family (is not "married"), the family pages pertain to the parents.
If the subject Person has more than one family, the first family is selected.
If a new family is selected by the Group Sheet or Family Chart links for f.ex. parent's family, the new subject Person will be the Husband/Father if possible.
When family pages are browsed, the Suggest/Edit tab and PDF innermenu link pertain to the Family while the subject Person is kept for the other tabs.


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

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.
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!


Mod Conflicts

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

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
v12.0.0.1 29 Jul 2019 Remove warning from undefined constant. Bumped version to min. required. Ron K.
v11.1.2.2 6 Jan 2019 Bookmarking of getperson.php was removed. Now back. Thanks to Ron K for the alert.
v11.1.2.1 8 Oct 2018 The Suggest tab didn't "release" the PersonID properly. Thanks to Ron K for the alert.
v11.1.2.0a 23 Sep 2018 Small modification: Maternal And Paternal Lines mod now shows "Family..." in the innermenu.
v11.1.2.0 17 Sep 2018 Introduction

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:

URL User Note Mod-Version TNG-Version User-language
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author No Family tab 11.1.2 SE, GB, DE
Roger's Ramblings & Genealogy Roger Moffat 11.1.2.0 12.0.1 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private 12.0.0.1 See Here EN,DE,CS,ES
Cole / Tanner Family Tree David Cole Public/Private see here see here English
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
Current info on my user site JPB Public site ... ... DE, EN, FR
Barta-Joggele Online aus Mauren, Liechtenstein Gerald Meier Private 11.1.2.2 12.1 DE, EN, FR, ES, PT

TNG Modules Impacted

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

  • getperson.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)