Difference between revisions of "Chronology"

From TNG_Wiki
Jump to navigation Jump to search
Line 189: Line 189:
 
| 14.0.3
 
| 14.0.3
 
| NL
 
| NL
|-
 
[https://www.kjoellesdal.com/ Our Roots&Relatives]
 
| [[User:Kare|Kåre Kjøllesdal]]
 
| Private
 
| 14.0.0.1
 
| 14.0.3
 
| NO/EN
 
 
|-
 
|-
 
| [https://www.royandboucher.com/tng/index.php/ Our Roy and Boucher Family]
 
| [https://www.royandboucher.com/tng/index.php/ Our Roy and Boucher Family]

Revision as of 17:48, 1 January 2024

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 09 Dec 2023
Download link For
TNG 14.0

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 v14.0.0.1
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

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 TNG 14 installation in working order.

IMPORTANT : Before installing

Before installing, it is best to make a backup copy of the files that will be modified by this mod.

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

  • Unzip the received file directly in the "mods" sub directory of your TNG installation.
  • Via Mod Manager, 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 Show All Family and Remove Timeline Tab Mods !
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.

Known Problems

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
  • If the problem persists, open an issue in the TNG Community Forums. At worst, send a mail to MyMail

Historic of modifications

Version Release Date Contents
v14.0.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)
v14.0.0.0 09 Dec 2023 First online version.

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 v14.0.0.0 14.0.3 FR/EN/DU/GE/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 v14.0.0.0 14.0.3 FR/EN
Racine d'Alsace J-Louis Valory Public (registration) v14.0.0.0 14.0.3 FR
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.0.1 14.0.3 NL
Our Roy and Boucher Family Ken Roy Modified CSS based on Cees Kloosterman's CSS post v14.0.0.0 14.0.3 EN,FR
Roger's Ramblings Roger Moffat Modified CSS based on Cees Kloosterman's CSS post v14.0.0.0 14.0.3 EN
stone/mott genealogy Albert Stone Private v14.0.0.0 14.0.3 EN

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_vars.php file.
Using CSS