Collapsible Standard Events

Restricted Downloads of Collapsible Standard Events 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


Collapsible Standard Events
Summary Introduce a new panel in Admin >> Setup >> General Settings
Validation
Mod Updated 20 Sep 2022
Download link for
TNG 14.0
collapsible_standard_events_v14.0.0.2.zip
for
TNG 13.0
collapsible_standard_events_v13.0.0.1.zip
for
TNG 12.0
Collapsible Standard Events mod v12.0.0.0a
for
TNG 11.0
Collapsible Standard Events mod v11.0.0.0
for
TNG 10.1.1
Collapsible Standard Events mod v10.1.1.0
Download stats Stats for v13/v141
Collapsible Standard Events mods v10, 11, 12
Author(s) Erik Hoppe
Updated for PHP 8 by Brent Hemphill and published by Ken Roy
Homepage Collapsible Standard Events (this page)
Mod Support TNG Community Forums: TNG Specific - Code Discussion - Addons
Contact Developer
Latest Mod 10.1.1.0 for TNG v10.1.1 - 10.1.2
11.0.0.0a for TNG v11.0.0
12.0.0.0a for TNG v12.0.0+
13.0.0.1 for TNG v13.0.0+
14.0.0.2 for TNG 14+
Min TNG V 10.1.1
Max TNG V 14+
Files modified
Related Mods
Notes
Author of TNG Colouring Book
Mods by me: At my user page.

Purpose of the mod

Introduction of a new panel in Administrator area >> Setup >> General Settings.

16 standard events can be made collapsible by selecting TNG standard "Yes" / "No" dropdowns.
The events are are:

  • Name
  • Title
  • Suffix
  • Prefix
  • Nickname
  • Birth
  • Christening
  • Married
  • Divorced
  • Death
  • Burial
  • Baptism (LDS)
  • Confirmation (LDS)
  • Initiatory (LDS)
  • Endowment (LDS)
  • Sealed to Parents (LDS)

Selected events with anything more than a date and a place will be marked as collapsible when displayed on getperson.php.

Developer

This mod was developed by Erik Hoppe who is NOT maintaining or developing this mod. See Mod Support in the data box top right. Updated for PHP 8 by Brent Hemphill and published by Ken Roy

Requirements

TNG version: 10.1.1
  • A working TNG installation.
  • A backup of all affected files (see the list below)
  • An installed current version of the Mod Manager (is already included in TNG v10.1.1)

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.

In the event of a problem

Custom Text Additions

Note: The config file includes the English language custom text.
For other languages you can modify the config file to add the custom text or manually add to whatever language you like.

English custom text For Reference Only!

$text['xerxxCollapsibleStd'] = "Collapsible Standard Events";
$text['xerxxSetCollapsible'] = "Select "Yes" for collapsible";

Uninstall

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Remove button to uninstall the mod and then
  2. click the Delete button to delete the config file from the mods folder

After removal: Go to Setup >> General Settings and click the Save button to make a new config.php file which will delete the collaps-flags.

Or simply set all selectors in the panel to No and Save it to the same visual effect as uninstalling it.

Revision History

Mod Version TNG Version Date Contents
14.0.0.2 14.0 24 Sep 2022 Updated for TNG v14 during beta testing and published by Ken Roy
13.0.0.1 13.0 17 Oct 2021 Updated for PHP 8 by Brent Hemphill and published by Ken Roy
13.0.0.a 13.0 22 Sep 2020 Updated for TNG v13.0
12.0.0.0a 12.0 06 Jan 2019 The wrong arrow toggled in Admin interface. Thanks to Brent H for the alert.
11.0.0.0a 11.0 06 Jan 2019 The wrong arrow toggled in Admin interface. Thanks to Brent H for the alert.
12.0.0.0 12.0 10 May 2018 Updated for TNG v12.0.0
11.0.0.0 11.0 18 March 2016 Updated for TNG v11.0.0
10.1.1.0 10.1 18 May 2015 Introduction.

Visualization

The panel in Admin >> Setup >> General Settings (default value for all is No): Selected Standard Events that contains more than date and place are collapsible:
 

All selected ("Yes") events start collapsed:
 
 
(Only date and place in Died and Divorced = not marked as collapsible)
If the mod is used with AccessRestriction (v10) or Access panel, and the visitor is not logged in, any Event that would only show icon(s) and the "Log in" text is not collapsible:
(Abbreviate First Names mod and not posted Remove Gender mod are active here)
 

TNG Modules Involved

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

  • admin_genconfig.php
  • admin_updateconfig.php
  • config.php (not directly by the mod but by the new code in admin_updateconfig.php)
  • personlib.php
  • languages/English/cust_text.php
  • languages/English-UTF8/cust_text.php

Sites using this mod

If you download and install this mod, please add your TNG site to the table below:

Regarding my Swedish-Only site below: Using the Google setting "English language" and then google for the site, I have a "Translate this page" beside the link. If I use it I get a quite decent translation...

URL User Note Mod-Version TNG-Version User-language
Botebygden / CD Jansdotter
Swedish only (community research site).
Lars Arén Open public site: Many of Erik Hoppe's mods on display. 13.0.0.1 13.1.2 SE
Treichel-Familie.de Andreas Treichel Public & Private 14​.0​.0​.2 14.0.3 DE,UK,FR,ES,PL
Families all over the World Hans Weebers Public/Private 11.0.0.0 11.0.0.0 NL,DE,ENG,FR
Wortelboer Genealogy Bernard Wortelboer 11.0.0.0 11.0.0 NL,EN
Quigley Doyle Family Tree Don Quigley Public 11.0.0.0 11.0.0 EN
Our Acadian Family User: Randal Suire Public 11.0.0.0 11.1.0 EN, FR
Stamboom Jongman Roel Jongman Public/Private site 10.1.1.0 10.1.3 NL,DE,EN
Bumbery-Wangler Bob Bumbery Public/Private site 13.0.0.0 13.0.0 EN
Die Familie Assent-Metternich Rainer Assent Private site 13.0.0.0 13.0.3 DE
Our Roy and Boucher Family Ken Roy Published PHP 8 updates by Brent Hemphill for TNG 13 and updated TNG 14 14.0.0.2
TNG 14.0.4
FR, EN
Lathrope Family Genealogy S Sharpe Public 13.0.0.1 13.0.4, EN
Helwegs Ahnen Andreas Helweg Public 13.0.0.1 13.1 DE,EN,NL,DK
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.1 13.1.2 NL
Your Roots are Showing Harold Craswell Public/Private See Here See Here EN
The Severijns / Timmer Familytree Rob Severijns Public / Private 14.0.0.2 14.0.4 NL, EN
Coon White Family History Alan Coon Public / Private 13.0.0.1 13.1.2 EN
Les Lapierre d'Amérique Normand Lapierre Public/Private site 14.0.0.2 14.0 FR,EN
Vår Familjehistoria Lars Arén Public 14.0.0.2 14.0.4 SE,EN,DE
Familjen Johnson Leif Johnson Public 14.0.0.2 14.0.1 SE,EN