Fixed Family Tab

From TNG_Wiki
Jump to: navigation, search
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


Fixed Family Tab
Summary Fixes the Family Tab
Validation
Mod Updated 9 Oct 2018
Download link for
TNG 12.0
TNG 11.0
Fixed Family Tab v11.1.2.1
Download stats Downloads
Author(s) Erik Hoppe
Homepage Fixed_Family_Tab (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod 11.1.2.1
Min TNG V 11.1.2
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: 11.1.2
  • 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
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 11.1.2.1 12.0.2 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 12.0.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

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)