Difference between revisions of "TextPlus Charts"

From TNG_Wiki
Jump to navigation Jump to search
(Corrected user detail.)
 
(156 intermediate revisions by 23 users not shown)
Line 1: Line 1:
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = TextPlus Charts
 
| mod_name        = TextPlus Charts
| mod_summary    = Two new charts: Text+ Descendant Chart, and Text+ Ancestor Chart.
+
| mod_summary    = Implements the Text+ Ancestor & Descendant Charts.
 
| mod_validation  =  
 
| mod_validation  =  
| download_link  = For {{Tv110}}{{Tv1010}}[[Media:textplus_charts_v10.1.0.12.zip|textplus_charts_v10.1.0.12.zip]]
+
| mod_last_update = 23 Sep 2023
<hr/>Language Strings:
+
| download_link  = [[Media:textplus_charts_v14.0.0.18.zip|v14.0.0.18]]{{Tv140}}<div style='font-size:90%;clear:both;'>(See the [[#Revision_History|Revision History]])</div>
<div style="border:dotted thin grey;">French, Dutch, German, Norwegian UTF8 translations:  
 
[[Media:textplus_charts_utf8_v10.1.0.12.zip|textplus_charts_utf8_v10.1.0.12.zip]]</div>
 
<div style="border:dotted thin grey;">French, Dutch, German, Norwegian non-UTF translations: [[Media:textplus_charts_non-utf_v10.1.0.12.zip|textplus_charts_non-utf_v10.0.1.12.zip]]</div>
 
<hr/>See body of article for mod versions for TNGv10.0
 
 
| download_stats  =
 
| download_stats  =
| mod_author      = [[User:Robinrichm|Robin Richmond]] with translations by Henny Savenije, Hendrik Martius, Bernard Wortelboer, &amp; Jan-Thore Solem, and testing help from Henny Savenije and Alan Wilcox
+
| mod_author      = [[User:Robinrichm|Robin Richmond]] with translations by Ron Krzmarzick, Karsten Weikop, Bernard Wortelboer, Hendrik Martius, and Kåre Kjøllesdal.
| mod_url        = [TextPlus Charts] (''This'' Page)
+
| mod_url        = [[TextPlus Charts]] (this page)
 
| mod_contact    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
 
| mod_contact    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
| mod_support    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums]
+
| mod_support    = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form]
| mod_version    = 10.1.0.12 for TNGv10.1.* and TNGv11.*<br/>10.0.2.10b for TNG v10.0.2 and 10.0.3
+
| mod_version    = 14.0.0.18
| min_TNG_ver    = 10.0.2
+
| min_TNG_ver    = 13.0
| max_TNG_ver    = 11.0.1
+
| max_TNG_ver    = 14.0.3
|   TNG_file_list  = '''Updates''' admin_pedconfig.php, <br/>Descendant charts (descend.php, descendtext.php, desctracker.php, register.php), <br/>Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php),<br/> tngrobots.php, <br/>cust_text.php (English, Dutch, French, German, Norwegian), <br/>css/genstyle.css<br/>
+
| TNG_file_list  = This mod modified and installs numerous files. See '''[[#Installation|the Installation section of this page]]'''
'''Installs:''' descendtextplus.php, pedigreetextplus.php, tngdblib_textplus.php, English/textplus_help.php, German-UTF8/textplus_help.php, extensions/textplusmenu.png, extensions/textplusinnermenu.png
+
| related_mods  = [[Count Descendants]], [[Inner Mod Menus]], [[Mod Settings Blocks]], [[TextPlus Charts-French]]
| related_mods  = [[Show Mod Names]], [[Blue Info Button]]  
+
| notes    = Installs Czech, Danish Dutch, German, Norwegian, and Spanish translations. French translations require the '''[[TextPlus Charts-French]]''' mod
| notes    =  
+
}}{| style="margin-right:0.5 em;" align="right"  
}}
 
 
 
{| style="margin-right:0.5 em;" align="right"  
 
 
| __TOC__
 
| __TOC__
 
 
|}
 
|}
 
== Purpose of the Mod ==
 
== Purpose of the Mod ==
To define two new charts - The Text+ Pedigree Chart (on the Pedigree inner menu), and the Text+ Descendant Chart (on the Descendant Charts inner menu). Both charts follow a text format (basically an outline layout), and are accessed through the TNG "Inner Menu" (the link menu just below the TNG Tab Bar) on the Person Profile and on Pedigree and Descendant chart pages.
+
To define two new charts - the Text+ Ancestor Chart, and the Text+ Descendant Chart. Both charts follow a text format (basically an outline layout) but draw lines between parents and children.  Links to these charts are placed on the TNG "Inner Menu" (the horizontal link menu just below the TNG Tab Bar) on the Person Profile and on Pedigree and Descendant chart pages. The Inner Menu on those pages already contains links to various Ancestor and Descendant charts.
 +
== Features of the Text+ Charts ==
 +
* The Text+ Descendant Chart is similar to TNG's Text Descendant Chart, but has several additional features.
 +
* The Text+ Pedigree Chart serves the same purpose as TNG's Text Ancestor Chart, but does not use the standard 4-generations-per-page Pedigree format. It can display at least 15 or so generations in one chart that is one page ''wide'' and several pages ''long''. It also has some of the same 'additional features' as the Text plus Descendant Chart. 
 +
<!---------------------- Features Double Toggle --------------------->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-features1 mw-customtoggle-features2' id='mw-customcollapsible-features1'  style='text-decoration:underline;color:#0645ad;'>&#91;Show Additional features&#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-features2' style='border:thin solid grey'>
 +
<div class='mw-customtoggle-features1 mw-customtoggle-features2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide features&#93;</div>
 +
Both charts:
 +
# Draw lines to connect people with their children.
 +
# Display places of birth and death instead of just dates.
 +
# Display charts display alternate birth date and/or place (i.e. christening date/place) when the birth date and/or place is missing.
 +
# Display burial date and/or place when the death date and/or place is missing. (When the "location" component of a burial placeplace contains the word "Cemetery", the entire Cemetery name is removed from the placename.)
 +
# Display the last known place of residence and the date of that residence event for people who are living (if security contraints allow it).
 +
# Can display ALL of a person's descendants or ancestors rather than a specific number of generations,
 +
# Display a summary at the bottom of the chart,
 +
# Have mod options that control where, whether, and how to present dates, placenames, age, and marriage data.
 +
# Have run-time options that control the size and spacing of the charts. Some parameters are available in the main window, and some parameters are available only in the Format for Printing window.
 +
# Have run-time options that affect the information to be displayed in the chart. (See '''[[Mod_Options|Mod Options]]''' below.
 +
# Allow the user to save the size and spacing parameters to a cookie for use by subsequent charts.
 +
<div style='text-align:right;>&#91;<span class="mw-customtoggle-features1 mw-customtoggle-features2" style='text-decoration:underline;color:#0645ad;'>Hide Features</span>&#93;</div>
 +
</div>
 +
<!---------------------- End of Features Double Toggle --------------------->
 +
 
 +
== Options and Settings ==
 +
This mod has several types of settings, including
 +
# Mod-specific configuration variables, which I ordinarily call "Mod Options".
 +
# New choices for native selection box options at Admin>>Setup>>Chart&nbsp;Settings
 +
# Run-time options in the TextPlus Chart programs that affect charts dynamically
 +
# Persistent cookies that retain some of the run-time option settings.
 +
<!---------------------- Options Double Toggle --------------------->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-options1 mw-customtoggle-options2' id='mw-customcollapsible-options1' style='text-decoration:underline;color:#0645ad;'>&#91;See all Options details&#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed toccolours' id='mw-customcollapsible-options2'>
 +
<div class='mw-customtoggle-options1 mw-customtoggle-options2' style='text-decoration:underline;color:#0645ad;'>&#91;Hide Options Details&#93;</div>
  
== Mod Options ==
+
=== Mod Options ===
The options offered by this mod are implemented through the TNG Admin >> Setup >> Chart Settinsg menu.
+
There are about 10 settings (depending on how you count them) in the TextPlus Charts "[[Mod Settings Blocks|Mod Settings Block]]" at '''Admin >> Setup >> Chart&nbsp;Settings >> Mod&nbsp;Settings&nbsp;Blocks
# To select the Text+ Pedigree Chart as the default chart to generate when you click the "Pedigree" tab in the Person Profile,
+
[[Image:textplus17-msb.jpg]]
#* Select "Pedigree Chart" on the "Charts Settings" menu, and
 
#* Select "Text+" the "Initial Display drop-down box.
 
# To select the Text+ Descendant Chart as the default chart to generate when you click the "Descendant" tab in the Person Profile,
 
#* Select "Descendant Chart" on the "Charts Settings" menu, and
 
#* Select "Text+" the "Initial Display drop-down box.
 
# If you install the TextPlus Charts mod as well as other mods that install links on the TNG Inner Menu, the Inner Menu can become awkwardly long.  To save space on Inner Menu by eliminating the original "Text" links:
 
#* Select "Common Elements" on the "Chart Settings" menu, and
 
#* Check the "Yes" button next to the new "Hide Plain Text Chart Links" option at the bottom of the Common Elements sub-form.
 
  
== Features of the Text+ Charts ==
+
=== Option Choices ===
* The Text+ Descendant Chart is very similar to the standard Descendant Text chart, but has several additional features.
+
This mod adds ''a choice'' to each of two native selection boxes in the options form at '''Admin>>Setup>>Chart&nbsp;Settings''':
* The Text+ Pedigree Chart is
+
# The option to select "Text+" has been added to the "Initial Display" field in the "Pedigree Chart" subform.
* They draw lines to connect people with their children.
+
# Similarly, the option to select "Text+" has been added to the "Initial Display" field in the "Descendancy Chart" subform,
* They display places of birth and death instead of just dates.
+
 
* They display alternate birth date and/or place (i.e. christening date/place) when birth date and/or place is missing.
+
=== Run-time Options ===
* They display burial date and/or place when death date and/or place is missing(Note that it removes some cemetery names (by searching for "Cemetery,") from burial place names.)
+
These options are presented by the two Text+ Chart programs to change the charts dynamically, at, well, at run-time. The run-time options are illustrated and described in the [[#Visualizations|Visualizations]] below, and are described with additional detail in [https://www.robinrichmond.com/family/languages/English/rrtextplus_help.php the Text+ Charts help file].
* For living people (when allowed by security constraints), they display the last known place of residence and the date of that residence event.
+
 
* They can (when the number of generations is set to zero) display ALL of a person's descendants or ancestors rather than a specific number of generations,
+
=== Persistent Cookies ===
* They display a summary at the bottom of the chart, and
+
All users (not just Admins, and not just users with accounts) can save their preferred Text+ Print Formatting options (indentation, font size, page width, etc.) for use in subsequent charts. There are separate cookies for the Text+ Ancestor and Descendant charts.
* They allow the user to save the chart parameters to a cookie for use by subsequent charts (whether initiated by the "New Chart" link at the end of a line, or by selecting the chart from an inner menu on a profile page or another chart).
+
 
The Text+ Descendant chart also:
+
<div class='mw-customtoggle-options1 mw-customtoggle-options2' style='text-decoration:underline;text-align:right;color:#0645ad;'>&#91;'''Close Options Details'''&#93;</div>
* The Text+ Descendant Chart displays date and place of marriage, and
+
</div> <!-- ================= End of Mod Options double toggle ========== -->
* The Text+ Descendant Chart displays the starting person's parents, with date and place of birth and death.
+
 
And the Text+ Pedigree chart:
+
== Other Mods ==
* The Text+ Pedigree Chart can (optionally) display the siblings of each ancestor, giving a richer view of the family tree, and
+
=== Conflicts ===
* The Text+ Pedigree Chart can (optionally) display blank lines at certain points in the chart to improve readability.
+
No known conflicts with published modsHowever, there is a conflict with older versions of an Add New Items mod that was written by Ian Fettes.
 +
 
 +
=== Related Mods ===
 +
<ol>
 +
<li>{{RobinBoilerplate |text=msb}}</li>
 +
<li>{{RobinBoilerplate |text=imm}}</li>
 +
<li>{{RobinBoilerplate |text=smn}}</li>
 +
<li>This mod coordinates with '''[[Count Descendants]]''' in two distinct ways.
 +
<ol type='a'>
 +
<li>The Descendant Chart program's Inner Menu:
 +
<ul><li> The Text+ ''Descendancy'' Chart program installed by this mod contains a link to the Count Descendants chart that is visible only if [Count Descendants]] is installed.</li>
 +
<li>Similarly, the Count Descendants Chart installed by [[Count Descendants]] contains a link to the The Text+ Descendant Chart that is visible only if TextPlus Charts is installed.</li></ul>
 +
<li>The '''Admin>>Setup>>Chart Settings''' form, where both mods add an option to the "Initial Display" selection box in the "Descendancy Chart" section of the Chart Settings form</li>
 +
</ol></li>
 +
<li>This mod coordinates with '''[[Ancestor map]]''' in that the Inner Menus of the TextPlus Charts and [[Ancestor map]] programs contain links to each other, but those links are visible only if the relevant mod is installed.</li>
 +
</ol>
 +
 
 +
== Files Changed ==
 +
# Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
 +
#* Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
 +
#* Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
 +
# Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
 +
# Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
 +
# Modifies the English and Dutch cust_text.php files.
 +
#* The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
 +
#* There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
 +
#* The only strings added to cust_text.php files are
 +
#*# The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
 +
#*# In English only, there are two strings that are used as pointers to the files containing language strings and help text.
 +
# Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".
  
==Compatibility With Other Mods==
+
== Installation ==
No known conflicts with published mods. However, there is a conflict with older versions of an Add New Items mod that was written by Ian Fettes.  
+
=== Files Modified ===
 +
<!-- --------------------- Files Installed Double Toggle ------------------- -->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-modified1 mw-customtoggle-modified2' id='mw-customcollapsible-modified1' style='text-decoration:underline;color:#0645ad;'>&#91;See details &#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-modified2'>
 +
<div class='mw-customtoggle-modified1 mw-customtoggle-modified2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
# Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
 +
#* Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
 +
#* Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
 +
# Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
 +
# Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
 +
# Modifies the English and Dutch cust_text.php files.
 +
#* The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
 +
#* There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
 +
#* The only strings added to cust_text.php files are
 +
#*# The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
 +
#*# In English only, there are two strings that are used as pointers to the files containing language strings and help text.
 +
# Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".
 +
<div class='mw-customtoggle-modified1 mw-customtoggle-modified2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
</div> <!-- ---------------------End of Files Installed Double Toggle----------------- -->
 +
=== Files Installed ===
 +
<!-- --------------------- Files Installed Double Toggle ------------------- -->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-fi1 mw-customtoggle-fi2' id='mw-customcollapsible-fi1' style='text-decoration:underline;color:#0645ad;'>&#91;See details &#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-fi2'>
 +
<div class='mw-customtoggle-fi1 mw-customtoggle-fi2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
* PHP
 +
*# '''rrtextplus_descend.php''' - The TextPlus Descendant Chart
 +
*# '''rrtextplus_ancestor.php''' - The TextPlus Ancestor Chart
 +
*# '''rrtextplus_lib.php''' - A PHP function library used by both Text+ Chart programs
 +
*# '''rrtextplus_ancestor_tracker_ajx.php''' - An AJAX program that generates the new "Locate In Chart" popup for the Ancestor chart
 +
*# '''rrtextplus_descend_tracker_ajx.php''' - An AJAX program that generates the new "Locate In Chart" popup for the Ancestor chart
 +
*# '''rrtextplus_help.php'''> - A driver for the three TextPlus Chart help files
 +
* Javascript and CSS
 +
*# '''js/rrtextplus_lib.js''' - A standalone Javascript library
 +
*# '''css/rrtextplus.css''' - A standalone CSS stylesheet.
 +
* Image files - all containing small icons:
 +
*# '''img/rrtextplus_plus.gif''' - A white-on-black plus sign icon used in the TextPlus Descendant Chart as an icon for tree branches that have been compressed.
 +
*# '''img/rrtextplus_locate.gif''' - The 'locate person in chart' icon for the Text+Descendant Chart
 +
*# '''img/rrtextplus_top.png''' - The up-arrow "go to the top of the chart" link in the floating footer
 +
*# '''img/rrtextplus_down.gif''' - Light down-arrow that implies a pull-down menu
 +
*# '''img/rrtextplus_down_black.gif''' - Dark down-arrow for use in the b&w Format for Printing page
 +
<div class='mw-customtoggle-fi1 mw-customtoggle-fi2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
</div> <!-- ---------------------End of Files Installed Double Toggle----------------- -->
 +
=== Files Modified ===
 +
<!-- --------------------- Files Modified Double Toggle ------------------- -->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-modified1 mw-customtoggle-modified2' id='mw-customcollapsible-modified1' style='text-decoration:underline;color:#0645ad;'>&#91;See details &#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-modified2'>
 +
<div class='mw-customtoggle-modified1 mw-customtoggle-modified2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
# Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
 +
#* Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
 +
#* Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
 +
# Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
 +
# Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
 +
# Modifies the English and Dutch cust_text.php files.
 +
#* The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
 +
#* There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
 +
#* The only strings added to cust_text.php files are
 +
#*# The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
 +
#*# In English only, there are two strings that are used as pointers to the files containing language strings and help text.
 +
# Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".
 +
<div class='mw-customtoggle-modified1 mw-customtoggle-modified2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
</div> <!-- ---------------------End of Files Modified Double Toggle----------------- -->
 +
=== Language Files ===
 +
This mod does not add the language strings used by TextPlus Charts programs to conventional cust_text.php files. Instead, they are loaded directly from files named '''{language}_custtext.php ''' in the <code>languages</code> subfolder within the mod subfolder.  The mod's help files are also stored in the mod subfolder, and are not installed to the standard TNG "languages" folder. None of the languages whose translations are installed with this mod are translated into all of those languages.
 +
=== Screen Clips ===
 +
The TNG help files use screen clip image files, and separate screen clips ''can be defined'' for each language. But only French and English have the complete set of screen clips. English screen clips are used in place of missing screen clips.
  
This mod adds "Text+" links to the TNG "Inner Menu" of the Person Profile and distributed chart programs (the Pedigree Chart, Vertical Chart, Register Chart, etc).
+
French is the only language that has all three help files and all screen clips. The net file size of the French language strings, help text, and screen clips makes it necessary to install the French translations through the '''[[TextPlus Charts-French]]'' mod.
It coordinates with the [[Count Descendants]], [[World Map]], and [[Fan Chart]] mods so that
+
{{RobinBoilerplate |text=install}}
# In the Text+ Chart programs, links to the programs by those three mods will appear if and only if those programs are installed.
 
# In the programs installed by those three mods, a Text+ link will be displayed if the TextPlus Charts mod has been installed - no matter whether it was installed before or after the other mod.
 
 
However, some other mods also install chart programs that add links to the TNG "Inner Menu".  Programs installed by those mods will ''not'' have Text+ links, and the Text+ Chart programs will not have links to those programs.
 
  
== Related Mods ==
+
== Visualizations ==
This mod requires [[Show Mod Names]] to be installed.  It also depends on [[Blue Info Button]] to format the little information links that it places next to the new and modified options on the Admin >> Setup >> Chart Settings forms. (See the visualizations.) Failing to install [[Blue Info Button]] will not generate a mod conflict or run-time error; it will just fail to format those links.
+
Some of these visualizations are marked up and annotated more thoroughly in the Text+ Charts help file, which can be found on [https://www.robinrichmond.com/family/languages/English/rrtextplus_help.php the mod author's TNG site]
  
== Visualization of this Mod ==
 
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 +
|- style="border-top:4px solid black;" <-- ================================================== -->
 +
| 1. <span style="color:brown;">''' Text+ Descendant Chart'''</span><br>
 +
See also the '[http://www.robinrichmond.com/family/rrtextplus_help.php?helpfile=descend Descendant Chart help file] on the author's website.
 
|-
 
|-
|<span style="color: red">''' Text+ Descendant Chart'''</span>
+
| [[Image:textplus16_descendant_main.jpg]]
# This is the "main" screen. Please note that before you print this chart, you should generally use TNG's "Pretty Print" (or "Print Formatting") screen to finalize the chart format.
 
# This program extends the "Inner Menu" to add some run-time options.
 
# The "Text+" link is highlighted within the "Inner Menu" in this visualization.
 
# The two options on the second line of the Inner Menu are available on the main screen ''and'' the Print Formatting screen.
 
# This program has a help file, like many administrative programs.
 
# There is a reminder to use the Print button.  You'll likely get undesired wrapping if you try to print this screen directly.
 
# Note the abbreviations
 
#* "chr." to indicate that this is a christening date
 
#* "b." to indicate that this is the birth place
 
#* "bur" to indicate that this is the burial location.
 
# The vertical dotted line formed by colons connects spouses of one person
 
# The hyperlinked arrows link to subsequent generations of descendants.
 
# Note the summary at the end of the chart. (I have discovered that the line summary assumes that all collapsable branches of the family tree (the minus signs inside a box) are open. That is, when you collapse a branch, the counts do not change.  I'll have to try to take care of that in the next release of the mod.)
 
 
|-
 
|-
| [[Image:textplus_charts-descend.png]]
+
| '''Overview of differences between the native Text Descendant Chart and the Text+ Descendant chart.'''
 +
<!--------------------------- Descendant Chart Double Toggle -------------------------->
 +
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-dm1 mw-customtoggle-dm2' id='mw-customcollapsible-dm1' style='text-decoration:underline;color:#0645ad;'>&#91;See details&#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-dm2'>
 +
<div class='mw-customtoggle-dm1 mw-customtoggle-dm2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
 +
<ol>
 +
<li> In the "Inner Menu" (white text on dark blue)
 +
    <ol type='a'>
 +
    <li>The first line of the Inner Menu is essentially the same as it is in the Text charts, though
 +
        <ul><li> In the "Generations" selection box, the value 'all' has been selected so that ''all generations'' of the individual's descendants are to be displayed.  The Text+ Chart format can handle upwards of 15 generations in the width of one landscape 8x11 page.</li>
 +
      </ul></li>
 +
    <li>The TextPlus Chart program extends the Inner Menu with two lines of run-time options. On the second line:
 +
        <ul>
 +
        <li>Four checkboxes on the second line control optional features of the chart. These controls are specific to the Text+Descendant Chart.
 +
            <ul>
 +
            <li>The "Hide living & private data..." checkbox is visible only to administrators who can see the data of living and private people. This option lets administrators see the chart as it would be seen by non-administrators.</li>
 +
            <li>The "& Descendants" checkbox hide living and private descendants of living and private people, just to remove some of the not-necessarily-useful "living" and "private" labels in a chart.</li>
 +
            <li>The "& Descendants" checkbox and label have been disabled and greyed-out because you can't hide living and private descendants until you hide living and private data.</li>
 +
            <li>The "Siblings #s" checkbox and label have been disabled and greyed-out because the program won't let you display sibling numbers without generation numbers. </li>
 +
            </ul></li>
 +
        </ul></li>
 +
    <li>On the third line of the Inner Menu (which is the same in the two Text+ Charts),
 +
        <ul>
 +
        <li>The Width option is used to determine where to wrap lines within the chart. (See [[#Margins_and_Line-Wrapping|Margins and Line-Wrapping]] below to understand why the Text+ programs cannot depend on the web browser to wrap lines at the right margin.)</li>
 +
        <li>There is a button that pops up the Text+ Charts help file, which is installed by the mod. (In general, TNG has help files only for Admin programs, not for end-user programs.)</li>
 +
        <li>The presence of the "Format for Printing" button (which is really a duplicate of the standard TNG "Print" button at the upper right of the page) emphasizes that '''users who want to print a Text+ chart should essentially always use the Format for Printing page to control the ''shape'' of the Text+ Chart and make sure that it fits the desired page width.</li>
 +
        </ul></li>
 +
    </ol></li>
 +
<li>At the right side of the Inner Menu is an [https://tng.lythgoes.net/wiki/index.php?title=Inner_Mod_Menus Inner&nbsp;Mod&nbsp;Menu], which drops down from the label "Mod Information". The Inner Mod Menu is opened here for illustration. It has three links:
 +
    <ul>
 +
    <li>The Wiki icon is a link to the mod's Wiki article (i.e. ''this'' article),</li>
 +
    <li>To the section of the Wiki article (i.e. ''this'' article) that describes the mod options,</li>
 +
    <li>A direct link to the mod options within the program that edits the options, at Admin>>Setup>>Chart&nbsp;Settings.</li>
 +
    </ul></li>
 +
<li>The chart legend:
 +
    <ol type='a'>
 +
    <li>The spyglass icon serves as a "Locate descendant in Chart" link is different from the icon used in the native TNG Descendant Text Chart, because the appearance and functionality of that link is different in this program.  See item 4g below.</li>
 +
    <li>The Expand and Collapse buttons mimic the Expand and Collapse buttons from the native TNG Descendant Text Chart, except that
 +
        <ul>
 +
        <li>The Expand button is white-on-black so that it stands out better, and</li>
 +
        <li>The Text+ Chart does a great deal more with compressed branches of the tree:
 +
            <ul>
 +
            <li>The counts in the floating footer shown at the bottom of the screen clip change as branches of the tree are collapsed and expanded, and</li>
 +
            <li>The Text+ Chart uses a session cookie to ''remember'' the clipped branches, and '''shows the chart in the modified state when the chart is displayed in the Format for Printing window or if this person's chart is re-displayed later in the browser session'''.</li>
 +
            </ul></li>
 +
        </ul></li>
 +
    </ol></li>
 +
<li>In the chart itself
 +
    <ol type='a'>
 +
    <li>The starting person's parents are shown at the top of the chart.</li>
 +
    <li>Connects parents to children with solid lines, and connects spouses with dotted lines</li>
 +
    <li>Under the control of mod options, this chart shows dates and places of birth and death, and date and place of marriage.</li>
 +
    <li>Dates can be full or year-only, and places and marriage data can be omitted. (not shown)</li>
 +
    <li>Under the control of a mod option, Text+ Descendant Charts can also include each person's age. (not shown)</li>
 +
    <li>Like the native Descendant Text Chart, branches of the Text+ Descendant Chart's descendant tree can be compressed and expanded. The white-on-black plus sign next to Olive Irene KUYKENDALL reveals that all of her descendants have been clipped out of the chart.</li>
 +
    <li>Clicking on the hourglass icon (for 'Locate in chart') pops up a box labeled "Locate James Billingsley Hutcheson', which contains
 +
        <ul>
 +
        <li>A small chart similar to the Text+ Descendant chart, but that doesn't show siblings; it just shows the path from teh chart's starting person to the target person,</li>
 +
        <li>Hyperlinks to the chart that the native code displays when its "Locate in chart' icon is clicked, and</li>
 +
        <li>Hyperlinks to the target person's Descendant and Ancestor Charts.</li>
 +
        </ul>
 +
        (Of course, there isn't much point in locating a person so close to the starting person, but this popup is just for illustration.)
 +
        </li>
 +
    <li>As you can see immediately above the Chart Summary, the Text+ Chart, like the native Text charts, show a link to a person's descendant chart if that person is (1) a "leaf" of this tree, and (2) has descendants. Also, the link to the descendant chart is formatted like a button so that it stands out more.</li>
 +
    </ol></li>
 +
<li>The chart ends with a summary of its contents.
 +
    <ul>
 +
    <li>The Chart Summary you see here is ''a floating copy of'' the summary that is truly at the very end of the chart (and outside of this screen clip). The floating summary keep track ''dynamically'' of the number of people who are ''visible'' in the chart. It floats at the very bottom of the browser window so that you can always be aware of the size and contents of the chart.</li>
 +
    <li>Through a mod option, the floating footer can be suppressed.</li>
 +
    <li>The title bar of the Chart Summary has a 'top' button that take you to the top of the chart. That link is not particularly meaningful in this screen clip, where the top of the chart is already visible, but it can be very handy in long charts.</li>
 +
    <li>Significantly TNGv12.2 piloted a native "top of page" link in a couple of templates, where it is represented as a bold arrow that always floats in the bottom-right corner of the screen. If and when this arrow is implemented in all templates, the "Top" button will be removed from the Chart Summary.</li>
 +
    </ul></li>
 +
</ol>
 +
<div class='mw-customtoggle-dm1 mw-customtoggle-dm2' style='text-decoration:underline;text-align:right;color:#0645ad;'>&#91;'''Close Text+ Descendant Chart Details'''&#93;</div>
 +
</div> <!-- ================= End of Descendant Chart double toggle ========== -->
 +
 
 +
|- style="border-top:4px solid black;" <-- ================================================== -->
 +
| 2. '''<span style="color:brown;">Text+ Descendant Chart</span> in the Format for Printing window'''<br>
 
|-
 
|-
|<span style="color: red">''' Text+ Descendant Chart in the "Pretty-Print Window'''</span>
+
| [[Image:textplus16_descendant_print.jpg]]
# Now, we're in the "Pretty-Print", or "Print Format" window.  Here, the "Print" button actually prints. The options and buttons DO NOT print with the chart.
 
# The text size and width options are only available in the Print Format window.
 
# Note that you must click Submit for the options to have an effect in this window.  The Save button saves a cookie with your current text and width options.  (The "Hide data" and "Hide descendants" options do not get saved.)
 
# Help is still available.
 
# Because this chart uses the "Portrait" setting for the page width, it requires 102 lines, rather than the 81 lines required by the chart in the first visualization.  
 
 
|-
 
|-
| [[Image:textplus_charts-descend2.png]]
+
| <!--------------------------- Descendant Print View Chart Double Toggle -------------------------->
|-  
+
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-ap1 mw-customtoggle-ap2' id='mw-customcollapsible-ap1' style='text-decoration:underline;color:#0645ad;'>&#91;See details&#93;</div>
| <span style="color: red">'''Text+ Pedigree Chart'''</span>
+
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-ap2'>
* This chart was generated with the parameter Generations=0, so that all of the starting person's ancestors are shown.
+
<div class='mw-customtoggle-ap1 mw-customtoggle-ap2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
* The summary footer reveals that the chart displayed seven generations.
+
# The "Format for Printing" fieldset supplies chart layout parameters that customize a chart for the printer page width, and allows the user to save a persistent cookie with those parameter values.
* Note that, as with the Text+ Descendant Chart, the chart width for this screen is equivalent to a "Landscape" setting, and all seven generations can fit ''on the screen'' without any wrapping.
+
#* These run-time options allow users to make sure that the chart program wraps the chart contents to the desired margins.
 +
# The "Chart Content" fieldset duplicates the content-control checkboxes that were in the main window.
 +
# The chart control form, the Expand/Collapse controls at the top of the chart, the <<Print>> link at the top-right, and the popup copy of the chart summary are not printed to a printer.
 +
# The plus sign next to "Anna Mary (Mamie) Kuykendall", which indicates that her descendants have been compressed out of the chart, is a carry-over from the chart in the main window. That is, if you compress tree branches in the main window, those branches remain compressed when you open the "Format for Printing" window.
 +
# The end-of-line icons that link to charts showing additional generations are still present in the Format for Printing page, but they are hidden when the page is printed..
 +
<div class='mw-customtoggle-ap1 mw-customtoggle-ap2' style='text-decoration:underline;text-align:right;color:#0645ad;'>&#91;'''Close Text+Ancestor Chart Details'''&#93;</div>
 +
</div> <!-- ================= End of Ancestor Chart double toggle ========== -->
 +
 
 +
|- style="border-top:3px solid black;" <-- ================================================== -->
 +
| 3. <span style="color:brown;">''' Text+ Ancestor Chart'''</span>
 
|-
 
|-
| [[Image:textplus_charts-pedigree1.png]]
+
| [[Image:textplus16_ancestor_main.jpg]]
 
|-
 
|-
| <span style="color: red">'''Text+ Pedigree Chart in the "Pretty-Print" screen'''</span>
+
| <!--------------------------- Ancestor Chart Double Toggle -------------------------->
* This is the same chart as above. Note that it is formatted for "Portrait" printing and is therefore narrower than the one above, as illustrated by the arrows that point to 5 lines out of the first 14 that must wrap for Portrait printing.
+
<div class='mw-collapsible mw-collapsible-content mw-customtoggle-am1 mw-customtoggle-am2' id='mw-customcollapsible-am1' style='text-decoration:underline;color:#0645ad;'>&#91;See details&#93;</div>
* The "Siblings" and "Blank lines" checkboxes (outlined in red) are not present in the Text+ <em>Descendant</em> chart.
+
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-am2'>
** When "Siblings" is checked, each person's siblings are shown.
+
<div class='mw-customtoggle-am1 mw-customtoggle-am2' style='text-decoration:underline;float:right;color:#0645ad;'>&#91;Hide details &#93;</div>
** When "Blank lines" is checked, blank lines are inserted at strategic points in the chart to improve readability.
+
The Text+ Ancestor Chart uses what might be called a "double outline" format in which:
* The Siblings and Blank Lines checkbox values are NOT saved to a cookie when the user clicks the Save button.
+
* Each generation is indented by just a few characters,
|-
+
* The data for a given person runs to the right margin and wraps back to ''that generation's'' left margin (not the chart's left margin),
| [[Image:textplus_charts-pedigree2.png]]
+
* Upwards of 20 generations can be included in a single chart, without having to resort to laying pages side-by-side. On 8.5x11 paper in portrait mode, at least 15 generations are quite readable. (Such a chart would be quite long; its length would, of course be reduced if it were printed in landscape orientation.)
|-  
+
In many ways, this layout is more like an outline-formatted Descendancy Chart(such as the Text+ Descendant Chart) than standard Pedigree Charts (or the TNG variants), which
| <span style="color: red">'''Pedigree Chart with Siblings.'''</span> [http://www.robinrichmond.com/demo/text+pedigree-siblings.pdf Saved as a PDF]<br/>
+
* Divide a page (or the screen) into (typically) 5 columns,
<span style="color: red">'''12-Generation Text+ Pedigree Chart.''' with extra blank lines</span>
+
* Constrain all information about people in generation i to column i, and
[http://www.robinrichmond.com/demo/text+pedigree-12gens.pdf Saved as a PDF]<br/>(The charts were saved as PDF using Google Chrome's built-in Print-to-PDF capability.)
+
* Are generally balanced so that they show (or leave space for) ancestral lines with no data.
|-
+
As a result (especially when they contain more than 4 or 5 generations), Text+ Ancestor Charts have less whitespace than comparable Pedigree Charts and are much narrower and thus much easier to print, but tend to be a good bit longer.
| <span style="color: red">'''Text+ Pedigree Setup in the Admin >> Setup >> Chart Settings Form'''</span>
+
 
|-
+
On the second line of the Text+ Ancestor Chart Inner Menu
| [[Image:textplus_charts-setup.png | right]] This mod adds a "Text+" option to the "Initial Display" selection for Pedigree Chart and for Descendant chart.  This allows you to set up the Text+ charts as your default Pedigree and/or Descendant charts. It also adds an option to the "Common Elements" sub-form that allows you to suppress the original plain text chart in case the Inner Menu becomes too crowded with options.
+
# The first three checkboxes determine whether certain information is included in the report
|}
+
#* The "Generation #'s" checkbox is checked, so there is a generation # in front of the name of each person in the report.
 +
#* The "Siblings" checkbox controls whether each person's siblings are included in the chart, or, to put it another, whether the chart contains aunts and uncles.
 +
#* The "Compact Layout" checkbox removes some blank lines that improve readability. That is, the blank lines improve readabilty, and without them, the chart is not quite so long.
 +
# The "Focus on Generation" control causes names in the selected generation to be highlighted. It defaults to generation 1; the starting person. For this screenshot, it has been changed to 9. (The 9th generation is represented here by Christian MOYER and Anna Barbara BERGERY.)
 +
#* The highlighted generation should generally be 1 or zero (i.e. no highlighting) when the chart is printed (from the Format for Printing page).
 +
#* When you change the highlighted generation, the display shifts so that the first person in the chart in that generation is visible on the screen.
 +
 
 +
As with the Text+ Descendant chart, the line wrapping is done by the program, not by the web browser.
 +
<div class='mw-customtoggle-am1 mw-customtoggle-am2' style='text-decoration:underline;text-align:right;color:#0645ad;'>&#91;'''Close Text+Ancestor Chart Details'''&#93;</div>
 +
</div> <!-- ================= End of Ancestor Chart double toggle ========== -->
 +
 
 +
|- style="border-top:3px solid black;" <-- ================================================== -->
 +
| <div id='v16d'>4. '''<span style='color:brown;'>Details of some features introduced with TextPlus Charts v16d</span>'''</div>These features are not necessarily visible in the screenshots above
 +
<div class="mw-collapsible mw-customtoggle-16cv1 mw-customtoggle-16cv2" id='mw-customcollapsible-16cv1' style="text-decoration:underline;color:#0645ad;">&#91;Show Details&#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-16cv2' style="border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT -->
 +
<div class="mw-customtoggle-16cv1 mw-customtoggle-16cv2" style="float:right; text-decoration:underline;color:#0645ad;">&#91;Hide Details&#93;</div>
 +
# The '''Inner Mod Menu''', shown in its open state. It is visible only to TNG Admins.
 +
#: [[Image:textplus16_revision_innermodmenu.jpg]]
 +
# '''Locate Person In Chart''' - I never quite understood the native 'Locate Person in Chart' functionality, which displayed a chart that did draw a path from the starting person to the target person, but though siblings and spouses in a way that just confused me.  Now, the 'Locate" icon just pops up a short variant of the Text+ Descendant Chart to show how the target person descends from the starting person. The popup also has links to
 +
## The old Locate Person In Chart" chart,
 +
## The target person's Text+ Ancestor Chart, and
 +
## The target person's Text+ Descendant Chart.
 +
#: [[Image:textplus16_revision_locatepopup.jpg]]
 +
# '''Floating Footer''' - The footer at the very bottom of the Text+ Ancestor and Descendant Charts can also float that the bottom of the page, so that, at any time, you can see what the scope of the report is.
 +
#* This is particularly significant in the Text+ Descendant Chart, where branches of the chart can be compressed and expanded.  The floating footer keeps track of the number of people (and other elements) that are visible at the moment.
 +
#* The "Top" button in the floating footer's title bar scrolls the browser window to the top of the chart.
 +
#: [[Image:textplus16_revision_floatingfooter.jpg]]
 +
# '''Line Height Adjustment''' - At some settings in some browsers, the vertical line-drawing characters will become separated, like this:
 +
#: [[Image:textplus16_revision_height1.jpg]]
 +
#: But reducing the 'Line height' setting can bring the verical lines together, at the expense of squeezing the text lines closer together.
 +
#: [[Image:textplus16_revision_height2.jpg]]
 +
# '''Mod Options''' - Several mod options now control whether specific elements are included in a chart:
 +
#: [[Image:textplus16_revision_options.jpg]]
 +
<div class="mw-customtoggle-16cv1 mw-customtoggle-16cv2" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide visualizations of recent changes&#93;</div>
 +
</div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
 +
 
 +
|- style="border-top:3px solid black;" <-- ================================================== -->
 +
| <div id='v17'>5. '''<span style='color:brown'>New features in TextPlus Charts v17</span>'''</div>These features are not necessarily visible in the screenshots above
 +
<div class="mw-collapsible mw-customtoggle-171 mw-customtoggle-172" id='mw-customcollapsible-171' style="text-decoration:underline;color:#0645ad;">&#91;Show Details&#93;</div>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-172' style="border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT -->
 +
<div class="mw-customtoggle-171 mw-customtoggle-172" style="float:right; text-decoration:underline;color:#0645ad;">&#91;Hide Details&#93;</div>
 +
Mod options can hide some of these features from end-users, so we don't have to worry about them being forced on end-users.
 +
<ol>
 +
<li>Per a request, I have added the ability for name&age/birth/death/marriage data to be placed on separate lines, in essentially the same way that a couple of mods affect the Person Profile.<br>[[Image:textplus-separatelines-descendant.jpg]]</li>
 +
<li>A set of options enclosed in a box in the mod settings block can be duplicated in the TextPlus programs, where end-users can use these date and place options in real time. The Date & Place form in the Text+ programs is pulled down from the label "Date & Place"<br>[[Image:textplus-dateplaceoptions2.jpg]]</li>
 +
<ul>
 +
<li>The subform's "Save as Defaults" button saves the current options in a permanent cookie. The settings saved in the cookie override (for just the current user) the settings established by the mod options, and, when the user clicks "Redisplay Chart", the settings in the form at that moment override the cookie settings.</li>
 +
<li>On the Format for Printing page, the action button in the date/place subform does not redisplay the chart; it just changes the settings.</li>
 +
<li>The Date & Place options pop-up has changed since I made this screenshotThere is a different "Redisplay Chart" button on the Format for Printing page, so the action button in Format for Printing page Date & Place Options form just says "OK". (Maybe it should just say "Close").</li>
 +
</ul></li>
 +
<li>At some point when I was looking at an Text+ Ancestor Chart, I decided that I'd like to see a summary of the family names (ancestral lines) that appear in the chart. So I have added this information to the report footer:<div>[[Image:textplus-ancestrallines1.jpg]]</div>
 +
It then expands to
 +
<div>[[Image:textplus-ancestrallines2.jpg]]</div>where the hyperlinks go to the Person Profiles of the most distant ancestor in the chart with that name.
 +
FWIW, the "See details" and "Omit details" links are not printed when the chart is sent to a printer.
 +
 
 +
Note that
 +
<ol type='i'><li>The details are not displayed as the page loads, as shown above, and can be re-hidden after being displayed.</li>
 +
<li>The "See details" and "Omit details" hperlinks are not shown in print-outs, and</li>
 +
<li>A mod option suppresses it altogether</li>
 +
</ol></li>
 +
 
 +
<li>I copied the "Locate person in chart" feature from the native Descendant Text chart, and have modified it fairly significantly.
 +
<ul><li>There is a new, much simpler popup. I find this small popup to be much more handy and understandable than the old one.<br>[[Image:textplus-locatedescendant.jpg]]<br>The "Graphical view of this family line" hyperlink links to the chart that the native descendant text chart links to directly. From my perspective, that chart is overkill in most situations.</li>
 +
<li>The new "locate in chart" popup has links to the person's ancestor and descendant charts. I tried to implement those two links directly in the Text+ Descendant chart, but they just added too much noise.  I still hope to make them handier.</li>
 +
</ul></li>
  
== Margins and Line-Wrapping ==
+
<li>I added a very similar "locate person in chart" feature to the Ancestor chart<br>[[Image:textplus-locateancestor.jpg]]</li>
Because the Text+ charts draw lines connecting the generations, these charts cannot simply allow long lines of data to wrap at the browser window's (or printed page's) right margin. The Text+ chart programs have to know the window (or printed page's) width and the font size so that they can wrap lines of data at the appropriate point.
 
  
As a result, the Text+ chart programs contain a form with fields that specify printing parameters. Some parameters are visible in the 'main' program window.  Other prameters that deal with font size and page width are visible only in the 'Print Formatting' window (i.e. the window that pop up when you click on the TNG "Print" buttonThose parameters are described in detail in a help page associated with the Text+ chart programs.
+
<li>Both charts can have "floating footers" that hang out at the bottom of the web browser window so that they can always be seen. Both footers can be suppressed through mod options, and can be closed when they are visible.  I think that most admins will want to suppress the floating Text+ Ancestor chart footer, but the floating footer in the descendant chart provides useful dynamic information about the chart branches that can be hidden and re-exposed by tiny + and - icons in the chart.</li>
 +
<li>The floating footers include an up-arrow icon that quickly sends the user back to the top of the chartDarrin has implemented a larger up-arrow for that purpose in all pages ''in some templates''.  So my up-arrow may not last forever, but at least it is visually compatible with new new TNG arrow.<br>[[Image:textplus17-summarydescendant.jpg]]</li>
  
(Author's note: Most web applications with such constraints would generate PDF files, which allow print characteristics to be controlled with more specificity, but I first wrote versions of the Text+ programs long before the PDF format became standard, and I've simply continued to use HTML with each new implementation.)  
+
<li>The Inner Menu in the Text+ programs now always starts with the label "Chart Types" instead of the "Generations" selection box, which has been moved down to be with other chart formatting and content controls. By itself, the label "Chart Types" isn't very exciting, but it is enhanced by my new (unpublished as of this writing)  "Chart Types Help" mod, which
 +
<ol type='i'>
 +
<li>Adds this "Chart Types" label to ''all'' ancestor and descendant chart programs and</li>
 +
<li>Adds an information icon that pops up a box with description of all of the ancestor or descendant charts</li>
 +
</ol>
 +
The Chart Types Help mod is implemented [https://www.robinrichmond.com/family/rrtextplus_ancestor.php?personID=I20094&tree=rr on my public web site], where you can see a little information icon next to the "Chart Types" label. (See also [https://tng.lythgoes.net/wiki/index.php?title=User:Robinrichm#5._Chart_Types_Help beta documentation for the Chart Types Help mod])</li>
  
==Requirements==
+
<li>The Text+ programs have what I call an "Inner Mod Menu". Many of my mods add Inner Mod Menus to the programs that they modify "significantly" (according to my subjective judgement).  Inner Mod Menus pull down from a "Mod Information" label at the right end of TNG's "inner menu" (just below the Tab menu), and contain handy links to information about the mod - particularly to the mod options.<br>[[Image:textplus-innermodmenu.jpg]]<br>Inner Mod Menus are visible only if the optional [[Inner Mod Menus]] mod has been installed, and can be see only by TNG Admins; never by end users.)</li>
* A working TNG installation.
+
</ol>
* An installed current version of the [[Mod Manager]].
+
<div class="mw-customtoggle-171 mw-customtoggle-172" style="text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide visualizations of recent changes&#93;</div>
* You should backup files listed in the panel on the right.
+
</div><!-- END TOGGLED CONTENT and END DOUBLE TOGGLE -->
  
==Automated Installation==
+
|- style="border-top:3px solid black;" <-- ================================================== -->
# Remove and delete previous version of this mod.
+
| 6. <span style="color:brown;">'''Full Text+ Chart Examples'''</span> (from version 15 of the mod) saved as PDFs.<br>The intent is to show you the chart contents, not the menu features of the programs.
# Backup the files updated by this mod.  They are listed in the panel at the upper right.
 
# Download the .zip file, and extract its .cfg file '''and its subfolder''' to the mods folder.
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]].
 
  
== In the event of a problem ==
+
These charts do not all use the same chart settings or browser settings.  And, of course, the size and shape of charts depends heavily on your data.  That's generally not so true with classic Ancestor charts, but is definitely true with the Text+ Ancestor Chart.
# Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability
+
# [https://www.robinrichmond.com/demo/text+descend4gen-2p-portrait-wrr.pdf Descendant Chart] - 4 Generations, Portrait, 2 pages
# Contact me through [http://robinr.org/family/mod_support.php My Mod Support form].
+
# [https://www.robinrichmond.com/demo/text+descend6gen-9p-landscape-jb.pdf Descendant Chart] - 6 Generations, Landscape, 9 pages
 +
# Descendant Chart - 10 Generations
 +
#* [https://www.robinrichmond.com/demo/text+descendant-10gens-portrait.pdf Portrait]
 +
#* [https://www.robinrichmond.com/demo/text+descendant-10gens-landscape.pdf Landscape]
 +
# [https://www.robinrichmond.com/demo/text+ancestor5gens-1p-portrait-ekh.pdf Ancestor Chart] - 5 Generations, Portrait, 1 pages
 +
# [https://www.robinrichmond.com/demo/text+ancestor7gens-2p-landscape-ekh.pdf Ancestor Chart] - 7 Generations, Landscape, 2 pages
 +
# [https://www.robinrichmond.com/demo/text+ancestor12gens-10p-legal-ekh.pdf Ancestor Chart] - 12 Generations, Legal, 4 pages
 +
#: ("Legal" means "Legal-length paper in Landscape mode)
 +
# 12 Generation Ancestor Chart with siblings:
 +
#* [https://www.robinrichmond.com/demo/text+ancestor-siblings12gen-portrait.pdf Portrait, 14 pages]
 +
#* [https://www.robinrichmond.com/demo/text+ancestor-siblings12gens-landscape.pdf Portrait, 14 pages]
 +
#* [https://www.robinrichmond.com/demo/text+ancestor-siblings12gens-11p-legal-ekh.pdf Legal, 11 pages]
 +
#: You might, at first, think that, because the portrait pages are longer, the chart should take fewer pages in portrait mode.  But in landscape mode, the chart is wider, and fewer lines are wrapped. Thus the portrait chart is 8.5" wide and 154" long, and the landscape chart is 11" wide by 119" long.  The "legal" chart uses larger paper, and thus fewer pages. It is 14" wide by 95" long".  When I'm sharing or saving a large chart like this, I prefer the legal landscape width because the chart is shorter.
  
== Space-Saving Techniques ==
+
(Note: In the Ancestor Chart PDFs, some of the lines and text are colored. I do not know why. The coloring seems to be an artifact of some browsers, at certain zoom levels.)
I have used the following techniques to reduce the amount of text required to display a person's data end place information, and thus reduce the amount of line-wrapping required to print these charts:
 
* I use "??" instead of "Unknown"
 
* If a person was born and died in the same place, I only display the place name once, like this: (Cleveland, Bradley, Tennessee, USA;15 Nov 1815 - 04 Jan 1887)
 
* I use a set of unpublished mods that stores two shorter versions of place names (e.g. "Cleveland, Cuyahoga, OH" and "Cleveland, OH" for "Cleveland, Cuyahoga County, Ohio, USA".  This scheme uses "place normalization" techniques to standardize the format of USA places, and then generates the shorter place names algorithmically. These mods affect several programs, such as the Person Profile and placesearch.php. If you're interested in trying to use this scheme, let me know, and I'll share the mods with you.
 
 
== Mod for older TNG version ==
 
This mod was introduced with TNGv10.0.2. If you're still running TNGv10.0.2 or TNGv10.0.3, use these files:
 
* The primary mod: [[Media:textplus_charts_v10.0.2.11.zip|textplus_charts_v10.0.2.11.zip]]
 
* French, German, Dutch, and Norwegian Language Strings:
 
** [[Media:textplus_charts_utf8_v10.0.2.10b.zip|textplus_charts_utf8_v10.0.2.10b.zip]]
 
** [[Media:textplus_charts_non_utf8_v10.0.2.10b.zip|textplus_charts_non_utf8_v10.0.2.10b.zip]]
 
  
== Mod Change History ==
+
|- style="border-top:3px solid black;" <-- ================================================== -->
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
+
| 7. <span style="color:brown;">'''Changes that the mod makes to the native "Initial Display" options for Ancestor (e.g.Pedigree) and Descendant charts<span>, at Admin>>Setup>>Chart&nbsp;Settings'''</span>
 
|-
 
|-
! Mod Version
+
| [[Image:textplus15_setup.jpg]]
! TNG Versions
 
! Date
 
! Note
 
 
|-
 
|-
| 10.1.0.12
+
| This mod adds a "Text+" option to the "Initial Display" selection in both the "Pedigree Chart" and "Descendant Chart" sections of the options form. These options allow you to define the Text+ charts as your default Pedigree and/or Descendant charts.
| 10.1.2 - 11.0.1
+
 
| 15 Jun 2016
+
|- style="border-top:3px solid black;" <!-- ================================================== -->
| Added the system parameter that suppresses the link to the plain text charts, and the mod and its install programs now coordinate with the Ancestor Map and the Fan Chart.
+
| 8. <span style="color:brown">'''The Text+ Charts [[Mod Settings Blocks|Mod Settings Block]] at Admin>>Setup>>Chart&nbsp;Settings'''</span>
 
|-
 
|-
| Languages 10.0.2.10c
+
| [[Image:textplus17-msb.jpg]]
| 10.0.2 - 10.1.2
 
| 14 Sep 2015
 
| Modified a few German, Dutch, and Norwegian strings that Google Translator messed up.
 
 
|-
 
|-
| 10.1.0.10b &amp; 10.0.2.10b
+
| These options should be fairly self-explanatory, but it is worth noting that
| 10.0.2 - 10.1.2
+
# The stylized "W" next to the mod name is a link to the mod's Wiki article.
| 6 Sep 2015
+
# The message at the bottom of this block refers to the TextPlus Charts options that are elsewhere within the '''Admin>>Setup>>Chart&nbsp;Settings''' page.
| Added annotation to make the Chart Formatting Form and help text easier to find and use, especially on the pretty-print page. Also fixed a bug that prevented non-English language installations from saving printer formatting settings to a cookie.
+
 
 +
|- style="border-top:3px solid black;" <!-- ================================================== -->
 +
| 9. <span style="color:brown">'''Margins and Line Wrapping'''</span><br>Because the Text+ charts draw vertical lines connecting the parents and children, they cannot adjust the chart's left margin as generations are indented. In these charts, long lines of text that bump up against the browser window's right margin wrap all the way to the left margin, like this:
 
|-
 
|-
| languages 10.0.2.8b
+
| [[Image:textplus16_early_wrap.jpg]]
| 10.0.2 - 10.1.1
 
| 27 May 2015
 
| New German translations.
 
 
|-
 
|-
| 10.0.2.10 &amp; 10.1.0.10
+
| Thus, the Text+ Chart programs have to do their own wrapping. To wrap lines effectively, the programs need to know a target page width, which is supplied by an selection box on the Text+ Chart screen, in which the options are options "Mobile", "Portait", "Landscape", or "Legal" (meaning landscape orientation on legal paper.
| 10.0.2 - 10.1.1
+
 
| 25 May 2015
+
With the appropriate settings, the chart excerpt above could look like this:<div>[[Image:textplus16_good_wrap.jpg]]</div>
| In the config file:
+
where the red underline show where the program wrapped the data lines. '''Note that the lines were wrapped at logical breaks in the data.'''
* To avoid conflicts with a new mod from Eric Hoppe, changed a couple of target locations to put my Text+ innermenu link AFTER the text link instead of BEFORE the register link.
+
 
In descendtextplus.php and pedigreetextplus.php:
+
|- style="border-top:3px solid black;" <!-- ================================================== -->
* No longer changes the font family for the chart - uses the same font family and size as other charts
+
| 10. <span style="color:brown;">'''Formatting for Printing'''</span><br>See the '[http://www.robinrichmond.com/family/rrtextplus_help.php?helpfile=print Printing help file] on the author's website.
* Removes an extra </div> that could have affected the footer of some sites.  
+
|}
In descendtextplus.php:
+
 
* Positions the conditional descendcount.php link after the PDF link, instead of before.
+
== Text+ Innermenu Link ==
|-
+
Other mods that add labels to the descendant or ancestor innermenus can conditionally add the Text+ labels with code like this, which applies to the descendant innermenu.
| 10.0.2.9 &amp; 10.1.0.9
+
<syntaxhighlight lang="php">
| 10.0.2 - 10.1.1
+
#Include the Text+ Descendant chart hyperlink only if rrtextplus_descend.php is present.
| 12 Apr 2015
+
#Pass it the generation count that this program used.
| Displays christening data if birth data is missing, and burial data if death data is missing.
+
if (file_exists('rrtextplus_descend.php'))
|-
+
    $innermenu .= "<a href=\"rrtextplus_descend.php?personID=$personID&amp;tree=$tree&amp;generations=$generations\" class=\"lightlink\">{$text['tp-textplus']}</a> &nbsp;&nbsp; | &nbsp;&nbsp; \n";
| 10.0.2.8 &amp; 10.1.0.8
+
</syntaxhighlight>
| 10.0.2 - 10.1
+
 
| 3 Feb 2015
+
== Language Strings ==
|
+
This file has translations in Czech, Dutch, French, German, Norwegian, and Spanish. '''The French translations are installed through the [[TextPlus Charts-French]] mod, because there are French versions of the Ancestor Chart, Descendant Chart, and Print Formatting help pages.
* Added two content-control parameters to the Text+ Descendant program.
+
 
* The Text+ content-control parameters are now on the "main" screen as well as the Pretty Print screen.
+
Significantly, The TextPlus Charts language strings are not stored in standard TNG cust_text.php files, but rather in files named {language}_custtext.php in a folder named <code>languages</code> in the mod's standard subfolder. The TextPlus Charts help files are also stored in the mod subfolder's code>languages folder rather than the main TNG code>languages folder.
* Added the two Text+ programs to tngrobots.php.
+
 
* Minor user interface enhancements.
+
Read about [https://tng.lythgoes.net/wiki/index.php?title=User:Robinrichm#New_Location_for_Language_Strings why I handle language strings this way] and about [https://tng.lythgoes.net/wiki/index.php?title=User:Robinrichm#Overriding_Strings_in_custtext.php_files how to override the mod's language strings].
|-
+
[https://tng.lythgoes.net/wiki/index.php?title=User:Robinrichm#New_Location_for_Language_Strings].
| 10.1.0.7
+
 
| 10.1
+
== Reducing Line-wrapping ==
| 12 Jan 2015
+
The Text+ charts use unconventional presentations of dates and placenames to reduce the number of characters required to display a person's data, and thus to reduce the amount of line-wrapping required to print a chart:
| Updated database function calls for TNG v10.1 compatibility.
+
* "Unknown" is displayed as "??", and, in some cases, omitted.
|-
+
* If an individual was born and died in the same place, the placename is displayed only once followed by a semicolon and the birth and death dates, e.g. <code style='white-space:nowrap'> Cleveland, Bradley, Tennessee, USA;15 Nov 1815 - 04 Jan 1887 </code>.
| 10.0.2.7
+
* When both the date and place are unknown, nothing is printed (well, except when it is known that a person has died, in which case "??" is displayed).
| 10.0.2-10.0.3
+
* I also use an unpublished mod to create shorter alternate placenames of USA placenames (e.g. "Cleveland, Cuyahoga, OH" for "Cleveland, Cuyahoga County, Ohio, USA". At present, this scheme depends on two other published mods: [[Placename Format]] and [[Burials-More Details]]. If you're interested in using short alternate placenames, let me know, and I'll share the mod with you.
| 10 Jan 2015
+
 
| Moves the printer-configuration form to the "Pretty-Print" page so that users can view charts without having to fuss with the printer configuration settings.
+
== Revision History ==
|-
+
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
| 10.0.2.6
+
! Mod Version !! TNG Versions !! Date !! Note
| 10.0.2
+
 
| 12 Aug 2014
+
|- style="vertical-align:top;" <!-- ############################################################## -->
| First production release
+
| [[Media:Textplus charts v13.0.0.17b1.zip|v13.0.0.17b1]]
 +
| 13-13.1
 +
| 14Nov2021
 +
| No functional changes. Changed two comments that happened to use a combination of characters that PHP8 no longer recognizes as comments!?! <br>Specifically - End-of-line comments can be started with a single pound sign or by double slashes. Most programmers use double slashes. I use a single pound sign to make it easy to distinguish my comments from native TNG comments. But in PHP8, if a left bracket immediately follows a pound sign, the left bracket is seen as a invalid character, not as part of a comment.
 +
 
 +
|- style="vertical-align:top;" <!-- ############################################################## -->
 +
| [[Media:Textplus charts v13.0.0.17b.zip|v13.0.0.17b]]
 +
| 13-13.1
 +
| 13Nov2021
 +
| No functional changes for the end user. Cleaned up and annotated the mod options, added some language string translations.
 +
 
 +
|- style="vertical-align:top;" <!-- ############################################################## -->
 +
| [[Media:Textplus charts v13.0.0.17a.zip|v13.0.0.17a]]
 +
| 13
 +
| 30Mar2021
 +
| Minor changes and language updates
 +
* Moved the legends into fieldsets.
 +
* Changed the logic behind displaying the place of residence of 'living' people after learning that some site admins mark people who have died as 'living' for several years to keep them private. The code now looks for a death date before looking for the Living flag.
 +
* Added a Danish translation, courtesy of Karsten Weikop
 +
* Updated Norwegian translations, courtesy of Kåre Kjøllesdal
 +
 
 +
|- style="vertical-align:top;" <!-- ############################################################## -->
 +
| [[Media:Textplus charts v13.0.0.17.zip|v13.0.0.17]]
 +
| 13
 +
| 20Sep2020
 +
| '''Revision Notes''' &nbsp; <span class="mw-collapsible mw-customtoggle-17rh1 mw-customtoggle-7rh2" id='mw-customcollapsible-7rh1' style="text-decoration:underline;color:#0645ad;">&#91;Show Details&#93;</span>
 +
<div class='mw-collapsible mw-collapsible-content mw-collapsed' id='mw-customcollapsible-7rh2' style="border:thin solid grey;"><!-- BEGIN TOGGLED CONTENT -->
 +
<div class="mw-customtoggle-7rh1 mw-customtoggle-7rh2" style="float:right; text-decoration:underline;color:#0645ad;text-align:right;">&#91;Hide details&#93;</div>
 +
# For TNGv13, updated one target location search string change because of an empty() function call in
 +
# Removed mappedigree.php from this mod because the TNGv13 version of the Ancestor Map mod adds its own link to the Text+ ancestor chart.
 +
# Added translations: French by Katryne Chauvigné-Bourlaud, Dutch by Bernard Woertelberger, German by Hendrik Martius, Norwegian by Kåre Kjøllesdal, and Czeck and Spanish by Ron Krzmarzick
 +
# The Descendant chart locator now works for parents so the locator's ancestor and descendant chart links are available.
 +
# The Ancestor chart locator now has ancestor and descendant chart links like the descendant chart locator.
 +
# Removed the Inner Menu cleanup utility; it will go in its own adjunct mod.:
 +
# Added the paper width selection box help text.
 +
# Added international paper sizes
 +
# Reworked the layout of the chart legends, putting the legend in a bordered box, and adding the label "Legend".
 +
# Added an an option to use separate lines for name&age/birth/death/marriage.
 +
<div class="mw-customtoggle-7rh1 mw-customtoggle-7rh2" style="float:right; 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;" <!-- ############################################################## -->
 +
| colspan=4 | See earlier versions in the separate Wiki article [[TextPlus Charts pre-TNGv13]]
 
|}
 
|}
  
Line 234: Line 512:
 
If you download and install this mod, please add your site to the table below.
 
If you download and install this mod, please add your site to the table below.
  
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
+
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 +
! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language
 
|-
 
|-
! URL
+
| [http://www.robinrichmond.com/family/search.php?myfirstname=Clarence&mylastname=Richmond&mybirthyear=1895&tree=rr An example in Robin Richmond's Genealogy Database]
! User
 
! Note
 
! Mod-Version
 
! TNG-Version
 
! User-language
 
|-
 
| [http://www.robinrichmond.com/family/search.php?myfirstname=Clarence&mylastname=Richmond&mybirthyear=1895&tree=rr Robin Richmond's Genealogy Database]
 
 
| [[User:Robinrichm|Robin Richmond]]
 
| [[User:Robinrichm|Robin Richmond]]
 
| Mod developer
 
| Mod developer
| 10.1.0.12
+
| 13.0.0.17b1
| 11.0.1
+
| 13.1
| English
+
| EN
|-  
+
|-
 +
| [http://geneagraphie.com Families all over the world]
 +
| [[User:Henri Textor| Hans Weebers]]
 +
| public / private
 +
| 10.1.0.13
 +
| 12.0.1
 +
| NL,EN,DE,FR
 +
|-
 +
| [http://www.vanheerden.net/searchform.php van Heerden Genealogy]
 +
| [[User:emile|Emile]]
 +
| Private site
 +
| 12.0.0.16beta3
 +
| 12.1
 +
| EN
 +
|-
 +
| [http://www.maarelweb.nl/stamboom/surnames100.php Van der Maarel Genealogy]
 +
| [[User:Edward|Edward van der Maarel]]
 +
|
 +
| 12.0.0.15d
 +
| 12.0.2
 +
| EN,NL
 +
|-
 
| [http://mfo.me.uk Mitchell Families Online]
 
| [http://mfo.me.uk Mitchell Families Online]
 
| [[User:HiTowerUK|Roger Mitchell]]
 
| [[User:HiTowerUK|Roger Mitchell]]
Line 255: Line 548:
 
| 10.1.0.8
 
| 10.1.0.8
 
| 10.1.0
 
| 10.1.0
| English
+
| EN
 
|-  
 
|-  
 
 
| [http://turnermob.comm Turner mob]
 
| [http://turnermob.comm Turner mob]
 
| [[User:Mgrogan|Margaret Grogan Turner]]
 
| [[User:Mgrogan|Margaret Grogan Turner]]
Line 263: Line 555:
 
| 10.0.2.6
 
| 10.0.2.6
 
| 10.0.3
 
| 10.0.3
| English
+
| EN
 
|-
 
|-
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [[User:lastejas|Rick Hooley]]
 
| [[User:lastejas|Rick Hooley]]
| Public Site
+
| Public/Private Site
| 10.1.0.10a
+
| [[User:lastejas|See Here]]
| 10.1.1
+
| [[User:lastejas|See Here]]
 
| EN
 
| EN
 
|-
 
|-
Line 277: Line 569:
 
| 10.1.0.10b
 
| 10.1.0.10b
 
| 11.0.0
 
| 11.0.0
| NL, EN
+
| NL,EN
|-
 
| [http://slekt.solem.info Solem]
 
| Jan-Thore Solem
 
| Not public
 
| 10.1.0.7
 
| 10.1.0
 
| Norwegian
 
 
|-
 
|-
 
| [http://mossfamilytree.info Moss family tree]  
 
| [http://mossfamilytree.info Moss family tree]  
 
| Chris Moss
 
| Chris Moss
 
| Best text-based display. Public.  
 
| Best text-based display. Public.  
| 10.1.0.8/9
+
| 10.1.0.12a
| 10.1.1
+
| 11.1.2
| EN, DE, FR
+
| EN,DE,FR
 
|-
 
|-
 
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
 
| [https://www.bradyfamilytree.org/ Brady Family Tree in Western Australia]
Line 298: Line 583:
 
| 10.1.0.12
 
| 10.1.0.12
 
| 11.0.1
 
| 11.0.1
| EN, DE
+
| EN,DE
 
|-
 
|-
 
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
 
| [https://www.kmtrees.com/ Roots & Relatives Remembered]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
 
| [[User:Tngrlkrz|Ron Krzmarzick]]
| Partially-Public - Brilliant Text Mod!
+
| Public & Private
| 10.1.0.14 Beta
+
| [https://www.kmtrees.com/mods-installed See Here]
| 11.1
+
| [https://www.kmtrees.com/mods-installed See Here]
| EN,DE,CS,ES
+
| EN,DE,CS
 
|-
 
|-
 
| [http://www.OurFamilyLinks.org Our Family Links ]
 
| [http://www.OurFamilyLinks.org Our Family Links ]
Line 311: Line 596:
 
| Public site, modified Template 12  
 
| Public site, modified Template 12  
 
| 10.1.0.12
 
| 10.1.0.12
| v10.1.2
+
| 10.1.2
 +
| EN
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| [[User:Louis42|J-Louis Valory]]
 +
| Public (registration)
 +
| 13.0.0.17a
 +
| 13.0.3
 +
| FR
 +
|-
 +
| [https://journeysingenealogy.com Journeys in Genealogy]
 +
| [[User:PapaTango|Patrick Thrush]]
 +
| Public WordPress/TNG bundle
 +
| 12.0.0.15e
 +
| 12.0.3
 +
| EN
 +
|-
 +
| [https://www.ourfamilyhistories.org Our Family Histories]
 +
| [[User:Bsl20b50|Bryan S. Larson]]
 +
|
 +
| [[User:Bsl20b50|See Here]]
 +
| [[User:Bsl20b50|See Here]]
 
| EN
 
| EN
 +
|-
 +
| [https://scabell.de Familienforschung SCABELL]
 +
| [[User:Helgaskally|Helga Scabell]]
 +
| Public/Private
 +
| 12.0.0.15e
 +
| 13.0.1
 +
| DE,EN,PT
 +
|-
 +
| [https://kleinmanngenealogy.com Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
| Public/Private
 +
| 12.0.0.17b1
 +
| 14.0
 +
| EN
 +
|-
 +
| [https://acadianfamily.com/home.php Our Acadian Family]
 +
| [[User:Randal Suire|Randal Suire]]
 +
| Public/Private Media (Very Useful)
 +
| 12.0.0.15e
 +
| 12.0.3
 +
| EN,FR
 +
|-
 +
| [http://nielsenhayden.com/genealogy-tng/ Nielsen Hayden genealogy]
 +
| [[User: patricknh|Patrick Nielsen Hayden]]
 +
| Public site
 +
| 13.0.0.17
 +
| 13.0.1
 +
| EN
 +
|-
 +
| [http://www.kjoellesdal.com/ Our Roots&Relatives]
 +
| [[User:kare|Kåre Kjøllesdal]]
 +
| Private site
 +
| 13.0.0.17a
 +
| 13.1
 +
| NO,EN
 +
|-
 +
| [https://www.kloosterman.be/genealogy/rrtextplus_ancestor.php?personID=I2162&tree=001&generations= Kloosterman Genealogy Example of Text+ Mod]
 +
| [[User:Ckworld|Cees Kloosterman]]
 +
| Public website
 +
| 13.0.0.17
 +
| 13.0
 +
| EN,DU
 +
|-
 +
|[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel]
 +
|[[User:Fluffy82|Tom Huygens]]
 +
|Public/Private on WordPress
 +
|13.0.0.17
 +
|13.1.2
 +
|NL
 +
|-
 +
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 +
| [[User:Stores|Jim Holt]]
 +
| Private
 +
| [[User:Stores|See Here]]
 +
| [[User:Stores|See Here]]
 +
| EN
 +
|-
 
|}
 
|}
 
+
[[Category:Mods for TNG v13]]
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]
[[Category:cust_text.php English mods]]
+
[[Category:admin_pedconfig.php mods]]
[[Category:genstyle.css mods]]
+
[[Category:admin_updatepedconfig.php mods]]
[[Category:admin pedconfig.php mods]]
+
[[Category:pedconfig_help.php mods]]
 
[[Category:descend.php mods]]
 
[[Category:descend.php mods]]
 
[[Category:descendtext.php mods]]
 
[[Category:descendtext.php mods]]
Line 329: Line 694:
 
[[Category:extrastree.php mods]]
 
[[Category:extrastree.php mods]]
 
[[Category:tngrobots.php mods]]
 
[[Category:tngrobots.php mods]]
 +
[[Category:cust_text.php English mods]]
 +
[[Category:cust_text.php Dutch mods]]

Latest revision as of 06:09, 14 December 2023

TextPlus Charts
Summary Implements the Text+ Ancestor & Descendant Charts.
Validation
Mod Updated 23 Sep 2023
Download link v14.0.0.18
TNG 14.0
Download stats
Author(s) Robin Richmond with translations by Ron Krzmarzick, Karsten Weikop, Bernard Wortelboer, Hendrik Martius, and Kåre Kjøllesdal.
Homepage TextPlus Charts (this page)
Mod Support My Mod Support form
Contact Developer My Mod Support form
Latest Mod 14.0.0.18
Min TNG V 13.0
Max TNG V 14.0.3
Files modified
This mod modified and installs numerous files. See the Installation section of this page
Related Mods
Notes
Installs Czech, Danish Dutch, German, Norwegian, and Spanish translations. French translations require the TextPlus Charts-French mod

Purpose of the Mod

To define two new charts - the Text+ Ancestor Chart, and the Text+ Descendant Chart. Both charts follow a text format (basically an outline layout) but draw lines between parents and children. Links to these charts are placed on the TNG "Inner Menu" (the horizontal link menu just below the TNG Tab Bar) on the Person Profile and on Pedigree and Descendant chart pages. The Inner Menu on those pages already contains links to various Ancestor and Descendant charts.

Features of the Text+ Charts

  • The Text+ Descendant Chart is similar to TNG's Text Descendant Chart, but has several additional features.
  • The Text+ Pedigree Chart serves the same purpose as TNG's Text Ancestor Chart, but does not use the standard 4-generations-per-page Pedigree format. It can display at least 15 or so generations in one chart that is one page wide and several pages long. It also has some of the same 'additional features' as the Text plus Descendant Chart.
[Show Additional features]
[Hide features]

Both charts:

  1. Draw lines to connect people with their children.
  2. Display places of birth and death instead of just dates.
  3. Display charts display alternate birth date and/or place (i.e. christening date/place) when the birth date and/or place is missing.
  4. Display burial date and/or place when the death date and/or place is missing. (When the "location" component of a burial placeplace contains the word "Cemetery", the entire Cemetery name is removed from the placename.)
  5. Display the last known place of residence and the date of that residence event for people who are living (if security contraints allow it).
  6. Can display ALL of a person's descendants or ancestors rather than a specific number of generations,
  7. Display a summary at the bottom of the chart,
  8. Have mod options that control where, whether, and how to present dates, placenames, age, and marriage data.
  9. Have run-time options that control the size and spacing of the charts. Some parameters are available in the main window, and some parameters are available only in the Format for Printing window.
  10. Have run-time options that affect the information to be displayed in the chart. (See Mod Options below.
  11. Allow the user to save the size and spacing parameters to a cookie for use by subsequent charts.
[Hide Features]

Options and Settings

This mod has several types of settings, including

  1. Mod-specific configuration variables, which I ordinarily call "Mod Options".
  2. New choices for native selection box options at Admin>>Setup>>Chart Settings
  3. Run-time options in the TextPlus Chart programs that affect charts dynamically
  4. Persistent cookies that retain some of the run-time option settings.
[See all Options details]
[Hide Options Details]

Mod Options

There are about 10 settings (depending on how you count them) in the TextPlus Charts "Mod Settings Block" at Admin >> Setup >> Chart Settings >> Mod Settings Blocks Textplus17-msb.jpg

Option Choices

This mod adds a choice to each of two native selection boxes in the options form at Admin>>Setup>>Chart Settings:

  1. The option to select "Text+" has been added to the "Initial Display" field in the "Pedigree Chart" subform.
  2. Similarly, the option to select "Text+" has been added to the "Initial Display" field in the "Descendancy Chart" subform,

Run-time Options

These options are presented by the two Text+ Chart programs to change the charts dynamically, at, well, at run-time. The run-time options are illustrated and described in the Visualizations below, and are described with additional detail in the Text+ Charts help file.

Persistent Cookies

All users (not just Admins, and not just users with accounts) can save their preferred Text+ Print Formatting options (indentation, font size, page width, etc.) for use in subsequent charts. There are separate cookies for the Text+ Ancestor and Descendant charts.

[Close Options Details]

Other Mods

Conflicts

No known conflicts with published mods. However, there is a conflict with older versions of an Add New Items mod that was written by Ian Fettes.

Related Mods

  1. The Mod Settings Blocks mod packages this mod's options into what I call a "Mod Settings Block", which is a set of form fields that formatted and labeled so that it stands out among other options in an Admin>>Setting form. Mod Settings Blocks is a prerequisite for this mod; it must be installed before this mod can be installed.
  2. An Inner Mod Menu, which provides handy links from TNG pages directly to mod documentation and a mod's Mods Settings Block. (Inner Mod Menus are visible only to TNG Admins; never to end users.)
  3. The Mods Used feature, which captures a list of mods that affected the code used to display a TNG page. (This is analogous to the Mod Manager Analyzer feature that reports which mods affect a given TNG file, but that applies at run-time.
  4. This mod coordinates with Count Descendants in two distinct ways.
    1. The Descendant Chart program's Inner Menu:
      • The Text+ Descendancy Chart program installed by this mod contains a link to the Count Descendants chart that is visible only if [Count Descendants]] is installed.
      • Similarly, the Count Descendants Chart installed by Count Descendants contains a link to the The Text+ Descendant Chart that is visible only if TextPlus Charts is installed.
    2. The Admin>>Setup>>Chart Settings form, where both mods add an option to the "Initial Display" selection box in the "Descendancy Chart" section of the Chart Settings form
  5. This mod coordinates with Ancestor map in that the Inner Menus of the TextPlus Charts and Ancestor map programs contain links to each other, but those links are visible only if the relevant mod is installed.

Files Changed

  1. Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
    • Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
    • Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
  2. Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
  3. Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
  4. Modifies the English and Dutch cust_text.php files.
    • The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
    • There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
    • The only strings added to cust_text.php files are
      1. The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
      2. In English only, there are two strings that are used as pointers to the files containing language strings and help text.
  5. Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".

Installation

Files Modified

[See details ]
[Hide details ]
  1. Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
    • Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
    • Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
  2. Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
  3. Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
  4. Modifies the English and Dutch cust_text.php files.
    • The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
    • There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
    • The only strings added to cust_text.php files are
      1. The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
      2. In English only, there are two strings that are used as pointers to the files containing language strings and help text.
  5. Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".
[Hide details ]

Files Installed

[See details ]
[Hide details ]
  • PHP
    1. rrtextplus_descend.php - The TextPlus Descendant Chart
    2. rrtextplus_ancestor.php - The TextPlus Ancestor Chart
    3. rrtextplus_lib.php - A PHP function library used by both Text+ Chart programs
    4. rrtextplus_ancestor_tracker_ajx.php - An AJAX program that generates the new "Locate In Chart" popup for the Ancestor chart
    5. rrtextplus_descend_tracker_ajx.php - An AJAX program that generates the new "Locate In Chart" popup for the Ancestor chart
    6. rrtextplus_help.php> - A driver for the three TextPlus Chart help files
  • Javascript and CSS
    1. js/rrtextplus_lib.js - A standalone Javascript library
    2. css/rrtextplus.css - A standalone CSS stylesheet.
  • Image files - all containing small icons:
    1. img/rrtextplus_plus.gif - A white-on-black plus sign icon used in the TextPlus Descendant Chart as an icon for tree branches that have been compressed.
    2. img/rrtextplus_locate.gif - The 'locate person in chart' icon for the Text+Descendant Chart
    3. img/rrtextplus_top.png - The up-arrow "go to the top of the chart" link in the floating footer
    4. img/rrtextplus_down.gif - Light down-arrow that implies a pull-down menu
    5. img/rrtextplus_down_black.gif - Dark down-arrow for use in the b&w Format for Printing page
[Hide details ]

Files Modified

[See details ]
[Hide details ]
  1. Modifies the inner menus of the other TNG chart programs by adding a link to the relevant Text+ chart.
    • Descendant charts (descend.php, descendtext.php, desctracker.php, register.php).
    • Pedigree charts (pedigree.php, pedigreetext.php, verticalchart.php, ahnentafel.php, extrastree.php).
  2. Also modifies descend.php and pedigree.php to allow the TextPlus charts to be treated as the default descendant and ancestor charts.
  3. Modifies the chart settings programs to add mod options (admin_pedconfig.php, admin_updatepedconfig.php).
  4. Modifies the English and Dutch cust_text.php files.
    • The language strings used by the new Text+ charts and by the new mod options (in admin_pedconfig.php) are not added to cust_text.php files. Instead, they are defined in separate language files that remain in the mod subfolder.
    • There are three Text+ help files, not all of which are translated into other languages. None of the help files are installed into working TNG folders. Instead, like the language strings, they remain in and are loaded from the mod subfolder.
    • The only strings added to cust_text.php files are
      1. The string for the hyperlink labels in the Innermenus of the various chart programs. This string is defined only in English and in Dutch. All other languages just use the English string "Text+".
      2. In English only, there are two strings that are used as pointers to the files containing language strings and help text.
  5. Modifies tngrobots.php to add the new Text+ Charts to the list of programs (including all charts) that are flagged "Do not index" and "Do not crawl".
[Hide details ]

Language Files

This mod does not add the language strings used by TextPlus Charts programs to conventional cust_text.php files. Instead, they are loaded directly from files named {language}_custtext.php in the languages subfolder within the mod subfolder. The mod's help files are also stored in the mod subfolder, and are not installed to the standard TNG "languages" folder. None of the languages whose translations are installed with this mod are translated into all of those languages.

Screen Clips

The TNG help files use screen clip image files, and separate screen clips can be defined for each language. But only French and English have the complete set of screen clips. English screen clips are used in place of missing screen clips.

French is the only language that has all three help files and all screen clips. The net file size of the French language strings, help text, and screen clips makes it necessary to install the French translations through the 'TextPlus Charts-French mod.

[Show Standard Installation Process]

Requirements

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

Procedure

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

Problems?

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

Visualizations

Some of these visualizations are marked up and annotated more thoroughly in the Text+ Charts help file, which can be found on the mod author's TNG site

1. Text+ Descendant Chart

See also the 'Descendant Chart help file on the author's website.

Textplus16 descendant main.jpg
Overview of differences between the native Text Descendant Chart and the Text+ Descendant chart.
[See details]
[Hide details ]
  1. In the "Inner Menu" (white text on dark blue)
    1. The first line of the Inner Menu is essentially the same as it is in the Text charts, though
      • In the "Generations" selection box, the value 'all' has been selected so that all generations of the individual's descendants are to be displayed. The Text+ Chart format can handle upwards of 15 generations in the width of one landscape 8x11 page.
    2. The TextPlus Chart program extends the Inner Menu with two lines of run-time options. On the second line:
      • Four checkboxes on the second line control optional features of the chart. These controls are specific to the Text+Descendant Chart.
        • The "Hide living & private data..." checkbox is visible only to administrators who can see the data of living and private people. This option lets administrators see the chart as it would be seen by non-administrators.
        • The "& Descendants" checkbox hide living and private descendants of living and private people, just to remove some of the not-necessarily-useful "living" and "private" labels in a chart.
        • The "& Descendants" checkbox and label have been disabled and greyed-out because you can't hide living and private descendants until you hide living and private data.
        • The "Siblings #s" checkbox and label have been disabled and greyed-out because the program won't let you display sibling numbers without generation numbers.
    3. On the third line of the Inner Menu (which is the same in the two Text+ Charts),
      • The Width option is used to determine where to wrap lines within the chart. (See Margins and Line-Wrapping below to understand why the Text+ programs cannot depend on the web browser to wrap lines at the right margin.)
      • There is a button that pops up the Text+ Charts help file, which is installed by the mod. (In general, TNG has help files only for Admin programs, not for end-user programs.)
      • The presence of the "Format for Printing" button (which is really a duplicate of the standard TNG "Print" button at the upper right of the page) emphasizes that users who want to print a Text+ chart should essentially always use the Format for Printing page to control the shape of the Text+ Chart and make sure that it fits the desired page width.
  2. At the right side of the Inner Menu is an Inner Mod Menu, which drops down from the label "Mod Information". The Inner Mod Menu is opened here for illustration. It has three links:
    • The Wiki icon is a link to the mod's Wiki article (i.e. this article),
    • To the section of the Wiki article (i.e. this article) that describes the mod options,
    • A direct link to the mod options within the program that edits the options, at Admin>>Setup>>Chart Settings.
  3. The chart legend:
    1. The spyglass icon serves as a "Locate descendant in Chart" link is different from the icon used in the native TNG Descendant Text Chart, because the appearance and functionality of that link is different in this program. See item 4g below.
    2. The Expand and Collapse buttons mimic the Expand and Collapse buttons from the native TNG Descendant Text Chart, except that
      • The Expand button is white-on-black so that it stands out better, and
      • The Text+ Chart does a great deal more with compressed branches of the tree:
        • The counts in the floating footer shown at the bottom of the screen clip change as branches of the tree are collapsed and expanded, and
        • The Text+ Chart uses a session cookie to remember the clipped branches, and shows the chart in the modified state when the chart is displayed in the Format for Printing window or if this person's chart is re-displayed later in the browser session.
  4. In the chart itself
    1. The starting person's parents are shown at the top of the chart.
    2. Connects parents to children with solid lines, and connects spouses with dotted lines
    3. Under the control of mod options, this chart shows dates and places of birth and death, and date and place of marriage.
    4. Dates can be full or year-only, and places and marriage data can be omitted. (not shown)
    5. Under the control of a mod option, Text+ Descendant Charts can also include each person's age. (not shown)
    6. Like the native Descendant Text Chart, branches of the Text+ Descendant Chart's descendant tree can be compressed and expanded. The white-on-black plus sign next to Olive Irene KUYKENDALL reveals that all of her descendants have been clipped out of the chart.
    7. Clicking on the hourglass icon (for 'Locate in chart') pops up a box labeled "Locate James Billingsley Hutcheson', which contains
      • A small chart similar to the Text+ Descendant chart, but that doesn't show siblings; it just shows the path from teh chart's starting person to the target person,
      • Hyperlinks to the chart that the native code displays when its "Locate in chart' icon is clicked, and
      • Hyperlinks to the target person's Descendant and Ancestor Charts.
             (Of course, there isn't much point in locating a person so close to the starting person, but this popup is just for illustration.)
      
    8. As you can see immediately above the Chart Summary, the Text+ Chart, like the native Text charts, show a link to a person's descendant chart if that person is (1) a "leaf" of this tree, and (2) has descendants. Also, the link to the descendant chart is formatted like a button so that it stands out more.
  5. The chart ends with a summary of its contents.
    • The Chart Summary you see here is a floating copy of the summary that is truly at the very end of the chart (and outside of this screen clip). The floating summary keep track dynamically of the number of people who are visible in the chart. It floats at the very bottom of the browser window so that you can always be aware of the size and contents of the chart.
    • Through a mod option, the floating footer can be suppressed.
    • The title bar of the Chart Summary has a 'top' button that take you to the top of the chart. That link is not particularly meaningful in this screen clip, where the top of the chart is already visible, but it can be very handy in long charts.
    • Significantly TNGv12.2 piloted a native "top of page" link in a couple of templates, where it is represented as a bold arrow that always floats in the bottom-right corner of the screen. If and when this arrow is implemented in all templates, the "Top" button will be removed from the Chart Summary.
[Close Text+ Descendant Chart Details]
2. Text+ Descendant Chart in the Format for Printing window
Textplus16 descendant print.jpg
[See details]
[Hide details ]
  1. The "Format for Printing" fieldset supplies chart layout parameters that customize a chart for the printer page width, and allows the user to save a persistent cookie with those parameter values.
    • These run-time options allow users to make sure that the chart program wraps the chart contents to the desired margins.
  2. The "Chart Content" fieldset duplicates the content-control checkboxes that were in the main window.
  3. The chart control form, the Expand/Collapse controls at the top of the chart, the <<Print>> link at the top-right, and the popup copy of the chart summary are not printed to a printer.
  4. The plus sign next to "Anna Mary (Mamie) Kuykendall", which indicates that her descendants have been compressed out of the chart, is a carry-over from the chart in the main window. That is, if you compress tree branches in the main window, those branches remain compressed when you open the "Format for Printing" window.
  5. The end-of-line icons that link to charts showing additional generations are still present in the Format for Printing page, but they are hidden when the page is printed..
[Close Text+Ancestor Chart Details]
3. Text+ Ancestor Chart
Textplus16 ancestor main.jpg
[See details]
[Hide details ]
The Text+ Ancestor Chart uses what might be called a "double outline" format in which:
  • Each generation is indented by just a few characters,
  • The data for a given person runs to the right margin and wraps back to that generation's left margin (not the chart's left margin),
  • Upwards of 20 generations can be included in a single chart, without having to resort to laying pages side-by-side. On 8.5x11 paper in portrait mode, at least 15 generations are quite readable. (Such a chart would be quite long; its length would, of course be reduced if it were printed in landscape orientation.)

In many ways, this layout is more like an outline-formatted Descendancy Chart(such as the Text+ Descendant Chart) than standard Pedigree Charts (or the TNG variants), which

  • Divide a page (or the screen) into (typically) 5 columns,
  • Constrain all information about people in generation i to column i, and
  • Are generally balanced so that they show (or leave space for) ancestral lines with no data.

As a result (especially when they contain more than 4 or 5 generations), Text+ Ancestor Charts have less whitespace than comparable Pedigree Charts and are much narrower and thus much easier to print, but tend to be a good bit longer.

On the second line of the Text+ Ancestor Chart Inner Menu

  1. The first three checkboxes determine whether certain information is included in the report
    • The "Generation #'s" checkbox is checked, so there is a generation # in front of the name of each person in the report.
    • The "Siblings" checkbox controls whether each person's siblings are included in the chart, or, to put it another, whether the chart contains aunts and uncles.
    • The "Compact Layout" checkbox removes some blank lines that improve readability. That is, the blank lines improve readabilty, and without them, the chart is not quite so long.
  2. The "Focus on Generation" control causes names in the selected generation to be highlighted. It defaults to generation 1; the starting person. For this screenshot, it has been changed to 9. (The 9th generation is represented here by Christian MOYER and Anna Barbara BERGERY.)
    • The highlighted generation should generally be 1 or zero (i.e. no highlighting) when the chart is printed (from the Format for Printing page).
    • When you change the highlighted generation, the display shifts so that the first person in the chart in that generation is visible on the screen.

As with the Text+ Descendant chart, the line wrapping is done by the program, not by the web browser.

[Close Text+Ancestor Chart Details]
4. Details of some features introduced with TextPlus Charts v16d
These features are not necessarily visible in the screenshots above
[Show Details]
[Hide Details]
  1. The Inner Mod Menu, shown in its open state. It is visible only to TNG Admins.
    Textplus16 revision innermodmenu.jpg
  2. Locate Person In Chart - I never quite understood the native 'Locate Person in Chart' functionality, which displayed a chart that did draw a path from the starting person to the target person, but though siblings and spouses in a way that just confused me. Now, the 'Locate" icon just pops up a short variant of the Text+ Descendant Chart to show how the target person descends from the starting person. The popup also has links to
    1. The old Locate Person In Chart" chart,
    2. The target person's Text+ Ancestor Chart, and
    3. The target person's Text+ Descendant Chart.
    Textplus16 revision locatepopup.jpg
  3. Floating Footer - The footer at the very bottom of the Text+ Ancestor and Descendant Charts can also float that the bottom of the page, so that, at any time, you can see what the scope of the report is.
    • This is particularly significant in the Text+ Descendant Chart, where branches of the chart can be compressed and expanded. The floating footer keeps track of the number of people (and other elements) that are visible at the moment.
    • The "Top" button in the floating footer's title bar scrolls the browser window to the top of the chart.
    Textplus16 revision floatingfooter.jpg
  4. Line Height Adjustment - At some settings in some browsers, the vertical line-drawing characters will become separated, like this:
    Textplus16 revision height1.jpg
    But reducing the 'Line height' setting can bring the verical lines together, at the expense of squeezing the text lines closer together.
    Textplus16 revision height2.jpg
  5. Mod Options - Several mod options now control whether specific elements are included in a chart:
    Textplus16 revision options.jpg
[Hide visualizations of recent changes]
5. New features in TextPlus Charts v17
These features are not necessarily visible in the screenshots above
[Show Details]
[Hide Details]

Mod options can hide some of these features from end-users, so we don't have to worry about them being forced on end-users.

  1. Per a request, I have added the ability for name&age/birth/death/marriage data to be placed on separate lines, in essentially the same way that a couple of mods affect the Person Profile.
    Textplus-separatelines-descendant.jpg
  2. A set of options enclosed in a box in the mod settings block can be duplicated in the TextPlus programs, where end-users can use these date and place options in real time. The Date & Place form in the Text+ programs is pulled down from the label "Date & Place"
    Textplus-dateplaceoptions2.jpg
    • The subform's "Save as Defaults" button saves the current options in a permanent cookie. The settings saved in the cookie override (for just the current user) the settings established by the mod options, and, when the user clicks "Redisplay Chart", the settings in the form at that moment override the cookie settings.
    • On the Format for Printing page, the action button in the date/place subform does not redisplay the chart; it just changes the settings.
    • The Date & Place options pop-up has changed since I made this screenshot. There is a different "Redisplay Chart" button on the Format for Printing page, so the action button in Format for Printing page Date & Place Options form just says "OK". (Maybe it should just say "Close").
  3. At some point when I was looking at an Text+ Ancestor Chart, I decided that I'd like to see a summary of the family names (ancestral lines) that appear in the chart. So I have added this information to the report footer:
    Textplus-ancestrallines1.jpg

    It then expands to

    Textplus-ancestrallines2.jpg
    where the hyperlinks go to the Person Profiles of the most distant ancestor in the chart with that name.

    FWIW, the "See details" and "Omit details" links are not printed when the chart is sent to a printer.

    Note that

    1. The details are not displayed as the page loads, as shown above, and can be re-hidden after being displayed.
    2. The "See details" and "Omit details" hperlinks are not shown in print-outs, and
    3. A mod option suppresses it altogether
  4. I copied the "Locate person in chart" feature from the native Descendant Text chart, and have modified it fairly significantly.
    • There is a new, much simpler popup. I find this small popup to be much more handy and understandable than the old one.
      Textplus-locatedescendant.jpg
      The "Graphical view of this family line" hyperlink links to the chart that the native descendant text chart links to directly. From my perspective, that chart is overkill in most situations.
    • The new "locate in chart" popup has links to the person's ancestor and descendant charts. I tried to implement those two links directly in the Text+ Descendant chart, but they just added too much noise. I still hope to make them handier.
  5. I added a very similar "locate person in chart" feature to the Ancestor chart
    Textplus-locateancestor.jpg
  6. Both charts can have "floating footers" that hang out at the bottom of the web browser window so that they can always be seen. Both footers can be suppressed through mod options, and can be closed when they are visible. I think that most admins will want to suppress the floating Text+ Ancestor chart footer, but the floating footer in the descendant chart provides useful dynamic information about the chart branches that can be hidden and re-exposed by tiny + and - icons in the chart.
  7. The floating footers include an up-arrow icon that quickly sends the user back to the top of the chart. Darrin has implemented a larger up-arrow for that purpose in all pages in some templates. So my up-arrow may not last forever, but at least it is visually compatible with new new TNG arrow.
    Textplus17-summarydescendant.jpg
  8. The Inner Menu in the Text+ programs now always starts with the label "Chart Types" instead of the "Generations" selection box, which has been moved down to be with other chart formatting and content controls. By itself, the label "Chart Types" isn't very exciting, but it is enhanced by my new (unpublished as of this writing) "Chart Types Help" mod, which
    1. Adds this "Chart Types" label to all ancestor and descendant chart programs and
    2. Adds an information icon that pops up a box with description of all of the ancestor or descendant charts
    The Chart Types Help mod is implemented on my public web site, where you can see a little information icon next to the "Chart Types" label. (See also beta documentation for the Chart Types Help mod)
  9. The Text+ programs have what I call an "Inner Mod Menu". Many of my mods add Inner Mod Menus to the programs that they modify "significantly" (according to my subjective judgement). Inner Mod Menus pull down from a "Mod Information" label at the right end of TNG's "inner menu" (just below the Tab menu), and contain handy links to information about the mod - particularly to the mod options.
    Textplus-innermodmenu.jpg
    Inner Mod Menus are visible only if the optional Inner Mod Menus mod has been installed, and can be see only by TNG Admins; never by end users.)
[Hide visualizations of recent changes]
6. Full Text+ Chart Examples (from version 15 of the mod) saved as PDFs.
The intent is to show you the chart contents, not the menu features of the programs.

These charts do not all use the same chart settings or browser settings. And, of course, the size and shape of charts depends heavily on your data. That's generally not so true with classic Ancestor charts, but is definitely true with the Text+ Ancestor Chart.

  1. Descendant Chart - 4 Generations, Portrait, 2 pages
  2. Descendant Chart - 6 Generations, Landscape, 9 pages
  3. Descendant Chart - 10 Generations
  4. Ancestor Chart - 5 Generations, Portrait, 1 pages
  5. Ancestor Chart - 7 Generations, Landscape, 2 pages
  6. Ancestor Chart - 12 Generations, Legal, 4 pages
    ("Legal" means "Legal-length paper in Landscape mode)
  7. 12 Generation Ancestor Chart with siblings:
    You might, at first, think that, because the portrait pages are longer, the chart should take fewer pages in portrait mode. But in landscape mode, the chart is wider, and fewer lines are wrapped. Thus the portrait chart is 8.5" wide and 154" long, and the landscape chart is 11" wide by 119" long. The "legal" chart uses larger paper, and thus fewer pages. It is 14" wide by 95" long". When I'm sharing or saving a large chart like this, I prefer the legal landscape width because the chart is shorter.

(Note: In the Ancestor Chart PDFs, some of the lines and text are colored. I do not know why. The coloring seems to be an artifact of some browsers, at certain zoom levels.)

7. Changes that the mod makes to the native "Initial Display" options for Ancestor (e.g.Pedigree) and Descendant charts, at Admin>>Setup>>Chart Settings
Textplus15 setup.jpg
This mod adds a "Text+" option to the "Initial Display" selection in both the "Pedigree Chart" and "Descendant Chart" sections of the options form. These options allow you to define the Text+ charts as your default Pedigree and/or Descendant charts.
8. The Text+ Charts Mod Settings Block at Admin>>Setup>>Chart Settings
Textplus17-msb.jpg
These options should be fairly self-explanatory, but it is worth noting that
  1. The stylized "W" next to the mod name is a link to the mod's Wiki article.
  2. The message at the bottom of this block refers to the TextPlus Charts options that are elsewhere within the Admin>>Setup>>Chart Settings page.
9. Margins and Line Wrapping
Because the Text+ charts draw vertical lines connecting the parents and children, they cannot adjust the chart's left margin as generations are indented. In these charts, long lines of text that bump up against the browser window's right margin wrap all the way to the left margin, like this:
Textplus16 early wrap.jpg
Thus, the Text+ Chart programs have to do their own wrapping. To wrap lines effectively, the programs need to know a target page width, which is supplied by an selection box on the Text+ Chart screen, in which the options are options "Mobile", "Portait", "Landscape", or "Legal" (meaning landscape orientation on legal paper. With the appropriate settings, the chart excerpt above could look like this:
Textplus16 good wrap.jpg

where the red underline show where the program wrapped the data lines. Note that the lines were wrapped at logical breaks in the data.

10. Formatting for Printing
See the 'Printing help file on the author's website.

Text+ Innermenu Link

Other mods that add labels to the descendant or ancestor innermenus can conditionally add the Text+ labels with code like this, which applies to the descendant innermenu.

#Include the Text+ Descendant chart hyperlink only if rrtextplus_descend.php is present.
#Pass it the generation count that this program used.
if (file_exists('rrtextplus_descend.php'))
    $innermenu .= "<a href=\"rrtextplus_descend.php?personID=$personID&amp;tree=$tree&amp;generations=$generations\" class=\"lightlink\">{$text['tp-textplus']}</a> &nbsp;&nbsp; | &nbsp;&nbsp; \n";

Language Strings

This file has translations in Czech, Dutch, French, German, Norwegian, and Spanish. The French translations are installed through the TextPlus Charts-French mod, because there are French versions of the Ancestor Chart, Descendant Chart, and Print Formatting help pages.

Significantly, The TextPlus Charts language strings are not stored in standard TNG cust_text.php files, but rather in files named {language}_custtext.php in a folder named languages in the mod's standard subfolder. The TextPlus Charts help files are also stored in the mod subfolder's code>languages folder rather than the main TNG code>languages folder.

Read about why I handle language strings this way and about how to override the mod's language strings. [1].

Reducing Line-wrapping

The Text+ charts use unconventional presentations of dates and placenames to reduce the number of characters required to display a person's data, and thus to reduce the amount of line-wrapping required to print a chart:

  • "Unknown" is displayed as "??", and, in some cases, omitted.
  • If an individual was born and died in the same place, the placename is displayed only once followed by a semicolon and the birth and death dates, e.g. Cleveland, Bradley, Tennessee, USA;15 Nov 1815 - 04 Jan 1887 .
  • When both the date and place are unknown, nothing is printed (well, except when it is known that a person has died, in which case "??" is displayed).
  • I also use an unpublished mod to create shorter alternate placenames of USA placenames (e.g. "Cleveland, Cuyahoga, OH" for "Cleveland, Cuyahoga County, Ohio, USA". At present, this scheme depends on two other published mods: Placename Format and Burials-More Details. If you're interested in using short alternate placenames, let me know, and I'll share the mod with you.

Revision History

Mod Version TNG Versions Date Note
v13.0.0.17b1 13-13.1 14Nov2021 No functional changes. Changed two comments that happened to use a combination of characters that PHP8 no longer recognizes as comments!?!
Specifically - End-of-line comments can be started with a single pound sign or by double slashes. Most programmers use double slashes. I use a single pound sign to make it easy to distinguish my comments from native TNG comments. But in PHP8, if a left bracket immediately follows a pound sign, the left bracket is seen as a invalid character, not as part of a comment.
v13.0.0.17b 13-13.1 13Nov2021 No functional changes for the end user. Cleaned up and annotated the mod options, added some language string translations.
v13.0.0.17a 13 30Mar2021 Minor changes and language updates
  • Moved the legends into fieldsets.
  • Changed the logic behind displaying the place of residence of 'living' people after learning that some site admins mark people who have died as 'living' for several years to keep them private. The code now looks for a death date before looking for the Living flag.
  • Added a Danish translation, courtesy of Karsten Weikop
  • Updated Norwegian translations, courtesy of Kåre Kjøllesdal
v13.0.0.17 13 20Sep2020 Revision Notes   [Show Details]
[Hide details]
  1. For TNGv13, updated one target location search string change because of an empty() function call in
  2. Removed mappedigree.php from this mod because the TNGv13 version of the Ancestor Map mod adds its own link to the Text+ ancestor chart.
  3. Added translations: French by Katryne Chauvigné-Bourlaud, Dutch by Bernard Woertelberger, German by Hendrik Martius, Norwegian by Kåre Kjøllesdal, and Czeck and Spanish by Ron Krzmarzick
  4. The Descendant chart locator now works for parents so the locator's ancestor and descendant chart links are available.
  5. The Ancestor chart locator now has ancestor and descendant chart links like the descendant chart locator.
  6. Removed the Inner Menu cleanup utility; it will go in its own adjunct mod.:
  7. Added the paper width selection box help text.
  8. Added international paper sizes
  9. Reworked the layout of the chart legends, putting the legend in a bordered box, and adding the label "Legend".
  10. Added an an option to use separate lines for name&age/birth/death/marriage.
[Hide details]
See earlier versions in the separate Wiki article TextPlus Charts pre-TNGv13

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
An example in Robin Richmond's Genealogy Database Robin Richmond Mod developer 13.0.0.17b1 13.1 EN
Families all over the world Hans Weebers public / private 10.1.0.13 12.0.1 NL,EN,DE,FR
van Heerden Genealogy Emile Private site 12.0.0.16beta3 12.1 EN
Van der Maarel Genealogy Edward van der Maarel 12.0.0.15d 12.0.2 EN,NL
Mitchell Families Online Roger Mitchell Another great tool for visitors, very well implemented! 10.1.0.8 10.1.0 EN
Turner mob Margaret Grogan Turner Another great tool for visitors, thanks! 10.0.2.6 10.0.3 EN
Hooley Family Links Rick Hooley Public/Private Site See Here See Here EN
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.10b 11.0.0 NL,EN
Moss family tree Chris Moss Best text-based display. Public. 10.1.0.12a 11.1.2 EN,DE,FR
Brady Family Tree in Western Australia Darryl Brady Public site 10.1.0.12 11.0.1 EN,DE
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
Our Family Links Chuck Filteau Public site, modified Template 12 10.1.0.12 10.1.2 EN
Racine d'Alsace J-Louis Valory Public (registration) 13.0.0.17a 13.0.3 FR
Journeys in Genealogy Patrick Thrush Public WordPress/TNG bundle 12.0.0.15e 12.0.3 EN
Our Family Histories Bryan S. Larson See Here See Here EN
Familienforschung SCABELL Helga Scabell Public/Private 12.0.0.15e 13.0.1 DE,EN,PT
Kleinmann Genealogy John Kleinmann Public/Private 12.0.0.17b1 14.0 EN
Our Acadian Family Randal Suire Public/Private Media (Very Useful) 12.0.0.15e 12.0.3 EN,FR
Nielsen Hayden genealogy Patrick Nielsen Hayden Public site 13.0.0.17 13.0.1 EN
Our Roots&Relatives Kåre Kjøllesdal Private site 13.0.0.17a 13.1 NO,EN
Kloosterman Genealogy Example of Text+ Mod Cees Kloosterman Public website 13.0.0.17 13.0 EN,DU
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.17 13.1.2 NL
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN