Difference between revisions of "Regroup Person-Child2Parent"

From TNG_Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|  mod_summary    = On the Person Profile page (getperson.php), suppresses natural relationships between child and parent.
 
|  mod_summary    = On the Person Profile page (getperson.php), suppresses natural relationships between child and parent.
 
| mod_validation  =
 
| mod_validation  =
| mod_last_update = 31 May 2020
+
| mod_last_update = 5 Jun 2020
 
| download_link  =  [[Media:regroup_person-child2parent_v12.0.0.19.zip|v12.0.0.19]]{{Tv120}}
 
| download_link  =  [[Media:regroup_person-child2parent_v12.0.0.19.zip|v12.0.0.19]]{{Tv120}}
 
<div class='font-size:90%;'>See the [[#Revision_History|Revision History]] for older versions</div>
 
<div class='font-size:90%;'>See the [[#Revision_History|Revision History]] for older versions</div>
Line 15: Line 15:
 
| max_TNG_ver    = 12.3
 
| max_TNG_ver    = 12.3
 
|  TNG_file_list  = getperson.php, admin_genconfig.php, admin_updateconfig.php;<br>'''May Install''' rrshared_modsettingsblocks4.php, rrshared_wikilogo.gif
 
|  TNG_file_list  = getperson.php, admin_genconfig.php, admin_updateconfig.php;<br>'''May Install''' rrshared_modsettingsblocks4.php, rrshared_wikilogo.gif
| related_mods  = [[Inner Mod Menus]], [[Regroup Person Profile]] family of mods
+
| related_mods  = [[Inner Mod Menus|Inner Mod Menus v2+]]
| notes    =  This mod can work independently of the other mods in the Regroup Person family.
+
| notes    =  This mod can be used independently of the other mods in the Regroup Person family.
 
}}
 
}}
 
== Purpose of the Mod ==
 
== Purpose of the Mod ==
Line 31: Line 31:
  
 
==Related Mods==
 
==Related Mods==
* [[Inner Mod Menus]], which displays an "Inner Mod Menu" in the TNG "inner menu" (just below the tab menu). The Inner Mod Menu is ''defined by'' this mod but is visible only if '''[[Inner Mod Menus]]''' is installed.
+
* '''[[Inner Mod Menus|Inner Mod Menus v2+]]''', which displays an "Inner Mod Menu" in the TNG "inner menu" (just below the tab menu). Inner Mod Menus are visible only to administrators. The Inner Mod Menu is ''defined by'' this mod but is visible only if [[Inner Mod Menus]] is installed. [[Inner Mod Menus]] ''is not required'' but I highly recommend it.
* [[Show Mod Names]], which displays information saved by this mod.  But [[Show Mod Names]] ''is not required''.
+
* '''[[Show Mod Names]]''', which displays information saved by this mod.  But [[Show Mod Names]] ''is not required''.
 
* The "Regroup Person" family of mods that were written by Robin Richmond and that affect the Person Profile. All of these mods can be installed independently of the other mods in the family.
 
* The "Regroup Person" family of mods that were written by Robin Richmond and that affect the Person Profile. All of these mods can be installed independently of the other mods in the family.
 
<div class="mw-collapsible mw-customtoggle-rpfamily1 mw-customtoggle-rpfamily2" id='mw-customcollapsible-rpfamily1' style="text-decoration:underline;color:#0645ad;">&#91;Show the family members&#93;</div>
 
<div class="mw-collapsible mw-customtoggle-rpfamily1 mw-customtoggle-rpfamily2" id='mw-customcollapsible-rpfamily1' style="text-decoration:underline;color:#0645ad;">&#91;Show the family members&#93;</div>
Line 63: Line 63:
 
Note that the "Relationship" events are omitted.
 
Note that the "Relationship" events are omitted.
 
| [[Image:regroup_person-parent_rel-after.png]]
 
| [[Image:regroup_person-parent_rel-after.png]]
 +
 +
|-
 +
| colspan="2" | '''The Inner Mod Menu'''
 +
This illustrates the Inner Mod Menu in the Person Profile, on a site where four mods that define Inner Mod Menus have been installed. The Regroup Person-Child2Parent entry in the menu contains
 +
# A link to the TNG Wiki article (through the Wiki logo)
 +
# A link to the "Mod Options" section of that Wiki article
 +
# A link that pops up a brief description of what the mod did to the page.  That popup is shown in the screenshot
 +
|-
 +
| colspan="2" | [[Image:child2parent-innermodmenu.jpg]]
 +
 +
|-
 +
| colspan="2" | '''The Mod Settings Block'''
 +
This mod's options are in a new subform named "Robin's Mods" at Admin>>Setup>>General&nbsp;Settings, along with mod other mod options block.  When you link directly to the mod options block (e.g. from the Inner Mod Menu or the Mod Manager "Edit Options" page), the subform opens automatically, and only the targeted mod settings block opens. Then, if you click on the triangular arrow next to the subform label, the rest of the mod options block will be shown.
 +
|-
 +
| colspan="2" | [[Image:child2parent-modsettingsblock.jpg]]
 
|}
 
|}
  

Latest revision as of 13:29, 5 June 2020

Regroup Person-Parent Rel
Summary On the Person Profile page (getperson.php), suppresses natural relationships between child and parent.
Validation
Mod Updated 5 Jun 2020
Download link v12.0.0.19
TNG 12.0
See the Revision History for older versions
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod v12.0.0.19
Min TNG V 10.1
Max TNG V 12.3
Files modified
getperson.php, admin_genconfig.php, admin_updateconfig.php;
May Install rrshared_modsettingsblocks4.php, rrshared_wikilogo.gif
Related Mods
Notes
This mod can be used independently of the other mods in the Regroup Person family.


Purpose of the Mod

Make the Person Profile a little more succinct by suppressing the display of the parent/child relations such as 'natural' that can ordinarily be assumed.

Mod Options

A mod option lets TNG admins define a set of relation values such as "natural" & "birth", and/or those values in other lanuagues.

Mod Conflicts

There are so many small mods that affect the Person Profile that I haven't tested them all against this mod. But this is a small mod, and I haven't seen any conflicts yet. It is definitely compatible with other mods in the Regroup Person* family. If you encounter a conflict and want this functionality, please send me a screen shot of the Mod Manager page showing the locations that conflict.

Related Mods

  • Inner Mod Menus v2+, which displays an "Inner Mod Menu" in the TNG "inner menu" (just below the tab menu). Inner Mod Menus are visible only to administrators. The Inner Mod Menu is defined by this mod but is visible only if Inner Mod Menus is installed. Inner Mod Menus is not required but I highly recommend it.
  • Show Mod Names, which displays information saved by this mod. But Show Mod Names is not required.
  • The "Regroup Person" family of mods that were written by Robin Richmond and that affect the Person Profile. All of these mods can be installed independently of the other mods in the family.
[Show the family members]

The "Regroup Person" family of mods:

  1. Regroup Person Profile - The daddy in the family (and my first mod). It rearranges the data in the Person Profile, and adds features (some optional) such as siblings. more easy-to-read recordIDs relative's data, and the ability to control the formatting of dates and places.
  2. Regroup Person-Branch Members - Makes each of the profiled person's branch names a hyperlink to a list of branch members, and, in some cases, to a list of branch members.
  3. Regroup Person-Child2Parent (this mod) - Hides "natural" or "birth" relationships between the person and the parents.
  4. Regroup Person-Date Place - Combines event date, place, and description into one table cell, and coordinates with Regroup Person Profile to share an Inner Menu button that affects white space in the Person Profile.
  5. Regroup Person-Family Indicators - Based on Jeff Robison's Family Indicators mod, this mod adds flags to parents & spouses that (1) pop-up a preview of both parents and that link to an ancestor chart, and adds flags to children and spouses that list the number of marriages that person had, and that link to a descendant chart.
  6. Regroup Person-Hide Branches - Hides branch names from end-users.
  7. Regroup Person-Move Media - Moves the media files above the map
  8. Regroup Person-No Living Data - Suppresses display of ANY data about a living or private person the user doesn't have rights to. By default, TNG will show some data, plus spouses, parents, and children.
  9. Regroup Person-Sources - Allows source and citation data to be hidden for brevity, but displayed as desired.
[Hide the list of mods]

Installation

This mod is packaged with the typical mod subfolder that has the same name as the mod's base filename. But the folder does not contain any files that are installed by the mod. It contains the mod's language strings, in files under the subfolder languages/. That is, this mod does not copy its language strings into the standard cust_text.php files. Instead, the programs installed or modified by the mod load the strings directly from the language files in the mod subfolder. Read more about this technique
[Show Installation Details]

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]

Visualizations

BEFORE: Regroup person-parent rel-before.png
AFTER:

Note that the "Relationship" events are omitted.

Regroup person-parent rel-after.png
The Inner Mod Menu

This illustrates the Inner Mod Menu in the Person Profile, on a site where four mods that define Inner Mod Menus have been installed. The Regroup Person-Child2Parent entry in the menu contains

  1. A link to the TNG Wiki article (through the Wiki logo)
  2. A link to the "Mod Options" section of that Wiki article
  3. A link that pops up a brief description of what the mod did to the page. That popup is shown in the screenshot
Child2parent-innermodmenu.jpg
The Mod Settings Block

This mod's options are in a new subform named "Robin's Mods" at Admin>>Setup>>General Settings, along with mod other mod options block. When you link directly to the mod options block (e.g. from the Inner Mod Menu or the Mod Manager "Edit Options" page), the subform opens automatically, and only the targeted mod settings block opens. Then, if you click on the triangular arrow next to the subform label, the rest of the mod options block will be shown.

Child2parent-modsettingsblock.jpg

Revision History

Mod Version TNG Version Date Note
Richmond's Genealogy Database
(See a specific Person Profile)
12.0-12.3 31 May 2020 No functional changes.
  1. Renamed the mod
  2. Moved moved the mod's options to a Mod Settings Block
  3. Jumped to version 19 to stay in syncx with other Regroup Person* mods
  4. Added an Inner Mod Menu to give administrative users an easy way to see which mods have done what to the Person Profile.
Regroup Person-Parent Rel v12.0.0.16b 12.0+ 24Jul2018 No functional changes; made compatible with TNGv12.
11.0.1.16b 10.0.1-11.1.2+ 19 Dec 2017 Updated for new TNG version
10.0.1.16 & 11.0.0.16 10.0.1-11.0 28Mar2016 Implemented a mod parameter to provide flexibility in choosing which relationship values to suppress.

Also, for TNGv11, this mod handles the display of Parent/Child relationshps in the list of children.

10.0.1.15 10.0.1-10.1.3 20Feb2016 No new end-user functionality; just added Show Mod Names functionality and dependency, and updated the mod number to stay in sync with Regroup Person Profile.
10.0.1.12 10.0.1-10.1.3 26Dec2014 Initial release; separated this mod from the larger Regroup Person Profile mod to reduce the chances and consequences of that mod running into conflicts.

Sites using this mod

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

URL User Note Mod-Version TNG-Version User-language
Robin Richmond's Genealogy Database Robin Richmond Mod developer Regroup Person-Child2Parent 12.0.0.19 12.3 English
Martius Family Hendrik Martius Half public Regroup Person-ParentRel 11.0.1.16b 12.0.1 DE, EN, FR, NL