Changes

Jump to navigation Jump to search
1,487 bytes added ,  19:21, 16 September 2019
→‎Mod Parameters: for version 18
Line 31: Line 31:  
| __TOC__
 
| __TOC__
 
|}
 
|}
== Mod Parameters ==
+
== Mod options ==
This has two parameters that affect getperson.php:
+
Before mod version 18, this mod had two Mod Parameters:
 
# 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.  
 
# 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.  
 
# A flag that determines whether to display person ID's for each parent, spouse, and child.
 
# A flag that determines whether to display person ID's for each parent, spouse, and child.
 +
 +
In version 18, this mod has six custom TNG settings, defined and edited in the form at Admin>>Setup>>General Settings, in the new subform '''[https://tng.lythgoes.net/wiki/index.php?title=Mod_Settings_Blocks Robin's Mods]'''
 +
# '''Spacing''' - Controls whether the Name/Birth/Death/Age data for relatives (parents, spouses, children, siblings) has "more" or "less" spacing.  "More" means the data occupies 3 lines.
 +
# '''SpacingControl''' - Whether there will be a spacing control at the right end of the Inner Menu that can change the spacing above.
 +
# '''AgeFormat''' - 'Original': (75 years), or 'New': (Age 75) or (Living, Age 75)
 +
# '''ShowRelativesIDs''' - Whether to show the PersonID of relatives.
 +
# '''SiblingsBlock''' - 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)".
 +
# '''SiblingsAtStart''' - The number of siblings to show before the rest are hidden behind a "show more" link. "0" means "always show them all"
 +
 +
Note that the "Spacing" and "SpacingControl" options coordinate with identically named options in '''[[Regroup Person-Date Place]]''' so that both values are the same, and only one spacing control is created on the Inner Menu.  Javascript code in admin_genconfig.php keeps the options in sync.
    
== Other Mods ==
 
== Other Mods ==
'''Experienced'''
5,069

edits

Navigation menu