Difference between revisions of "Fixed Family Tab"

From TNG_Wiki
Jump to navigation Jump to search
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{restricted}}
+
{{restricted}}{{TNGver
{{TNGmod
+
|ver=12.0
 +
|notes=While named v11.1.2.2 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 = 23 Sep 2018
+
| mod_last_update = 6 Jan 2019
| download_link = for {{Tv120}}{{Tv110}}[https://xerxx.se/modSupport/click/click.php?id=155&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Fixed Family Tab v11.1.2.0a]
+
| 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.0a
+
| mod_version    = 11.1.2.2
| 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 115: Line 116:
 
== Requirements ==
 
== Requirements ==
  
{{TNG 11.1.2|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 134: Line 135:
 
* 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 156: Line 157:
 
! Date
 
! Date
 
! Description
 
! Description
 +
|-
 +
| 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
 
| v11.1.2.0a
Line 198: Line 207:
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| Public & Private
 
| Public & Private
| 11.1.2.0a
+
| 11.1.2.1
| 12.0.2
+
| [https://kmtrees.com/modlist_wiki?whichoptions=basic&cachemethod=3&sortby=filename See Here]
 
| EN,DE,CS,ES
 
| EN,DE,CS,ES
 
|-
 
|-
Line 212: Line 221:
 
| [[User:Paultt|Paul Tanner-Tremaine]]
 
| [[User:Paultt|Paul Tanner-Tremaine]]
 
| Public
 
| Public
| 11.1.2
+
| 11.1.2.0
| 12.0.0
+
| 12.1.0
 
| English
 
| 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 227: Line 259:
 
* 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 01:44, 24 May 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 While named v11.1.2.2 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 6 Jan 2019
Download link for
TNG 12.0
Fixed Family Tab v11.1.2.2
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 11.1.2.2
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
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 11.1.2.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)