Difference between revisions of "Regroup Person Profile"

From TNG_Wiki
Jump to: navigation, search
 
(49 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{construction
+
{{TNGmod
|notes=I've posted mod version 18, but the visualizations (which are still generally accurate) are from earlier version.  The features that are introduced by this version are shown in the [[#Revision_History|Revision History]]. The mod now can display siblings, and can display relative's data in multiple lines. These changes make the installation of some other mods unnecessary, but they ''may'' have introduced other conflicts.  I'm using a modified version of Jeff Robison's Family Indicators mod, but I ''think that'' his published version still works, but I just haven't taken the time to go backand st like to cause conflicts is the mod's ability to display siblings. That change obviously means that other mods that defin I'm frankly not sure by this The significant his article is just beginning the transition to Version 18 of this mod. Version 18 is not yet available for downloading. The text of this article describes Version 18, but the visualizations are from Version 15.
 
Robin Richmond, 2 Nov 2019}}{{TNGmod
 
 
| mod_name        = Regroup Person Profile
 
| mod_name        = Regroup Person Profile
|  mod_summary    = Moves things around on the Person Profile page (getperson.php), and compresses whitespace a bit.
+
|  mod_summary    = Reorganizes the Person Profile page - for instance, moving 'less important' personal events below the Parent and Family data blocks, putting headings above the Person Profile's data blocks, moving metadata to headings, allow the Map to be hidden, and removing the mostly-empty label column from the Map and Sources blocks.
 
| mod_validation  =
 
| mod_validation  =
| mod_last_update = 28 Sep 2019
+
| mod_last_update = 03 Oct 2020
| download_link  =  [[Media:regroup_person_profile_v12.0.0.18.zip|v12.0.0.18]]{{Tv120}}
+
| download_link  =  [[Media:regroup_person_profile_v13.0.0.19e.zip|v13.0.0.19e]]{{Tv130}}
 +
<div style='clear:both;'>[[Media:regroup_person_profile_v12.0.0.19.zip|v12.0.0.19]]{{Tv120}}</div>
 
| download_stats  =
 
| download_stats  =
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
 
| mod_author      = [[User:Robinrichm|Robin Richmond]]
| mod_url        = [http://robinrichmond.org/family/ Robin Richmond's Genealogy Database]
+
| mod_url        = ''this page''
| mod_contact    = [http://robinrichmond.org/family/mod_support.php My Mod Support form]
+
| mod_contact    = [https://www.robinrichmond.com/family/mod_support.php My Mod Support form]
| mod_support    = [http://robinrichmond.org/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
+
| mod_support    = [https://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
| mod_version    = 12.0.0.8
+
| mod_version    = 13.0.0.19e
 
| min_TNG_ver    = 10.0.1
 
| min_TNG_ver    = 10.0.1
| max_TNG_ver    = 12.2
+
| max_TNG_ver    = 13
 
|  TNG_file_list  = getperson.php, personlib.php, genlib.php, globallib.php, css/genstyle.css, English cust_text.php, Norwegian cust_text.php, admin_genconfig.php, admin_updateconfig.php
 
|  TNG_file_list  = getperson.php, personlib.php, genlib.php, globallib.php, css/genstyle.css, English cust_text.php, Norwegian cust_text.php, admin_genconfig.php, admin_updateconfig.php
| related_mods  = The Regroup Person Profile family of mods, the presence of the spacing control is coordinated with Regroup Person-Date Place.
+
| related_mods  = [[Mod Settings Blocks]], [[Inner Mod Menus]], The "Regroup Person" family of mods.
 
| notes    =  
 
| notes    =  
 
}}
 
}}
Line 25: Line 24:
 
|}
 
|}
 
Here's a partial list of changes:
 
Here's a partial list of changes:
# Just the most basic Person information is listed first, then parents, marriages, and "Other Personal Data".
+
# The most basic Person information is listed first, then parents, marriages, and only then, "Other Personal Data".
#* Basic information includes Name, Birth, Death, Burial, Cause of Death (_DCAUSE), Alias (ALIA) and Race events, and (I think) LDS events.
+
#* Basic information includes Name, Birth, Death, Burial, Cause of Death (_DCAUSE), Alias (ALIA) and Race, and (I think) LDS ordinances.
# Subheadings have been added above parents, marriages, other personal data, the event map, and source citations. The parent and marriage headings include (on the right) the familyID, date of change, and links to the family group sheet, family, family chart, and family edit screen (as appropriate to the user's rights), and  
+
# Subheadings have been added above what I call "event blocks" - the blocks of data for personal data, parents, marriages, the event map, source citations, etc.  
# I've moved metadata to the heading, right below the person's name, next to the thumbnail photo. Metadata includes the personID, tree, and edit date.
+
# Metadata elements (primary personID, familyIDs, treename, branches, edit date, links to edit pages) are no longer presented as if they were events. Some metadata elements have been moved to the person's heading, and others are placed immediately above the relevant event blocks.
#* All personIDs are displayed so that the "I" is displayed with an alternate font, distinguishing it from from a lower-case l or a 1.  
+
#* The treename is not displayed if there is only one tree.
# The Event Map is enlarged a bit, as I've eliminated the mostly-blank shaded left-hand column. The entire map can also be hidden and re-displayed.
+
# Under the control of a mod option, the personID for relatives (parents, spouses, children, siblings) can be displayed
 +
# All personIDs are styled "I" is displayed with an alternate font, distinguishing it from from a lower-case l or a 1.  
 +
# The Event Map is enlarged a bit, as I've eliminated the mostly-blank shaded left-hand column, and tweaked the even list adjacent to the map. The entire map can also be hidden and re-displayed.
 
# The Source Citations box is also enlarged with the elimination of the mostly-blank left-hand column. New bolding of the Source titles improve readability a bit.
 
# The Source Citations box is also enlarged with the elimination of the mostly-blank left-hand column. New bolding of the Source titles improve readability a bit.
# In the Format for Printinga page format, I ignore the cell height for the Sources, figuring that, when you print the page, you want to see all of the sources.   
+
# In the Format for Printing page, the cell height for the Source Citations is ignored, under the assumption that, when you print the page, you want to see all of the sources.
 +
# Under the control of a mod setting, the person's siblings are displayed, and can be presented either with the Parent data or with the Person data.
 +
# When siblings are displayed, half-siblings can be included, and are marked as half-siblings.
 +
# A mod option allows the Person Notes to be displayed in places not covered by the related TNG system option, for example, up near the top of the page in the "Personal Information" data block.   
 +
 
 
See also the subheading [[#Related Mods|Related Mods]], some notes under [[#Incompatible Mods|Incompatible Mods]], the [[#Visualizations|Visualizations]], and additional comments in the .cfg file itself.
 
See also the subheading [[#Related Mods|Related Mods]], some notes under [[#Incompatible Mods|Incompatible Mods]], the [[#Visualizations|Visualizations]], and additional comments in the .cfg file itself.
}}
 
 
{| style="margin-right:0.5 em;" align="right"  
 
{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
|}
 
|}
 
== Mod Options ==
 
== Mod Options ==
In mod versions before version 18, this mod has two Mod Parameters:
+
'''Mod version 19+''' &emsp;&emsp;&emsp;&emsp;[[#modsettingsblock|See a Visualization]] &emsp;&emsp;&emsp;&emsp; <span class="mw-collapsible mw-customtoggle-19op1 mw-customtoggle-19op2" id='mw-customcollapsible-19op1' style="text-decoration:underline;color:#0645ad;">&#91;Show details&#93;</span>
# A value that controls whitespace within the HTML data tables by adjusting HTML cellpadding attribute. The TNG default is cellpadding=4. This mod's default is cellpadding=2, but the padding of 4px can be restored (or increased) with this parameter.
+
<div class='mw-collapsible mw-collapsible-content mw-collapsed toccolours' id='mw-customcollapsible-19op2' style="border:thick solid brown;">
# A flag that determines whether to display person ID's for each parent, spouse, and child.
+
<div class="mw-customtoggle-19op1 mw-customtoggle-19op2" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide the options&#93;</div>
 +
<!-- BEGIN TOGGLED CONTENT -->
 +
These options are defined and edited in the form at Admin>>Setup>>General&nbsp;Settings, in the new subform '''Mod&nbsp;Settings&nbsp;Blocks''' (in TNGv13) or '''Robin's&nbsp;Mods''' (in TNGv12), where the options for various mods are organized into '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod&nbsp;Settings&nbsp;Blocks]'''.
 +
# '''Use smaller generic male and female thumbnails'''
 +
# '''Show dates of last edit" - There's not much point in showing change dates if the data was loaded by a Gedcom Import
 +
# '''Show PersonIDs for Relatives''' - Parents, spouses, children, and siblings.
 +
# Options about displaying siblings:
 +
#* '''Where to Display Siblings''' - "Don't display them", "With personal data", or "With parent's data". #**
 +
#* '''Number of siblings to show when the Person Profile loads''' - Since users aren't always interested in siblings, and a list of eight or ten or fifteen siblings can take up a lot of space, you can set this option to display only a few siblings to start. A hyperlink that says "{n} more" will expose the remaining siblings. The option value "0" means "always show them all". (There is not a way to say "don't show any when the page loads but click on a link to show them all").
 +
# '''<span style="background-color:yellow">New</span> Show extended list of siblings''' - Show half-siblings; that is, all children of all of the profiled person's parents.
 +
# '''<span style="background-color:yellow;">New</span> Where to put notes''' - Allows several possibilities, and overrides a TNG system system
 +
# '''Adjust the styling of templates that use .art‐content‐layout:''' - This option is driven by a styling conflict between Regroup Person Profile and certain TNG Templates. The styling problem manifests itself by using only half of the screen width to display the Person Profile. I may have fixed this conflict, but still, if you encounter the half-screen display, just to select this option.  If it still doesn't work, [https://www.robinrichmond.com/family/mod_support.php please let me know].
 +
#* This adjustment is done by Javascript, and only done within the Person Profile. It does not affect any other pages in any template.
 +
 
 +
'''Some details about the display of siblings'''
 +
* When they are shown with the parents' data (as the parents' "''children''"),
 +
** The profiled person is listed but not hyperlinked, and
 +
** If the person has more than one set of parents, each couple's children are listed.
 +
* When shown with the person's personal data (as "siblings"),
 +
** The profiled person is not displayed at all, and
 +
** If the "Show extended list of siblings" is selected, that list includes half-siblings. That is, the list includes all children of all of the person's parents' marriages. The extended list of children is grouped by the parents of a set of children.
 +
 
 +
Also,
 +
* You may have noticed that some of these options enable features that are also implemented by other mods. Those features are included in Regroup Person Profile only when the other mods are incompatible with Regroup Person Profile. See [[#Overlap|Overlap]] and [[#Interdependencies|Interdependencies]] in the [[#Other_mods|Other mods]] section of this aticle]]
 +
* Several options from mod version 18 that affected the display of event dates and places, and the name/birth/death/age data for relatives have been moved to [[Regroup Person-Date Place|Regroup Person-Date Place v19]]. If you want to use both this mod and [[Regroup Person-Date Place]], you must use version 19* of both.
 +
<!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-19op1 mw-customtoggle-19op2" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide the options for mod v19&#93;</div></div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
 +
 
 +
'''Mod version 18*''' &emsp;&emsp;&emsp;&emsp; <span class="mw-collapsible mw-customtoggle-18op1 mw-customtoggle-18op2" id='mw-customcollapsible-18op1' style="text-decoration:underline;color:#0645ad;">&#91;Show details&#93;</span>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed toccolours' id='mw-customcollapsible-18op2' style="border:thin solid grey;">
 +
<!-- BEGIN TOGGLED CONTENT -->
 +
(Note that some of these options have been moved to the [[Regroup Person-Date Place]] mod in version 19 of both mods.)
  
In version 18 (not yet published), this mod has six custom TNG settings, which are defined and edited in the form at Admin>>Setup>>General&nbsp;Settings, in the new subform '''Robin's&nbsp;Mods''', where the options for various mods are organized into '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod&nbsp;Settings&nbsp;Blocks]'''.  
+
These options are defined and edited in the form at Admin>>Setup>>General&nbsp;Settings, in the new subform '''Robin's&nbsp;Mods''', where the options for various mods are organized into '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod&nbsp;Settings&nbsp;Blocks]'''.  
# '''Spacing''' - Controls the Name/Birth/Death/Age data for relatives; that is parents, spouses, children, and siblings  
+
# '''Spacing''' - Controls whether the Name/Birth/Death/Age data for relatives (parents, spouses, children, and siblings) is on one (possibly wrapped) line, or separated onto three lines. See [[#visualization7|Visualization 7]]
#* '''Less''' - Just like the native Person Profile. The data for each relative is strung together in one line that can wrap to a new line. (However, the wrapping styling is different, and wrapped text stays to the right of the child numbers and/or ancestor/descendant indicators.)
+
#* '''Less''' - Just like the native Person Profile. The data for each relative is strung together in one line that can wrap to a new line.
 
#* '''More''' - Similar to some other mods, the Name/Birth/Death/Age data is separated into three lines, each of which ''could'' wrap, but probably won't.
 
#* '''More''' - Similar to some other mods, the Name/Birth/Death/Age data is separated into three lines, each of which ''could'' wrap, but probably won't.
# '''Spacing Control''' - Whether there will be a spacing control at the right end of the Inner Menu that can switch between the two spacing levels above.
+
# '''Spacing Control''' - Whether there will be a spacing control at the right end of the Inner Menu that can switch between the two spacing levels above. See [[#visualization3|Visualization 3]], item 4.
 
# '''Age Format''' - 'Original': (75 years), or 'New': (Age 75) or (Living, Age 75)
 
# '''Age Format''' - 'Original': (75 years), or 'New': (Age 75) or (Living, Age 75)
# ''' Relatives IDs''' - Whether to show the PersonID of relatives (e.g. parents, spouses, children, and siblings)
+
# ''' Relatives IDs''' - Whether to show the PersonID of relatives; e.g. parents, spouses, children, and siblings. See [[#visualization3|Visualization 3]], item 7.
# '''Siblings''' - Whether and where to display the person's siblings. (no / in the parents data block / in the person's primary data block). Note that, in the person's primary data block, "siblings" means "siblings ''of'' the person", and in the parents block, "siblings" means "all of the siblings (including the primary person)".
+
# '''Siblings''' - Whether and where to display the person's siblings. There are three possible values, representing "Don't show siblings", "Put them in the parents' data block", and "Put them in the persons primary data block". See [[#visualization6|Visualization 6]].
# '''Siblings at Start''' - The number of siblings to show before the rest are hidden behind a "show more" link. "0" means "always show them all"
+
# '''Siblings at Start''' - Not all of the siblings are necessarily displayed as the page loads. This option controls the number of siblings to be initially displayed.  All other siblings are hidden behind a hyperlink. The option value "0" means "always show them all".
 +
# '''Adjust the styling of templates...''' - For the modified Person Profile to look right in certain TNG templates, this option must be selected. My recommendation is to check this option's checkbox if your modified Person Profile takes up only half of your screen width. If it still doesn't work, please let me know.
 +
#* This 'adjustment' is done by Javascript, and only done within the Person Profile. It does not affect any other pages in any template.
 +
Note that the "Spacing" and "Spacing Control" options coordinate with identically named options in '''[[Regroup Person-Date Place]]''' so that both options are the same in both mods, and only one spacing control is created on the Inner Menu. If you want to use version 18 of either this mod or [[Regroup Person-Date Place]], and you want to use both mods, you must install a v18 version of both mods.
 +
<!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-18op1 mw-customtoggle-18op2" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide the options for mod version 18*&#93;</div>
 +
</div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
  
Note that the "Spacing" and "SpacingControl" options coordinate with identically named options in '''[[Regroup Person-Date Place]]''' so that both options are the same in both mods, and only one spacing control is created on the Inner MenuJavascript code in admin_genconfig.php keeps the options in sync.
+
'''Before version 18''', this mod has two classic Mod Parameters &emsp;&emsp;&emsp;&emsp;<span class="mw-collapsible mw-customtoggle-17op1 mw-customtoggle-17op2" id='mw-customcollapsible-17op1' style="text-decoration:underline;color:#0645ad;">&#91;Show details&#93;</span>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed toccolours' id='mw-customcollapsible-17op2' style="border:thin solid grey;">
 +
<!-- BEGIN TOGGLED CONTENT -->
 +
# A value that controls whitespace within the HTML data tables by adjusting HTML cellpadding attributeThe TNG default is cellpadding=4. This mod's default is cellpadding=2, but the padding of 4px can be restored (or increased) with this parameter.  
 +
# A flag that determines whether to display person ID's for each parent, spouse, and child.
 +
<!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-17op1 mw-customtoggle-17op2" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide details&#93;</div>
 +
</div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
  
 
== Other Mods ==
 
== Other Mods ==
Line 59: Line 104:
  
 
=== Related Mods ===
 
=== Related Mods ===
These mods in the "Regroup Person family" are all compatible, and all can be installed independently. Note that Regroup Person Profile and some of these mods have side effects in some other TNG programs.
+
<ol>
# [[Regroup Person Profile]] - ''This'' mod
+
<li>{{RobinBoilerplate | text=msb}}</li>
# [[Regroup Person-Date Place]] - Combines event date, place, and description into one table cell
+
<li>{{RobinBoilerplate | text=imm}}</li>
# [[Regroup Person-Move Media]] - Moves the media files above the map
+
<li>{{RobinBoilerplate | text=smn}}</li>
# [[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.
+
</ol>
# [[Regroup Person-Parent Rel]] - Hides "natural" or "birth" relationships between the person and the parents.
+
{{RobinBoilerplate | text=regroup}}
# [[Regroup Person-Sources]] - Starts the display of source citations with just the Source ID, Title, and Author, and provides buttons so the user can display Source details and/or Citation details, for individual source citations and for all source citations..
 
 
 
Also, this mod generates information that ''can be'' used by [[Show Mod Names]], but it does not depend on [[Show Mod Names]].
 
  
 
=== Compatible Mods ===
 
=== Compatible Mods ===
 
This is not a complete list of compatible mods that affect the Person Profile.   
 
This is not a complete list of compatible mods that affect the Person Profile.   
* This mod is compatible with [[Census Plus International]], [[Citation Master]], [[Compact Person Media]], [[Default Photo Preview]], [[Event Map add children mod]], [[Family Indicators Mod]], [[Family Preview Mod]], [[Geocode Assist Mod]], [[Google Maps - More Place Levels Mod]], [[Living Color Mod]], [[Public Access Control]], [[Relationship Display Mod]], [[Relocate Person Photos]], [[Same Person Link]], [[Simple Titles Mod]], [[Submit Photo/Document Form Mod]], [[Submit Photo Tab Mod]], [[Wiki Integration]].  (Note: I have tested the ''installation'' of [[Census Plus International]] and [[Wiki Integration]], but not their ''functionality''.)
+
* This mod is compatible with [[Census Plus International]], [[Citation Master]], [[Compact Person Media]], [[Default Photo Preview]], [[Event Map add children mod]], [[Family Indicators Mod]], [[Family Preview Mod]], [[Geocode Assist Mod]], [[Google Maps - More Place Levels Mod]], [[Living Color Mod]], [[OpenStreetMap]], [[Public Access Control]], [[Relationship Display Mod]], [[Relocate Person Photos]], [[Same Person Link]], [[Simple Titles Mod]], [[Submit Photo/Document Form Mod]], [[Submit Photo Tab Mod]], [[Wiki Integration]].  (Note: I have tested the ''installation'' of [[Census Plus International]] and [[Wiki Integration]], but not their ''functionality''.)
 +
* With version 9e of Regroup Person Profile, it is compatible with version 13.0.0.2b of [[Fixed Family Tab]] and 13.0.0.4 of [[Public Access Control]].
  
 
=== Mod Conflicts ===
 
=== Mod Conflicts ===
This may not be a complete list of incompatible mods.  Please contact me if you run into any other conflicts.
+
This is not a complete list of incompatible mods.  Please contact me if you run into any other conflicts.
* This mod (Regroup Person Profile) is not compatible with [[Add Person Age Row]], [[Divorce Indicator]], [[Family Chart Mod]], [[Family Edit Links Mod]], [[Mobile Site Enhancements]], [[No Notesring]], [[Optional Person Rows]], and [[Person Map]].
+
* Regroup Person Profile is not compatible with [[Add Person Age Row]], [[Burial Website Media Import]], [[Divorce Indicator]], [[Family Edit Links Mod]], [[Mobile Site Enhancements]], [[No Notesring]], and [[Optional Person Rows]].
* This mod is not compatible with [[ID Prefix Format]], but it incorporates the functionality of [[ID Prefix Format]] by using an alternate font to make the "I" in person ID's distinct from "l" and "1".  
+
* Regroup Person Profile and Collapse Family Children can be installed together, but they do not work together. When they are both installed, the display of the profile person's children is broken.
* This mod is also not compatible with [[Person Map]], but incorporates some of the functionality of [[Person Map]] in that it can hide and re-display the Event Map.
+
 
* This mod conflicts with [[Adjust Date Column Width]], but when the companion mod [[Regroup Person-Date Place]] is installed, [[Adjust Date Column Width]] becomes pointless, since [[Regroup Person-Date Place]] combines the date and location columns.
+
=== Overlap ===
* This mod conflicts with [[Add Person Cremated Row]], but like [[Add Person Cremated Row]], it creates a Cremation pseudo-event.  
+
These mods conflict with Regroup Person Profile, but Regroup Person Profile, or a companion mod, implements at least a good part of the functionality of these mods:
 +
* [[Add Person Siblings Row]] adds the profiled person's siblings to the personal data block. Regroup Person Profile also ''optionally'' displays siblings, though in a different specific location and in a different format. Since Regroup Person Profile and [[Add Person Siblings Row]] ''are'' compatible, you can choose the format you prefer. Of course, if you do install [[Add Person Siblings Row]], then you'll probably want to use the options for Regroup Person Profile to disable its display of siblings.
 +
* [[Add Parents Children Row]], like [[Add Person Siblings Row]], adds the profiled person siblings to the Person Profile, but does no in the parents' data block. Again, Regroup Person Profile also ''optionally'' displays siblings in the parents' data block, but does so in a different format.  Regroup Person Profile and [[Add Parents Children Row]] ''are'' compatible, but if you install [[Add Parents Children Row]], then you'll probably want to disable Regroup Person Profile's display of siblings.
 +
* [[ID Prefix Format]]: Regroup Person Profile also uses an alternate font to make the "I" in person ID's distinct from the lower-case letter "l" and the number "1".  
 +
* [[Person Map]]: Like [[Person Map]], Regroup Person Profile allow users to hide and re-display the Event Map.
 +
* [[Life Dates Mod]], which uses a three-line format for relative's name/birth/death/age data that is similar to the one that Regroup Person Profile implements.  The [[Life Dates Mod]] uses different style, but the changes serve the same purpose.
 +
* [[Adjust Date Column Width]]: [[Regroup Person-Date Place]] (a companion to Regroup Person-Profile) effective ''eliminates'' the Event date column by combing the date and place into one continuous string.
 +
* [[Add Person Cremated Row]]: Like [[Add Person Cremated Row]], Regroup Person Profile displays TNG's non-standard "Cremated" flag as though it were a separate event.
 +
* [[Family Indicators Mod]] ''is'' compatible with Regroup Person Profile, but not with [[Regroup Person-Family Indicators]], which was derived from [[Family Indicators Mod]]. [[Regroup Person-Family Indicators]] implements indicators that are almost identical to those implemented by [[Family Indicators Mod]] and generates popup ancestor previews that are very similar to those displayed by [[Family Indicators Mod]]. The most significant distinction between the two family indicators mods is that [[Regroup Person-Family Indicators]] also affects the siblings that can be displayed by Regroup Person Profile.
 +
* [[Remove Gender Row]]: Regroup Person Profile's companion Mod [[Regroup Person-Remove Gender]] also removes the Gender row from the Person Profile.
  
 
=== Interdependencies ===
 
=== Interdependencies ===
* [[Submit Headstone Photo Mod]] can be installed ''after'' this mod.  In some versions, installing [[Submit Headstones Photo Mod]] creates a Bad Target error in Regroup Person Profile in Mod Manager, but the Person Profile still works.  The Bad Target error can be removed by uninstalling [[Submit Headstone Photo Mod]].
+
* [[Submit Headstone Photo Mod]] can be installed ''after'' Regroup Person Profile.  In some versions of one mod or the other, installing [[Submit Headstone Photo Mod]] creates a Bad Target error in Regroup Person Profile in Mod Manager, but the Person Profile still works.  If the Bad Target error does occur, [[Submit Headstone Photo Mod]] must be uninstalled before Person Profile can be uninstalled..
* [[Count_Ancestors_n_Descendants]] can be installed ''after'' this mod. You need to uninstall [[Count_Ancestors_n_Descendants]] before this mod.
+
* [[Count_Ancestors_n_Descendants]] can be installed ''after'' this mod, and must be uninstalled before Regroup Person Profile can be uninstalled.
* [[Signature Display]] can be installed ''before'' this mod. You need to uninstall [[Signature Display]] after this mod.
+
* [[Signature Display]] must be installed ''after'' this mod.
  
 
== Installation ==
 
== Installation ==
This mod uses the standard installation procedure, though it should be noted that this mod contains a mod subfolder that is shared with other mods that implement '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod Settings Blocks]''' or '''[https://tng.lythgoes.net/wiki/index.php?title=Inner_Mod_Menu Inner Mod Menus]'''. Because of the shared subfolder, as you unzip or copy the mod, you might get a warning noting that a file or folder already exists.  You can just ignore that warning.<br>{{RobinInstallationBoilerplate}}
+
=== Files Installed ===
 +
{{RobinBoilerplate | text=language}}
 +
{{RobinBoilerplate | text=v12shared}}
 +
{{RobinBoilerplate | text=install}}
  
 
== Visualizations ==
 
== Visualizations ==
See the [[#Revision_History|Revision History]] to learn what is different about version 18.
+
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
 
|-
 
|-
|<span style="color: red">'''1. BEFORE AND AFTER OVERVIEW'''</span><br>
+
|<span style="color:brown;">'''1. BEFORE AND AFTER OVERVIEW'''</span><br>
 
Click on the image below to see larger side-by-side non-annotated before and after images.  Note that the media files have been clipped out because they haven't changed.  But the personal and family data is now laid out differently, the Event Map is now slightly wider, and the Sources, by default, show only the titles, not the full citation information. <span style="color: red">(Note that Some of the changes shown in the visualizations are now implemented by other mods that were extracted from earlier versions of [[Regroup Person Profile]]). In particular, [[Regroup Person-Date Place]] now combines the date, place, and description for an event into one cell in the display table.)</span>
 
Click on the image below to see larger side-by-side non-annotated before and after images.  Note that the media files have been clipped out because they haven't changed.  But the personal and family data is now laid out differently, the Event Map is now slightly wider, and the Sources, by default, show only the titles, not the full citation information. <span style="color: red">(Note that Some of the changes shown in the visualizations are now implemented by other mods that were extracted from earlier versions of [[Regroup Person Profile]]). In particular, [[Regroup Person-Date Place]] now combines the date, place, and description for an event into one cell in the display table.)</span>
 
|-
 
|-
 
| [[File:regroup_person_profile-both.png|637x670px]]
 
| [[File:regroup_person_profile-both.png|637x670px]]
|-
+
|}
| <span style="color: red">'''2. BEFORE:'''</span> '''The personal data section of the original version of the Personal Profile.'''<br>
+
 
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="color:brown;">'''2. BEFORE:'''</span> '''The personal data section of the original version of the Personal Profile.'''<br>
 
The red comments describe some of the changes that the mod will make.  
 
The red comments describe some of the changes that the mod will make.  
 
|-
 
|-
 
| [[Image:regroup_person_profile-before1.png]]
 
| [[Image:regroup_person_profile-before1.png]]
|-
+
|}
| <span style="color: red">'''3. AFTER:'''</span> '''The personal AND family data in the new format'''
+
<span id='visualization3'></span>
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="color:brown;">'''3. AFTER:'''</span> '''The personal AND family data in the new format'''
 
# Personal meta-data has been moved to the heading.
 
# Personal meta-data has been moved to the heading.
 +
# The "Mod Information" menu, ''which is visible only to admins'', provides links to this Wiki article, and provides a link ''directly to'' the mod options.
 +
#* By "directly to", I mean that the link opens this mod's "Mod Settings Block", without the need to select a subform at "Admin>>Setup>>General&nbsp;Settings", nor to scroll down to this mod's options. (See [[#modsettingsblock|The Mod Settings Block Screenshot]].
 +
# Events that describe the profiled person are divided into two data blocks. Basic name, birth, death, and burial information are in the first data block (like the native Person Profile), but all other personal events are displayed in a second block, labeled "Other Personal Events" ''below'' the person's parents and families.
 
# The white space between blocks of data is now occupied by headings and metadata.
 
# The white space between blocks of data is now occupied by headings and metadata.
# The words "wife" and "husband" are substituted for "spouse" in the Family block
+
# A mod option determnines whether the personID of each relative(spouses, parents, children, siblings) is shown.
# The indentation of data about children has been improved.  
+
# The words "Wife" and "Husband" replace "Family" in the table row for the spouse/partner name.
# This visualization does not show the Person ID's that are (optionally) placed after the names of parents, spouses, and children.)
+
#* I now realize that labels other than "Wife" and "Husband" should be used if the parents are not married. In a future version, I hope to implement labels that reflect the nature of the relationship, though '''''I need suggestions about what terms to use.'''''
 +
# The indentation of the children's name/birth/death/age data has been improved. The data now wraps like HTML list items; that is, it does not wrap below the number at the beginning of the line.
 
|-
 
|-
| [[Image:regroup_person_profile-after1.png]]
+
| [[Image:regroup_person_profile-after19.jpg]]
|-
+
|}
| <span style="color: red">'''4. AFTER:'''</span> '''The new Event Map'''<br>
+
 
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="brown;">'''4. AFTER:'''</span> '''The Event Map'''<br>
 
The map is wider than before because the mod has eliminated the colored left-hand column, and put the Event Map label in the whitespace above the map.  It has also modified the layout of the first pin legend so it wastes less space, and so that it wraps more cleanly when the page is narrow enough to require wrapping.  Also note the button outlined in red at the top right, which changes to "Show Event Map" when the Event Map is hidden.
 
The map is wider than before because the mod has eliminated the colored left-hand column, and put the Event Map label in the whitespace above the map.  It has also modified the layout of the first pin legend so it wastes less space, and so that it wraps more cleanly when the page is narrow enough to require wrapping.  Also note the button outlined in red at the top right, which changes to "Show Event Map" when the Event Map is hidden.
 
|-
 
|-
 
| [[Image:regroup_person_profile-after-map.png]]
 
| [[Image:regroup_person_profile-after-map.png]]
 +
|}
 +
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="brown;">'''5. AFTER:'''</span> '''The Source Citations block'''<br>
 +
Like the Event Map, the Sources block no longer uses the colored left-hand column, and its label (now "Source Citations") is in the whitespace above the sources. The [[Regroup Person-Sources]] mod adds substantial functionality to the Source Citations block. It loads the page with just the Source name, and provides links and buttons that add and remove Source and Citation details.
 
|-
 
|-
| <span style="color: red">'''5. AFTER:'''</span> '''The new Sources block'''<br>
+
| [[Image:regroup_person-after-sources.png]]
Like the Event Map, the Sources block no longer uses the colored left-hand column, and its label (now "Source Citations") is in the whitespace above the sources. The [[Regroup Person-Sources]] mod adds substantial functionality to the Source Citations block. It can remove details from each Source Citation, and provides button and links that display Source and/or Citation details.
+
|}
 +
 
 +
<span id='visualization6'></span>
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="brown;">'''6. AFTER:'''</span> '''Siblings '''<br>
 +
# A mod option controls whether siblings are displayed in the Parents' data block, in the basic personal data block (as shown here), or not displayed at all.
 +
# Another mod option controls how many siblings are shown as the page is loaded  If not all siblings are initially displayed, the program displays a "more" link that expands the list to include all siblings.
 +
# The the name of the person being profiled is not a hyperlink, since we are already on that person's profile.
 +
|-
 +
| [[Image:regroup_person_profile-siblings.png]]
 +
|}
 +
 
 +
<span id='modsettingsblock'></span>
 +
{| border="2" cellspacing="1" cellpadding="2" class="wikitable"
 +
| <span style="brown;">'''7. AFTER:'''</span> '''The Regroup Person Profile "Mod Settings Block"'''<br>
 +
{{RobinBoilerplate | text=msbviz1}}
 +
{{RobinBoilerplate | text=msbgenconfig}}
 +
{{RobinBoilerplate | text=msb12}}
 
|-
 
|-
| [[Image:regroup_person-after-sources.png]]
+
| [[Image:regroup_person_profile-after-modsettingsblock19.jpg]]
 
|}
 
|}
  
== White Space s ==
+
== Language Strings==
<span style='font-size:90%;'>'''Aside:''' Vertical whitespace can produce a feeling of "openness" in web pages and other media.  But sometimes it unnecessarily reduces the amount of data that can be seen at once, and increases the need for users to do vertical scrolling.  So I've been known to push back a bit - especially when whitespace is provided by &lt;br> tags rather than style rules. To that end:</span>
+
{{RobinBoilerplate | text=language1}}
 +
 
 +
== White Space ==
 +
<span style='font-size:90%;'>'''Aside:''' Vertical whitespace can produce a feeling of "openness" in web pages and other media.  But sometimes it unnecessarily reduces the amount of data that can be seen at once, and increases the need for users to do vertical scrolling.  So I've been known to push back on whitespace a bit - especially when whitespace is generated by &lt;br> tags rather than style rules. To that end:</span>
 
# This mod uses styles to decrease the whitespace between the HTML tables that define various sections of the Person Profile (basic personal data, parents, families, the event map, media items, etc.). This mod provides 1ex of whitespace in the bottom margin of each table. You can increase that whitespace with a style rule such as <code><span style="white-space:nowrap;">.datatable {margin-bottom:1em;}</span></code> at the bottom of your genstyle.css or in your template's mytngstyle.css.
 
# This mod uses styles to decrease the whitespace between the HTML tables that define various sections of the Person Profile (basic personal data, parents, families, the event map, media items, etc.). This mod provides 1ex of whitespace in the bottom margin of each table. You can increase that whitespace with a style rule such as <code><span style="white-space:nowrap;">.datatable {margin-bottom:1em;}</span></code> at the bottom of your genstyle.css or in your template's mytngstyle.css.
 
# This mod removes a hard break from the end of the TNG "innermenu". Whitespace below the innermenu can be restored by a style rule such as <code><span style="white-space:nowrap;">.pub-innermenu {margin-bottom:1em;}</span></code> at the bottom of your genstyle.css or your template's mytngstyle.css.
 
# This mod removes a hard break from the end of the TNG "innermenu". Whitespace below the innermenu can be restored by a style rule such as <code><span style="white-space:nowrap;">.pub-innermenu {margin-bottom:1em;}</span></code> at the bottom of your genstyle.css or your template's mytngstyle.css.
Line 130: Line 219:
 
#*:<span style='padding:2px 10px; color:white; background-color:steelblue;'>Personal Information &nbsp;|&nbsp; Media &nbsp;|&nbsp; Notes &nbsp;|&nbsp; Source Citations &nbsp;|&nbsp; Event Map &nbsp;|&nbsp; All &nbsp;|&nbsp; PDF&nbsp;&nbsp;</span>
 
#*:<span style='padding:2px 10px; color:white; background-color:steelblue;'>Personal Information &nbsp;|&nbsp; Media &nbsp;|&nbsp; Notes &nbsp;|&nbsp; Source Citations &nbsp;|&nbsp; Event Map &nbsp;|&nbsp; All &nbsp;|&nbsp; PDF&nbsp;&nbsp;</span>
 
#* This change affects not just the Person Profile, but most TNG page headings. However, the .pub-innermenu style rule shown above will restore whitespace to all affected pages.
 
#* This change affects not just the Person Profile, but most TNG page headings. However, the .pub-innermenu style rule shown above will restore whitespace to all affected pages.
 
=== Style Rules ===
 
When you want to modify the effect of a style rule defined in the master TNG stylesheet, css/genstyle.css, you '''should not''' edit the existing rule. This is especially true for style rules added by a mod, but is also true of "native" styles. If you edit a mod-defined rule, you will break the mod's installed status, and, in either case, your change will likely be lost with any TNG upgrades.  Instead, as indicated by the instructions above, you should define a ''new'' style rule for the same style class, focus on the style attribute you want to change, and place your new rule
 
* At the very bottom of genstyle.css, or
 
* In the stylesheet file mytngstyle.css in your template's css folder (which is empty in fresh TNG installations).
 
Note that your template's mytngstyle.css folder may be the safer of these two options, since it is easier to backup the entire mytngstyle.css file than to backup a set of rules inside genstyle.css. But, of course, if you use more than one template, the style rules that you put in a template's mytngstyle.css will need to be duplicated in the all of the other templates you use.
 
  
 
== Formatting Person and Family IDs ==
 
== Formatting Person and Family IDs ==
Line 144: Line 227:
 
! Mod Version !! TNG Version !! Date !! Note
 
! Mod Version !! TNG Version !! Date !! Note
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
| [[Media:regroup_person_profile_v12.0.0.1.18.zip|12.0.0.18]]
+
| [[Media:regroup_person_profile_v13.0.0.19e.zip|13.0.0.19e]]
| 12.0 - 12.2+
+
| 13-13.0.1
| 28 Sep 2019
+
| 28Nov2020
 +
| Established compatibility with the [[Public Access Control]] mod.
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v13.0.0.19d.zip|13.0.0.19d]]
 +
| 13-13.0.1
 +
| 10Nov2020
 +
|
 +
# Bug fix: when a parent of the profiled person is undefined ALL children of an undefined parents were being shown as half siblings.
 +
# Norwegian translation by Svein Krakeli
 +
# Moved RACE and CREM to the main data block.
 +
# Suppresses empty notes
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v13.0.0.19c.zip|13.0.0.19c]]
 +
| 13
 +
| 7Oct2020
 +
|
 +
v19c 7 Oct 2020
 +
# Bug fix: the 'Hide Map'/'Show Map' button was not changing to 'Show Map' when the map is hidden.
 +
# Bug fix: Events and notes used different-sized fonts because of a TNGv13 upgrade mistake
 +
# No longer shows the tree name if there is only one tree in the database
 +
v19b 3 Oct 2020
 +
# Fixed a typo that broke the the mod parameter edit page.
 +
v19a 29 Sep 2020
 +
# Implemented an ad-hoc heading that goes above all of the media items. The heading value comes from a custom string that must be defined in each language's cust_text.php file.
 +
# Modifications to the French translation.
 +
v13.0.0.19 17 Sep 2020
 +
# Changed 6 target location search strings that now specify the "normal" class for data block table tags.
 +
# Added a target location to handle TNGv13's new placement of LDS events vis-a-vis custom events.
 +
# Now uses the Mod Settings Blocks mod rather than shared files.
 +
# Added French translations by Katryne Chauvigné-Bourlaud
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v12.0.0.19.zip|12.0.0.19]]
 +
| 12.0 - 12.3
 +
| 15Aug2020
 +
| Most of the changes involve coordination with other Regroup Person* mods &emsp; <span class="mw-collapsible mw-customtoggle-v191 mw-customtoggle-v192" id='mw-customcollapsible-v191' style="text-decoration:underline;color:#0645ad;">&#91;Show details&#93;</span>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed toccolours' id='mw-customcollapsible-v192' style="border:thin solid grey;">
 +
<!-- BEGIN TOGGLED CONTENT -->
 +
<div class="mw-customtoggle-v191 mw-customtoggle-v192" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide details&#93;</div>
 +
# Fixed a typo that was preventing sibling's popup profiles from popping up.
 +
# Moved changes to the format of relatives' name/birth/death/age info to Regroup Person-Date Place, which was already handling event date/place spacing. This also removed the spacing button from this mod and the relatively complex coordination between the two mods over the spacing button.
 +
# Moved changes to the Age format to Regroup Person-Date Place since the age format is part of relatives' name/birth/death/age info.
 +
# This mod still has to coordinate with Regroup Person-Date Place in that the formatting of siblings' name/birth/death/age strings is different if Regroup Person-Date Place is installed.
 +
# Both this mod and Regroup Person-Date Place have been identified as v19, since the changes in the functionaly of and coordination between the two mods means that if both are installed,  they both must use v19 or above.
 +
# Under control of a new option, the mod now can move person notes up into the main personal data block.
 +
# Another new mod option determines whether record change dates are displayed. (There isn't much point in displaying change dates if a Gedcom Import has specified the same change date for every record, whether it was changed or not.)
 +
# Coordinates with Regroup Person-Family Indicators to make sure that the Regroup Person-Family Indicators icon is used for siblings.
 +
# See the .cfg file Revision History for other details.
 +
<!-- BUTTON AT THE BOTTOM OF TOGGLED CONTENT --><div class="mw-customtoggle-v191 mw-customtoggle-v192" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide details&#93;</div>
 +
</div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v12.0.0.18d.zip|12.0.0.18d]]
 +
| 12.0 - 12.3
 +
| 24Feb2020
 +
|
 +
* The siblings list is now labeled "Siblings" whether it is in the personal data block, or in the parents' data block.
 +
* Added a missing %end:% tag, as required in TNGv12.3.
 +
* Upgraded to version 4 of the shared mod libraries.
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v12.0.0.18b.zip|12.0.0.18b]]
 +
| 12.0 - 12.2
 +
| 19Dec2019
 +
| Upgraded to version 3 of the shared mod includes libraries, installed a temporary CSS patch to allow this mod to work in certain templates, fixed a bug that was preventing relatives' data from being reformatted into three lines, and eliminated a conflict with Regroup Person-Source v18b.
 +
 
 +
|- style="vertical-align:top;"  <!-- ############################################################## -->
 +
| [[Media:regroup_person_profile_v12.0.0.18.zip|12.0.0.18]]
 +
| 12.0-12.2
 +
| 28Sep2019
 
|  
 
|  
 
* Moved the mod options to admin_genconfig.php, which requires shared include files for '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod Settings Blocks]'''.
 
* Moved the mod options to admin_genconfig.php, which requires shared include files for '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Mod Settings Blocks]'''.
Line 154: Line 308:
 
* Has new options to control the display of siblings, the relatives' data, and the spacing control.
 
* Has new options to control the display of siblings, the relatives' data, and the spacing control.
 
* The presence of the spacing control is coordinated with Regroup Person-Date Place, which has its own spacing options.
 
* The presence of the spacing control is coordinated with Regroup Person-Date Place, which has its own spacing options.
 +
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| [[Media:regroup_person_profile_v12.0.0.17.zip|12.0.0.17]]
 
| [[Media:regroup_person_profile_v12.0.0.17.zip|12.0.0.17]]
| 12.0+
+
| 12.0-12.2
| 24 Jul 2018
+
| 24Jul2018
 
| Fixed a typo that was preventing the marriage block displaying the words "Wife" or "Husband".
 
| Fixed a typo that was preventing the marriage block displaying the words "Wife" or "Husband".
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| [[Media:regroup_person_profile_v12.0.0.16p.zip|12.0.0.16p]]
 
| [[Media:regroup_person_profile_v12.0.0.16p.zip|12.0.0.16p]]
 
| 12.0+
 
| 12.0+
| 24 Jul 2018
+
| 24Jul2018
 
| No functional changes; made compatible with TNGv12.
 
| No functional changes; made compatible with TNGv12.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
Line 172: Line 327:
 
| 11.0.0.16a
 
| 11.0.0.16a
 
| 11.0-11.1
 
| 11.0-11.1
| 28 Mar 2016
+
| 28Mar2016
 
| Updated for TNGv11.  Added Race to the set of events that I have moved from the Other Personal Events table to the main personal events table.
 
| Updated for TNGv11.  Added Race to the set of events that I have moved from the Other Personal Events table to the main personal events table.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.15a
 
| 10.0.1.15a
 
| 10.0.1-10.1.3
 
| 10.0.1-10.1.3
| 10 Mar 2016
+
| 10Mar2016
 
| Fixed an old bug in location 33 that erased the event map if any notes were attached to the person rather than to an event.
 
| Fixed an old bug in location 33 that erased the event map if any notes were attached to the person rather than to an event.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
Line 187: Line 342:
 
| 10.0.1.14f
 
| 10.0.1.14f
 
| 10.0.1-10.1.2
 
| 10.0.1-10.1.2
| 19 Jul 2015
+
| 19Jul2015
 
| - Followed more of Jeannette Wickham's suggestion and added name facts and events to the primary personal data block, instead of "Other Personal Data".<br/> - Fixed two old bugs in my code that put some notes in narrow columns.<br/> - Fixed another old bug that caused some event source citation links not to be enclosed in brackets.<br/> - Added Norwegian translation of cust_text strings, courtesy of Ørjan K. Albriktsen.<br/> - Moved code to accommodate  the [[Public Access Control]] mod.
 
| - Followed more of Jeannette Wickham's suggestion and added name facts and events to the primary personal data block, instead of "Other Personal Data".<br/> - Fixed two old bugs in my code that put some notes in narrow columns.<br/> - Fixed another old bug that caused some event source citation links not to be enclosed in brackets.<br/> - Added Norwegian translation of cust_text strings, courtesy of Ørjan K. Albriktsen.<br/> - Moved code to accommodate  the [[Public Access Control]] mod.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.14
 
| 10.0.1.14
 
| 10.0.1-10.1.1
 
| 10.0.1-10.1.1
| 08 Jul 2015
+
| 08Jul2015
 
| Folded [[Regroup Person-Other IDs]] back into this mod.  Followed Jeanette Wickham's suggestion to put cause of death plus secondary birth, death, and burial events in the data block at the top of the page instead of in the "Other Personal Data" block.  Now works with [[Default Photo Preview]]. Improved code comments.  Reintroduced some of the whitespace that I had eliminated by removing &lt;br/&gt; tags.
 
| Folded [[Regroup Person-Other IDs]] back into this mod.  Followed Jeanette Wickham's suggestion to put cause of death plus secondary birth, death, and burial events in the data block at the top of the page instead of in the "Other Personal Data" block.  Now works with [[Default Photo Preview]]. Improved code comments.  Reintroduced some of the whitespace that I had eliminated by removing &lt;br/&gt; tags.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.13
 
| 10.0.1.13
 
| 10.0.1-10.1
 
| 10.0.1-10.1
| 03 Jan 2015
+
| 03Jan2015
 
| Had to restore some trailing spaces to some lines of code, because I had mistakenly tested the mod with a beta version of Mod Manager that was deleting trailing spaces.   
 
| Had to restore some trailing spaces to some lines of code, because I had mistakenly tested the mod with a beta version of Mod Manager that was deleting trailing spaces.   
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.12
 
| 10.0.1.12
 
| 10.0.1-10.0.3
 
| 10.0.1-10.0.3
| 27 Dec 2014
+
| 27Dec2014
 
| Moved some functionality from this mod to five new mods whose names also begin with "Regroup Person".  
 
| Moved some functionality from this mod to five new mods whose names also begin with "Regroup Person".  
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
Line 217: Line 372:
 
| 10.0.1.9
 
| 10.0.1.9
 
| 10.0.1-10.0.2
 
| 10.0.1-10.0.2
| 1 3May 2014
+
| 13May2014
 
| Now handles sub-event data entered in TNG, like Agency, Cause, Address, etc.
 
| Now handles sub-event data entered in TNG, like Agency, Cause, Address, etc.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
Line 237: Line 392:
 
| 10.0.1.4
 
| 10.0.1.4
 
| 10.0.1
 
| 10.0.1
| 21 Apr 2014
+
| 21Apr2014
 
| Accommodated the installation of [[Geocode Assist Mod]] and [[Wiki Integration]]. Displays the "I" in the Person ID in a font that distinguishes it from "l" and "1".
 
| Accommodated the installation of [[Geocode Assist Mod]] and [[Wiki Integration]]. Displays the "I" in the Person ID in a font that distinguishes it from "l" and "1".
 
|- style="vertical-align:top;"  <!-- ############################################################## -->  
 
|- style="vertical-align:top;"  <!-- ############################################################## -->  
 
| 10.0.1.3
 
| 10.0.1.3
 
| 10.0.1
 
| 10.0.1
| 17 Apr 2014
+
| 17Apr2014
 
| Removed a couple of changes and changed a couple of others to improve compatibility with other mods - specifically [[Family Preview Mod]] and mods that tweak the Event Map Pins legend.
 
| Removed a couple of changes and changed a couple of others to improve compatibility with other mods - specifically [[Family Preview Mod]] and mods that tweak the Event Map Pins legend.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.2
 
| 10.0.1.2
 
| 10.0.1
 
| 10.0.1
| 16 Apr 2014
+
| 16Apr2014
 
| Fixed bugs that (1)repeated marriage information for people with multiple marriages &amp; (2) didn't always display the person id number and edit date. Also accommodated another mod.
 
| Fixed bugs that (1)repeated marriage information for people with multiple marriages &amp; (2) didn't always display the person id number and edit date. Also accommodated another mod.
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
|- style="vertical-align:top;"  <!-- ############################################################## -->
 
| 10.0.1.0
 
| 10.0.1.0
 
| 10.0.1
 
| 10.0.1
| 15 Apr 2014
+
| 15Apr2014
 
| Initial release.
 
| Initial release.
 
|}
 
|}
Line 260: Line 415:
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
|-
+
! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language
! URL
 
! User
 
! Note
 
! Mod-Version
 
! TNG-Version
 
! User-language
 
 
|-
 
|-
 
| [https://www.robinrichmond.com/family10/getperson.php?mylastname=Richmond&myfirstname=Clarence&mybirthyear=1895 Robin Richmond's Genealogy Database]
 
| [https://www.robinrichmond.com/family10/getperson.php?mylastname=Richmond&myfirstname=Clarence&mybirthyear=1895 Robin Richmond's Genealogy Database]
 
| [[User:Robinrichm|Robin Richmond]]
 
| [[User:Robinrichm|Robin Richmond]]
 
| Mod developer
 
| Mod developer
| 12.0.0.17
+
| 13.0.0.19e
| 12.0.3
+
| 13
 
| English
 
| English
 
|-  
 
|-  
Line 295: Line 444:
 
| 12.0.3
 
| 12.0.3
 
| English
 
| English
 +
|-
 +
| [https://ahnenklein.com Auf den Spuren meiner Ahnen]
 +
| Michael Klein
 +
| Public/Private site
 +
| 12.0.0.18d
 +
| 12.0.3
 +
| DE, ENG
 +
|-
 +
| [http://jarocinscy.pl/drzewo/index.php Baza danych Rodziny Jarocińskich]
 +
| [[User:Mjaro|Michał Jarociński]]
 +
| non-public site
 +
| 13.0.0.19d
 +
| 13.0.1 / T7
 +
| PL, EN
 +
|-
 +
| [https://svkrfam.no Sidsel & Svein Krakeli Familiesider]
 +
| Svein Krakeli
 +
| Public/Private site
 +
| 13.0.0.19c
 +
| 13.0.0
 +
| NO, ENG
 +
|-
 +
| [https://vitter.org/familytree Vitter-Weaver Genealogy]
 +
| [[User:Jeffrey Vitter|Jeffrey Vitter]]
 +
| Public site
 +
| 13.0.0.19c
 +
| 13.0.1
 +
| EN, FR
 
|}
 
|}
  
[[Category:Mods for TNG v10]] [[Category:Mods for TNG v11]][[Category:Mods for TNG v12]]
+
[[Category:Mods for TNG v10]] [[Category:Mods for TNG v11]][[Category:Mods for TNG v12]][[Category:Mods for TNG v13]]
 
[[Category:getperson.php mods]]
 
[[Category:getperson.php mods]]
 
[[Category:personlib.php mods]]
 
[[Category:personlib.php mods]]

Latest revision as of 13:54, 9 January 2021

Regroup Person Profile
Summary Reorganizes the Person Profile page - for instance, moving 'less important' personal events below the Parent and Family data blocks, putting headings above the Person Profile's data blocks, moving metadata to headings, allow the Map to be hidden, and removing the mostly-empty label column from the Map and Sources blocks.
Validation
Mod Updated 03 Oct 2020
Download link v13.0.0.19e
TNG 13.0
v12.0.0.19
TNG 12.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 13.0.0.19e
Min TNG V 10.0.1
Max TNG V 13
Files modified
getperson.php, personlib.php, genlib.php, globallib.php, css/genstyle.css, English cust_text.php, Norwegian cust_text.php, admin_genconfig.php, admin_updateconfig.php
Related Mods
Mod Settings Blocks, Inner Mod Menus, The "Regroup Person" family of mods.
Notes


Purpose of the Mod

To rearrange the data in the person profile in a way that I find more readable, with less scrolling.

Here's a partial list of changes:

  1. The most basic Person information is listed first, then parents, marriages, and only then, "Other Personal Data".
    • Basic information includes Name, Birth, Death, Burial, Cause of Death (_DCAUSE), Alias (ALIA) and Race, and (I think) LDS ordinances.
  2. Subheadings have been added above what I call "event blocks" - the blocks of data for personal data, parents, marriages, the event map, source citations, etc.
  3. Metadata elements (primary personID, familyIDs, treename, branches, edit date, links to edit pages) are no longer presented as if they were events. Some metadata elements have been moved to the person's heading, and others are placed immediately above the relevant event blocks.
    • The treename is not displayed if there is only one tree.
  4. Under the control of a mod option, the personID for relatives (parents, spouses, children, siblings) can be displayed
  5. All personIDs are styled "I" is displayed with an alternate font, distinguishing it from from a lower-case l or a 1.
  6. The Event Map is enlarged a bit, as I've eliminated the mostly-blank shaded left-hand column, and tweaked the even list adjacent to the map. The entire map can also be hidden and re-displayed.
  7. The Source Citations box is also enlarged with the elimination of the mostly-blank left-hand column. New bolding of the Source titles improve readability a bit.
  8. In the Format for Printing page, the cell height for the Source Citations is ignored, under the assumption that, when you print the page, you want to see all of the sources.
  9. Under the control of a mod setting, the person's siblings are displayed, and can be presented either with the Parent data or with the Person data.
  10. When siblings are displayed, half-siblings can be included, and are marked as half-siblings.
  11. A mod option allows the Person Notes to be displayed in places not covered by the related TNG system option, for example, up near the top of the page in the "Personal Information" data block.

See also the subheading Related Mods, some notes under Incompatible Mods, the Visualizations, and additional comments in the .cfg file itself.

Mod Options

Mod version 19+     See a Visualization      [Show details]

[Hide the options]

These options are defined and edited in the form at Admin>>Setup>>General Settings, in the new subform Mod Settings Blocks (in TNGv13) or Robin's Mods (in TNGv12), where the options for various mods are organized into Mod Settings Blocks.

  1. Use smaller generic male and female thumbnails
  2. Show dates of last edit" - There's not much point in showing change dates if the data was loaded by a Gedcom Import
  3. Show PersonIDs for Relatives - Parents, spouses, children, and siblings.
  4. Options about displaying siblings:
    • Where to Display Siblings - "Don't display them", "With personal data", or "With parent's data". #**
    • Number of siblings to show when the Person Profile loads - Since users aren't always interested in siblings, and a list of eight or ten or fifteen siblings can take up a lot of space, you can set this option to display only a few siblings to start. A hyperlink that says "{n} more" will expose the remaining siblings. The option value "0" means "always show them all". (There is not a way to say "don't show any when the page loads but click on a link to show them all").
  5. New Show extended list of siblings - Show half-siblings; that is, all children of all of the profiled person's parents.
  6. New Where to put notes - Allows several possibilities, and overrides a TNG system system
  7. Adjust the styling of templates that use .art‐content‐layout: - This option is driven by a styling conflict between Regroup Person Profile and certain TNG Templates. The styling problem manifests itself by using only half of the screen width to display the Person Profile. I may have fixed this conflict, but still, if you encounter the half-screen display, just to select this option. If it still doesn't work, please let me know.
    • This adjustment is done by Javascript, and only done within the Person Profile. It does not affect any other pages in any template.

Some details about the display of siblings

  • When they are shown with the parents' data (as the parents' "children"),
    • The profiled person is listed but not hyperlinked, and
    • If the person has more than one set of parents, each couple's children are listed.
  • When shown with the person's personal data (as "siblings"),
    • The profiled person is not displayed at all, and
    • If the "Show extended list of siblings" is selected, that list includes half-siblings. That is, the list includes all children of all of the person's parents' marriages. The extended list of children is grouped by the parents of a set of children.

Also,

  • You may have noticed that some of these options enable features that are also implemented by other mods. Those features are included in Regroup Person Profile only when the other mods are incompatible with Regroup Person Profile. See Overlap and Interdependencies in the Other mods section of this aticle]]
  • Several options from mod version 18 that affected the display of event dates and places, and the name/birth/death/age data for relatives have been moved to Regroup Person-Date Place v19. If you want to use both this mod and Regroup Person-Date Place, you must use version 19* of both.
[Hide the options for mod v19]

Mod version 18*      [Show details]

(Note that some of these options have been moved to the Regroup Person-Date Place mod in version 19 of both mods.)

These options are defined and edited in the form at Admin>>Setup>>General Settings, in the new subform Robin's Mods, where the options for various mods are organized into Mod Settings Blocks.

  1. Spacing - Controls whether the Name/Birth/Death/Age data for relatives (parents, spouses, children, and siblings) is on one (possibly wrapped) line, or separated onto three lines. See Visualization 7
    • Less - Just like the native Person Profile. The data for each relative is strung together in one line that can wrap to a new line.
    • More - Similar to some other mods, the Name/Birth/Death/Age data is separated into three lines, each of which could wrap, but probably won't.
  2. Spacing Control - Whether there will be a spacing control at the right end of the Inner Menu that can switch between the two spacing levels above. See Visualization 3, item 4.
  3. Age Format - 'Original': (75 years), or 'New': (Age 75) or (Living, Age 75)
  4. Relatives IDs - Whether to show the PersonID of relatives; e.g. parents, spouses, children, and siblings. See Visualization 3, item 7.
  5. Siblings - Whether and where to display the person's siblings. There are three possible values, representing "Don't show siblings", "Put them in the parents' data block", and "Put them in the persons primary data block". See Visualization 6.
  6. Siblings at Start - Not all of the siblings are necessarily displayed as the page loads. This option controls the number of siblings to be initially displayed. All other siblings are hidden behind a hyperlink. The option value "0" means "always show them all".
  7. Adjust the styling of templates... - For the modified Person Profile to look right in certain TNG templates, this option must be selected. My recommendation is to check this option's checkbox if your modified Person Profile takes up only half of your screen width. If it still doesn't work, please let me know.
    • This 'adjustment' is done by Javascript, and only done within the Person Profile. It does not affect any other pages in any template.

Note that the "Spacing" and "Spacing Control" options coordinate with identically named options in Regroup Person-Date Place so that both options are the same in both mods, and only one spacing control is created on the Inner Menu. If you want to use version 18 of either this mod or Regroup Person-Date Place, and you want to use both mods, you must install a v18 version of both mods.

[Hide the options for mod version 18*]

Before version 18, this mod has two classic Mod Parameters     [Show details]

  1. A value that controls whitespace within the HTML data tables by adjusting HTML cellpadding attribute. The TNG default is cellpadding=4. This mod's default is cellpadding=2, but the padding of 4px can be restored (or increased) with this parameter.
  2. A flag that determines whether to display person ID's for each parent, spouse, and child.
[Hide details]

Other Mods

Many, many mods affect the Person Profile. These notes cannot cover them all.

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. The Mod Settings Blocks mod must be installed before this mod can be installed.
  2. The optional mod Inner Mod Menus 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. It is also visible only to TNG administrators; never to end-users. I highly recommend that you install the Inner Mod Menus mod because Inner Mod Menus provide links to handy information - particularly to the mod settings blocks for this mod's options.
  3. This mod gathers data that can be used by the optional mod Show Mod Names, but there is no dependency on Show Mod Names

This mod is compatible with, and coordinated with, the "Regroup Person" family of mods.    [Show the family members]

[Hide details]

The "Regroup Person" family of mods, developed and supported by Robin Richmond, all affect the Person Profile. Each mods can be used by itself, though several of them are specifically intended to duplicate the functionality of other mods that don't happen to be compatible with Regroup Person Profile, the first and most complex member of the family.

  1. Regroup Person Profile Rearranges the data in and spacing and formatting of the Person Profile. Also (optionally) adds siblings.
  2. Regroup Person-Branch Members - Turns each of the profiled person's branch names into a hyperlink that pops up a list of branch members. Options control which classes of users (e.g. anonymous visitors) can see branch details.
  3. Regroup Person-Child2Parent - Hides the display of selected relationships (typically the most common relationships such as "natural" or "birth") between the profiled person and that person's parents and children.
  4. Regroup Person-Date Place - Adjusts the spacing used to display (1) Event dates, places, and values and/or (2) The name/birth/death/age data for the profiled person's relatives.
  5. Regroup Person-Family Indicators - Based on Jeff Robison's Family Indicators Mod, this mod adds flags (i.e. "indicators") next to the names of the profiled person's relatives. The flags provide information about and links to several aspects of those relatives' relatives, including popup profiles and ancestor or descendant charts.
  6. Regroup Person-Gender Before Birth - Simply moves the Gender "event" so that it appears above the Birth event.
  7. Regroup Person-Hide Branches - Hides branch names from anonymous visitors and/or logged-in users who are not assigned to the branch.
  8. Regroup Person-Map Children - Adds the births of the profiled person's children to the Event Map.
  9. Regroup Person-Move Media - Simply moves the media files above the event map.
  10. Regroup Person-No Living Data - Suppresses display of ANY data about a living or private person the user doesn't have rights to see. By default, TNG will show some data, plus spouses, parents, and children.
  11. Regroup Person-Remove Gender - Removes the Gender event (the sex) from the event tables, leaving the gender icon next to the name as the sole representation of the person's gender.
  12. Regroup Person-Sources - Allows some source and citation data to be hidden for brevity, and displayed as desired.
[Hide the list of Regroup Person mods]

Compatible Mods

This is not a complete list of compatible mods that affect the Person Profile.

Mod Conflicts

This is not a complete list of incompatible mods. Please contact me if you run into any other conflicts.

Overlap

These mods conflict with Regroup Person Profile, but Regroup Person Profile, or a companion mod, implements at least a good part of the functionality of these mods:

Interdependencies

Installation

Files Installed

In TNGv13, this mod includes a typical mod subfolder, with the same base name as the mod's .cfg file. The subfolder is atypical in that no files in it are installed to working TNG folders. However, it does contain critical files that contain the mod's language strings, which the mod does not add to standard cust_text.php files. Instead, the PHP code modified by this mod loads the language strings from files in the mod's languages/ subfolder. Read more about this technique.

In TNGv12 only, there is a second mod subfolder, which is shared by several mods. The folder RR-shared_mod_includes_v12.0.0.4 contains Include files that help to manage mod options in many of my mods:

  1. rrshared_modsettingsblocks4.php - Mod Settings Blocks
  2. img/rrshared_wikilogo.gif - An icon that links to a mod's TNG Wiki page from a Mod Settings Block

Each mod that contains the shared folder may install some or all of its shared files, depending on whether those files already exist. Once a file from the shared folder has been installed (by any mod), that file will not be overwritten or removed by the subsequent installation or un-installation of any mod (including this one), nor will its presence or absence generate any Mod Manager errors.

If you unzip mod distribution files directly into your mods folder, then the presence of the shared subfolder and the installation of its files should be invisible to you. But if you generally copy mod subfolders to your mods folder after you have unzipped the distribution file, then you need to make sure to copy the folder RR-shared_mod_includes_v12.0.0.4 (well, unless you are confident that it is already in your mods folder because it was part of another mod).

[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

1. BEFORE AND AFTER OVERVIEW

Click on the image below to see larger side-by-side non-annotated before and after images. Note that the media files have been clipped out because they haven't changed. But the personal and family data is now laid out differently, the Event Map is now slightly wider, and the Sources, by default, show only the titles, not the full citation information. (Note that Some of the changes shown in the visualizations are now implemented by other mods that were extracted from earlier versions of Regroup Person Profile). In particular, Regroup Person-Date Place now combines the date, place, and description for an event into one cell in the display table.)

Regroup person profile-both.png
2. BEFORE: The personal data section of the original version of the Personal Profile.

The red comments describe some of the changes that the mod will make.

Regroup person profile-before1.png

3. AFTER: The personal AND family data in the new format
  1. Personal meta-data has been moved to the heading.
  2. The "Mod Information" menu, which is visible only to admins, provides links to this Wiki article, and provides a link directly to the mod options.
    • By "directly to", I mean that the link opens this mod's "Mod Settings Block", without the need to select a subform at "Admin>>Setup>>General Settings", nor to scroll down to this mod's options. (See The Mod Settings Block Screenshot.
  3. Events that describe the profiled person are divided into two data blocks. Basic name, birth, death, and burial information are in the first data block (like the native Person Profile), but all other personal events are displayed in a second block, labeled "Other Personal Events" below the person's parents and families.
  4. The white space between blocks of data is now occupied by headings and metadata.
  5. A mod option determnines whether the personID of each relative(spouses, parents, children, siblings) is shown.
  6. The words "Wife" and "Husband" replace "Family" in the table row for the spouse/partner name.
    • I now realize that labels other than "Wife" and "Husband" should be used if the parents are not married. In a future version, I hope to implement labels that reflect the nature of the relationship, though I need suggestions about what terms to use.
  7. The indentation of the children's name/birth/death/age data has been improved. The data now wraps like HTML list items; that is, it does not wrap below the number at the beginning of the line.
Regroup person profile-after19.jpg
4. AFTER: The Event Map

The map is wider than before because the mod has eliminated the colored left-hand column, and put the Event Map label in the whitespace above the map. It has also modified the layout of the first pin legend so it wastes less space, and so that it wraps more cleanly when the page is narrow enough to require wrapping. Also note the button outlined in red at the top right, which changes to "Show Event Map" when the Event Map is hidden.

Regroup person profile-after-map.png
5. AFTER: The Source Citations block

Like the Event Map, the Sources block no longer uses the colored left-hand column, and its label (now "Source Citations") is in the whitespace above the sources. The Regroup Person-Sources mod adds substantial functionality to the Source Citations block. It loads the page with just the Source name, and provides links and buttons that add and remove Source and Citation details.

Regroup person-after-sources.png

6. AFTER: Siblings
  1. A mod option controls whether siblings are displayed in the Parents' data block, in the basic personal data block (as shown here), or not displayed at all.
  2. Another mod option controls how many siblings are shown as the page is loaded If not all siblings are initially displayed, the program displays a "more" link that expands the list to include all siblings.
  3. The the name of the person being profiled is not a hyperlink, since we are already on that person's profile.
Regroup person profile-siblings.png

7. AFTER: The Regroup Person Profile "Mod Settings Block"

A Mod Settings Block is an outlined subform within an Admin>>Setup program that contains the options for a single mod. What is most notable about a Mod Settings Block is that a hyperlink directly to a Mod Settings Block displays only that block (i.e. only one mod's options), not all of the other options in the form or subform.

Here, you see the this mod's Mod Settings Block, in admin_genconfig.php, at Admin>>Setup>>General Configuration. The triangular arrow next to the subfolder heading Mod Settings Blocks is pointing to the right, meaning that the subform is not open, and that your site's other mod settings blocks are not visible. If you were to open the subform by clicking on the heading, you would see the mod settings blocks for other mods that you have installed.

(In TNGv12, the heading above the Mod Settings Blocks is "Robin's Mods")
Regroup person profile-after-modsettingsblock19.jpg

Language Strings

This mod, like many of my newer mods, does not add strings to the standard TNG cust_text.php files. Instead, the language strings are stored in the languages subfolder of the mod's normal subfolder, in files named {language}_custtext.php (e.g. French-UTF8_custtext.php.) I'm using this nonstandard technique for several reasons, but there is a rarely-relevant downside that comes in to play only if you want to override the string value that the mod assigns to a language string. (Read about the problem and the solution.)

White Space

Aside: Vertical whitespace can produce a feeling of "openness" in web pages and other media. But sometimes it unnecessarily reduces the amount of data that can be seen at once, and increases the need for users to do vertical scrolling. So I've been known to push back on whitespace a bit - especially when whitespace is generated by <br> tags rather than style rules. To that end:

  1. This mod uses styles to decrease the whitespace between the HTML tables that define various sections of the Person Profile (basic personal data, parents, families, the event map, media items, etc.). This mod provides 1ex of whitespace in the bottom margin of each table. You can increase that whitespace with a style rule such as .datatable {margin-bottom:1em;} at the bottom of your genstyle.css or in your template's mytngstyle.css.
  2. This mod removes a hard break from the end of the TNG "innermenu". Whitespace below the innermenu can be restored by a style rule such as .pub-innermenu {margin-bottom:1em;} at the bottom of your genstyle.css or your template's mytngstyle.css.
    • The "innermenu" is a horizontal menu on most TNG pages that appears immediately below the "Tab menu". It usually has white text on a dark background, and its links are almost always separated by vertical bars. In the Person Profile, the innermenu looks something like this:
      Personal Information  |  Media  |  Notes  |  Source Citations  |  Event Map  |  All  |  PDF  
    • This change affects not just the Person Profile, but most TNG page headings. However, the .pub-innermenu style rule shown above will restore whitespace to all affected pages.

Formatting Person and Family IDs

In order to distinguish the leading "I" of a person ID from a "1" or a lower-case "l", this mod displays PersonIDs and FamilyIDs with style classes that change the font of the ID's.

Revision History

Mod Version TNG Version Date Note
13.0.0.19e 13-13.0.1 28Nov2020 Established compatibility with the Public Access Control mod.
13.0.0.19d 13-13.0.1 10Nov2020
  1. Bug fix: when a parent of the profiled person is undefined ALL children of an undefined parents were being shown as half siblings.
  2. Norwegian translation by Svein Krakeli
  3. Moved RACE and CREM to the main data block.
  4. Suppresses empty notes
13.0.0.19c 13 7Oct2020

v19c 7 Oct 2020

  1. Bug fix: the 'Hide Map'/'Show Map' button was not changing to 'Show Map' when the map is hidden.
  2. Bug fix: Events and notes used different-sized fonts because of a TNGv13 upgrade mistake
  3. No longer shows the tree name if there is only one tree in the database

v19b 3 Oct 2020

  1. Fixed a typo that broke the the mod parameter edit page.

v19a 29 Sep 2020

  1. Implemented an ad-hoc heading that goes above all of the media items. The heading value comes from a custom string that must be defined in each language's cust_text.php file.
  2. Modifications to the French translation.

v13.0.0.19 17 Sep 2020

  1. Changed 6 target location search strings that now specify the "normal" class for data block table tags.
  2. Added a target location to handle TNGv13's new placement of LDS events vis-a-vis custom events.
  3. Now uses the Mod Settings Blocks mod rather than shared files.
  4. Added French translations by Katryne Chauvigné-Bourlaud
12.0.0.19 12.0 - 12.3 15Aug2020 Most of the changes involve coordination with other Regroup Person* mods   [Show details]
[Hide details]
  1. Fixed a typo that was preventing sibling's popup profiles from popping up.
  2. Moved changes to the format of relatives' name/birth/death/age info to Regroup Person-Date Place, which was already handling event date/place spacing. This also removed the spacing button from this mod and the relatively complex coordination between the two mods over the spacing button.
  3. Moved changes to the Age format to Regroup Person-Date Place since the age format is part of relatives' name/birth/death/age info.
  4. This mod still has to coordinate with Regroup Person-Date Place in that the formatting of siblings' name/birth/death/age strings is different if Regroup Person-Date Place is installed.
  5. Both this mod and Regroup Person-Date Place have been identified as v19, since the changes in the functionaly of and coordination between the two mods means that if both are installed, they both must use v19 or above.
  6. Under control of a new option, the mod now can move person notes up into the main personal data block.
  7. Another new mod option determines whether record change dates are displayed. (There isn't much point in displaying change dates if a Gedcom Import has specified the same change date for every record, whether it was changed or not.)
  8. Coordinates with Regroup Person-Family Indicators to make sure that the Regroup Person-Family Indicators icon is used for siblings.
  9. See the .cfg file Revision History for other details.
[Hide details]
12.0.0.18d 12.0 - 12.3 24Feb2020
  • The siblings list is now labeled "Siblings" whether it is in the personal data block, or in the parents' data block.
  • Added a missing %end:% tag, as required in TNGv12.3.
  • Upgraded to version 4 of the shared mod libraries.
12.0.0.18b 12.0 - 12.2 19Dec2019 Upgraded to version 3 of the shared mod includes libraries, installed a temporary CSS patch to allow this mod to work in certain templates, fixed a bug that was preventing relatives' data from being reformatted into three lines, and eliminated a conflict with Regroup Person-Source v18b.
12.0.0.18 12.0-12.2 28Sep2019
  • Moved the mod options to admin_genconfig.php, which requires shared include files for Mod Settings Blocks.
  • Can now display siblings, either in the main person data block, or in the parents' block.
  • Can display relatives name/birth/death data on one line or on three lines.
  • Can display a spacing control to dynamically affect the relatives name/birth/death format.
  • Has new options to control the display of siblings, the relatives' data, and the spacing control.
  • The presence of the spacing control is coordinated with Regroup Person-Date Place, which has its own spacing options.
12.0.0.17 12.0-12.2 24Jul2018 Fixed a typo that was preventing the marriage block displaying the words "Wife" or "Husband".
12.0.0.16p 12.0+ 24Jul2018 No functional changes; made compatible with TNGv12.
11.0.0.16p 11.0-11.1.2+ 28 Mar 2016 No functional changes. Removed the second line of the cust_text.php target location search strings.
11.0.0.16a 11.0-11.1 28Mar2016 Updated for TNGv11. Added Race to the set of events that I have moved from the Other Personal Events table to the main personal events table.
10.0.1.15a 10.0.1-10.1.3 10Mar2016 Fixed an old bug in location 33 that erased the event map if any notes were attached to the person rather than to an event.
10.0.1.15 10.0.1-10.1.3 20 Feb 2016 - Moves some Source Citations functionality to [[Regroup Person-Sources] to establish compatibility with Citation Master.
- Implemented Show Mod Names functionality.
- Fixed a bug that disabled the scrolling of citations.
- Eliminated a TNGv10.1 database function call in one target location.
10.0.1.14f 10.0.1-10.1.2 19Jul2015 - Followed more of Jeannette Wickham's suggestion and added name facts and events to the primary personal data block, instead of "Other Personal Data".
- Fixed two old bugs in my code that put some notes in narrow columns.
- Fixed another old bug that caused some event source citation links not to be enclosed in brackets.
- Added Norwegian translation of cust_text strings, courtesy of Ørjan K. Albriktsen.
- Moved code to accommodate the Public Access Control mod.
10.0.1.14 10.0.1-10.1.1 08Jul2015 Folded Regroup Person-Other IDs back into this mod. Followed Jeanette Wickham's suggestion to put cause of death plus secondary birth, death, and burial events in the data block at the top of the page instead of in the "Other Personal Data" block. Now works with Default Photo Preview. Improved code comments. Reintroduced some of the whitespace that I had eliminated by removing <br/> tags.
10.0.1.13 10.0.1-10.1 03Jan2015 Had to restore some trailing spaces to some lines of code, because I had mistakenly tested the mod with a beta version of Mod Manager that was deleting trailing spaces.
10.0.1.12 10.0.1-10.0.3 27Dec2014 Moved some functionality from this mod to five new mods whose names also begin with "Regroup Person".
10.0.1.11 10.0.1-10.0.3 10Aug2014 Modified the way Person and Family ID's are displayed, and added the capability of displaying Person ID's for parents and children.
10.0.1.10 10.0.1-10.0.2 23 Jun 2014 Fixed a bug that broke hyperlinks to husband or wife if the string "Family" is in the tree ID.
10.0.1.9 10.0.1-10.0.2 13May2014 Now handles sub-event data entered in TNG, like Agency, Cause, Address, etc.
10.0.1.8 10.0.1-10.0.2 12May2014 Changed a hard break to a div to work better with Relationship Display Mod, and moved the changes in cust_text from the top of the file (where, I've learned, some people don't have the distribution comments) to the bottom of the file.
10.0.1.7 10.0.1-10.0.2 30Apr2014 Fixed to work with TNG v10.0.2 as well as v10.0.1
10.0.1.6 10.0.1 26Apr2014 Used classes more effectively and eliminated some side effects that could show up in other TNG modules.
10.0.1.4 10.0.1 21Apr2014 Accommodated the installation of Geocode Assist Mod and Wiki Integration. Displays the "I" in the Person ID in a font that distinguishes it from "l" and "1".
10.0.1.3 10.0.1 17Apr2014 Removed a couple of changes and changed a couple of others to improve compatibility with other mods - specifically Family Preview Mod and mods that tweak the Event Map Pins legend.
10.0.1.2 10.0.1 16Apr2014 Fixed bugs that (1)repeated marriage information for people with multiple marriages & (2) didn't always display the person id number and edit date. Also accommodated another mod.
10.0.1.0 10.0.1 15Apr2014 Initial release.

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 13.0.0.19e 13 English
Turner mob family Genealogy Margaret Turner Public site 10.0.1.14d 10.1.1 EN
Stamboom Jongman Roel Jongman Public/Private site 10.1.0.15a 10.1.3 NL, DE, EN
The Road to Ethel Alicia Clemmons Public site 12.0.0.17 12.0.3 English
Auf den Spuren meiner Ahnen Michael Klein Public/Private site 12.0.0.18d 12.0.3 DE, ENG
Baza danych Rodziny Jarocińskich Michał Jarociński non-public site 13.0.0.19d 13.0.1 / T7 PL, EN
Sidsel & Svein Krakeli Familiesider Svein Krakeli Public/Private site 13.0.0.19c 13.0.0 NO, ENG
Vitter-Weaver Genealogy Jeffrey Vitter Public site 13.0.0.19c 13.0.1 EN, FR