Regroup Person-Family Indicators

From TNG_Wiki
Jump to navigation Jump to search
Regroup Person-Family Indicators
Summary Adds graphical indicators next to parents, spouses, and children to popup previews or generate ancestor or descendant charts.
Validation
Mod Updated 23 Sep 2023
Download link v14.0.0.20
TNG 14.0
Download stats
Author(s) Robin Richmond
Homepage this page
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 14.0.0.20
Min TNG V 13.0
Max TNG V 14
Files modified
getperson.php, admin_genconfig.php, admin_updateconfig.php
Related Mods
Notes


Purpose of the Mod

To add useful flags, and popup previews to the Person Profile, and to generate ancestor and descendant charts for parents, spouses, and children.

Family Indicators

Briefly, the "family indicators" added by the mod are triangular arrows adjacent to children, spouses, and parents. In some circumstances, hovering over the arrow generates a popup, and, in most circumstances, clicking on the array generates an ancestor or descendant chart. More specifically:

Parents & Spouses

Up-arrows next to a parent or spouse indicates that that person has ancestors.
Family indicators-parentarrows.jpg

  • Clicking on an arrow generates and ancestor chart.
  • Hovering over the arrow generates a popup preview that shows both parents. (Thus, hovering over the arrow for a parent generates a preview of the profiled person's grandparents, and hovering over the arrow for a spouse generates a preview of the profiled person's parents-in-law.)
    It's not delineated clearly in the preview, but each parents' preview within the popup includes their other marriages (e.g. Mary Wattenbarger's marriage to Gilmore Randolph), and then, at the bottom, you'll see the parents' marriage to each other, with their children.
    Family indicators-parents.jpg

Children

  • Down-arrows next to a child indicate that the child has children
  • Right-arrows indicate that the child had a spouse/partner, but no children.
  • The absence of an arrow indicates that the child never had a spouse or partner.
Family indicators-childindicators.jpg
Hovering over a down-arrow brings up this title text. Family indicators-withchildren.jpg
Hovering over a right-arrow brings up this title text. Family indicators-nochildren.jpg

Mod Options

This mod's options are implemented as custom TNG settings, in a new Mod Settings Block at Admin>>Setup>>General Settings>>, in the subform "Mod Settings Blocks.

  • Whether to show Ancestor indicators
  • URL of the Ancestor chart.
  • URL of the Descendant chart.

Related Mods

  1. The Mod Settings Blocks mod packages this mod's options into what I call a "Mod Settings Block", which is a set of form fields that formatted and labeled so that it stands out among other options in an Admin>>Setting form. Mod Settings Blocks is a prerequisite for this mod; it must be installed before this mod can be installed.
  2. An Inner Mod Menu, which provides handy links from TNG pages directly to mod documentation and a mod's Mods Settings Block. (Inner Mod Menus are visible only to TNG Admins; never to end users.)
  3. The Mods Used feature, which captures a list of mods that affected the code used to display a TNG page. (This is analogous to the Mod Manager Analyzer feature that reports which mods affect a given TNG file, but that applies at run-time.

regroup


Installation

Files Installed

This mod does not install any files, but it does still have a mod subfolder, which contains the mod's language strings. That is, this mod's language strings are not defined in its .cfg file nor copied to cust_text.php files. As a result

  • This mod's language strings are loaded only into the TNG programs that need them, not into all TNG programs, and
  • It is easier to create, edit, test, and save translation for this mod than for mods that use standard cust_text.php strings.

This non-standard technique should be invisible to you unless you want to define a translation or override any of this mod's string values.
Read more about this technique, the simplified translation process, and the procedure for defining site-specific overrides to its language strings.


[Show Standard Installation Process]

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Procedure

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, Extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

Problems?

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.
[Hide Details]


Revision History

Mod Version TNG Version Date Note
v14.0.0.20 14 23 Sep 2023 No update necessary for TNG v14, but dealt with what might be a data glitch
v13.0.0.19a 13 20 Sep 2020 Initial release.

Sites using this mod

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
Robin Richmond's Genealogy Database Robin Richmond Mod developer 14.0.0.20 13.0 English
Baza danych Rodziny Jarocińskich Michał Jarociński non-public site 13.0.0.19a 13.1.2 PL, EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.19a 13.1.2 NL
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN