Chronology

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Chronology are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox Caution


Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0


Chronology
Summary Displays an events chronology for the current person.
Validation
Mod Updated 06 Jan 2024
Download link For
TNG 14.0

v14.0.0.1a

v14.0.0.1
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod 14.0.0.1a
Min TNG V 14
Max TNG V n.c.
Files modified
genlib.php
getperson.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php
Related Mods
Notes

NOTE for version 14.0.0.1

This version is the result of looong tests done with a lot of users: Brett, Cees, Dan, Drew, Marc, Olivier, Kare, Katryne, Ken, Rob, Ron, Steve . Sorry if I forgot some of you. Thx for all your tests.
IMPORTANT : Installing this version will overwrite your extensions/chronology_vars.php file ! Think to make a backup of your data before installing !
Cees Kloostreman wrote a little Mod that allows you to display the full name of the current person in the chronology. It is available here
Version 1a : if upgrade from version 1, your variables are preserved. If upgrade from older version, you have to manually delete or rename your extensions/chronology_vars.php file.

Purpose of the Mod

This mod displays an another events chronology than the TNG Timeline for the currentperson.
The list of events to be displayed can be limited to the events occured between birth and burial date (Mod Options)
The text color of parents, person's and children events can be modified (Mod Options)
The chronology page can be accessed via the new 'Chronology' Tab in the menu.
Chronology uses the data elaborated by getperson.php, plus some missing data. so, it is very fast.

Development

Author : MichelK from Charleroi-Hainaut-Belgium
Thanks to Katryne, Ken, Ron, Cees, Brett, Olivier, and Marc for all their tests...

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.
  • Both English and English-UTF8 folders be on your site

TNG Modules Impacted

You can click on the [Expand] link on the right to display the list of TNG Modules change and the [Collapse] link to hide this section again.

The following TNG Modules are modified, and should be backed up prior to installing this mod:

genlib.php
getperson.php
languages/Dutch-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
languages/French-UTF8/cust_text.php
languages/French/cust_text.php

Files copied by this Mod

Source Destination
chronology_v14.0.0.x/chronology.php TNG root/chronology.php
~chronology_v14.0.0.x/chronology_vars.php TNG root/$extspath/chronology_vars.php (protected)
~chronology_v14.0.0.x/chronology.css.php TNG root/$extspath/chronology.css.php (protected)

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

Mod Options

1  - Limit to life events : limits the displayed events to the events that occured between the birth and death/burial dates. (Default: do not limit)
2  - Display place names between parenthesis or preceded by the word 'at' (Default: the word)
3-9- Modify the text color for Parents, Person and Children events (Default : system color)
10 - Remove the Timeline Tab from the Menu (default : do not remove). DO NOT work with the Show All Family Mod, so you have to use the Remove Timeline Tab Mod.
11 - Include events from the timeline events table (default is NO)
12 - Choose how many first names will be displayed. (default is 1)
13 - Decide if you want to display the last name of the person (default is NO).
14 - Try to display events having no date in the chronology. The events will be placed near their natural place. (Default is NO).
15 - How empty dates are represented. Enter here what you want. Default is [?]. Set this option = Y will display "Yes, date unknown".
16 - In the line concerning parents marriage, you can include the parents names (Default is NO)
In addition, the Mod works with a CSS definition contained in the extensions/chronology.css.php. V14.0.0.1 contains an example of more complete CSS definitione (Thx to Cees)

Upgrade

When upgrading to a newer version

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.
  • Your settings (extensions/chronology_vars.php) will be preserved unless an installation requires the variable file to be replaced.

Conflicts and Issues

If you use the Show All Family Mod and want to hide the Timeline Tab, please use the Remove Timeline Tab Mod.

Companion

Cees Kloostreman wrote a little Mod that allows you to display the full name of the current person in the chronology. It is available here

In the event of a problem

  • Try using the Mod Manager Remove capability.
  • Copy the backup of the affected files back to your TNG directory.
  • Retry installing mod.
  • Contact us through the TNG Community Forums. At worst, send a mail to MyMail

Historic of modifications

Mod Version TNG Version Date Contents
14.0.0.1a 14.0 14.0.1 06 Jan 2024 Fixed the display of personnal event types for living persons on open sites. Added Danish and Swedish languages (Jan Suhr). Redirect to getperson.php instead of index.php when $_SESSION is lost.
14.0.0.1 14.0 14.0.1 01 Jan 2024
Added predefined timeline events (option. False = default) - If family preview Mod is installed, added a person preview for all person cited in the events.
Added option to display more parts  of the firstname (option 12- default is 1) and the lastname (option 13 - default is NO)
Fix code error in chronology.php (unset($marr) instead of $evenement) - Modify locations in genlib.php for compliance with FGW Mods
Check if Remove Timeline Tab or Show All Family Mod are installed and disable the hidding of the "timeline" Tab.
Doesn't display events without permission ($allow_private, $allow_living - John on the Forum) - Take all parents! - Take all children ! (Forum) - Display 1,2,3,.. firstnames and adds lastname without parenthesis on Mod Option 13. - Added parent relation if exists (adoptive, putative...) -
translate correctly parent relations.	(new strings) - Added born child(ren) having no birthdate (Dan's code) - Added death children having no death date but having a death or burial place - Added a parameter 14 to display these events or not (default is NOT) and an option 15 for representing empty dates (Y will display "Yes, date unknown")
All variables in chronology_vars.php - Added the age of the current person at event after the date
Separate css file (extensions/chronology.css.php) and added Cees's code as example - Added a class for date display (chrondate_rankx) as in Cees example
Added an option 16 to show or not (default is NOT) the parents names in their marriage event
Added some events having a place but no date when it is possible (birth, death, baptism and burial) for all people. - Fixed errors when $_SESSION is not set by getperson.php - Added Norwegian language (Thx to Kare)
14.0.0.0 14.0 14.0.1 09 Dec 2023 First online version.

Visualization

Chronology New Tab. Note that an option allows you to delete the Timeline Tab.
New tab

Chronology Page. Note that an option allows you to limit the events that occured between birth and burial dates of the person.
Chronology page

Using CSS. User can change the text colors in the Mod options. In addition, you can modify the CSS definitions in the extensions/chronology.css.php file.
Using CSS

Sites using this mod

If you download and install this mod, please add your TNG site to the table below: If you have any problem to do it, send me a mail...

URL User Note Mod-Version TNG-Version User-language
Racines luxo-hennuyeres Michel Kirsch Mod's Developper 14.0.0.0 14.0.3 FR,EN,DU,DE,SP
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See here See here EN,DE,CS
GénéaKat Katryne Happy user 14.0.0.1b 14.0.4 FR,EN,SP
Racine d'Alsace J-Louis Valory Public (registration) 14.0.0.0 14.0.3 FR
The Severijns / Timmer Familytree Rob Severijns Public / Private See here See here NL,EN
Our Roots&Relatives Kåre Kjøllesdal Private 14.0.0.1a 14.0.3 NO,EN
Our Roy and Boucher Family Ken Roy Modified CSS based on Cees Kloosterman's CSS post 14.0.0.1a
TNG 14.0.4
EN,FR
Roger's Ramblings Roger Moffat Modified CSS based on Cees Kloosterman's CSS post, with the CSS code placed in css/mytngstyle.css 14.0.0.1a 14.0.3 EN
stone/mott genealogy Albert Stone Private -- nicely done mod 14.0.0.1
TNG 14.0.4
EN
Jan Suhr Genaology Jan Suhr Public site, some minor mods and adaption to Template 4 14.0.0.0 14.0.3 SE,DK,EN
Stammbaum der Familie Datschetzky Christian Datschetzky Public 14.0.0.1a 14.0.3 DE,EN
Genealogy and family archive Richard Atkin Public 14.0.0.1 14.0.3 EN
The Duttons of New England Darrin Dutton Public/Private 14.0.0.1a 14.0.3 EN
KK's Family History Kathy Kult Public & Private 14.0.0.1a 14.0.2 EN
Schroeder-Cantu.net Maria Rosa Schroeder Private 14.0.0.1a 14.0.3 SP,EN,DE
Familjen Johnson Leif Johnson Public site See here See here SV, EN


Auf den Spuren meiner Ahnen Michael Klein Public & Private 14.0.0.1a
TNG 14.0.5
DE,ES,EN,NL,FR