Collapsible Standard Events

From TNG_Wiki
Revision as of 05:10, 10 May 2018 by XerxX (talk | contribs) (Minor correction)
Jump to navigation Jump to search
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


Collapsible Standard Events
Summary Introduce a new panel in Admin >> Setup >> General Settings
Validation
Mod Updated 10 May 2018
Download link for
TNG 12.0
Collapsible Standard Events mod v12.0.0.0
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 Collapsible Standard Events mods
Author(s) Erik Hoppe
Homepage Collapsible Standard Events (this page)
Mod Support My Mod Support
Contact Developer My Mod Support
Latest Mod 10.1.1.0 for TNG v10.1.1 - 10.1.2
11.0.0.0 for TNG v11.0.0
Min TNG V 10.1.1
Max TNG V 12.0.0
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


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. Click on the download link, shown in the summary in the upper right corner of the page.
  2. Un-zip the file.
  3. Move/copy/FTP the un-zipped .cfg file to the mods folder of your TNG system.
  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

Version Date Description
V12.0.0.0 10 May 2018 Updated for TNG v12.0.0
V11.0.0.0 18 March 2016 Updated for TNG v11.0.0
V10.1.1.0 18 May 2015 Introduction.


Visualization of this mod (v10.1.1.0)

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:
Collaps1.png

All selected ("Yes") events start collapsed:
Collaps2.png
Collaps3.png
(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)
Collaps4.png


Sites using this mod

URL User Note Mod-Version TNG-Version User-language
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author. 11.0.0.0 11.1.2 Swedish, German, English
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 site 10.1.1.0 11.1.2 English

TNG Modules Impacted

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