Difference between revisions of "Collapsible Standard Events"

From TNG_Wiki
Jump to: navigation, search
(Sites using this mod)
(Sites using this mod)
Line 159: Line 159:
 
| 9.1.3
 
| 9.1.3
 
| NL, EN
 
| NL, EN
 +
|-
 +
! [http://donquigley.net Quigley Doyle Family Tree]
 +
! [[User:dwqwiz|Don Quigley]]
 +
! Public
 +
! 11.0.0.0
 +
! 11.0.0
 +
| EN
 +
|-
 
|}
 
|}
  

Revision as of 00:19, 4 April 2016

Collapsible Standard Events
Summary Introduce a new panel in Admin >> Setup >> General Settings
Validation
Mod Updated {{{mod_last_update}}}
Download link 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 11.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
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
Families all over the World Hans Weebers Public/Private 11.0.0.0 11.0.0.0 NL/DE/ENG/(FR)
Andersson, Hoppe, Sahlin, Thorell Erik Hoppe Mod author. 10.1.1.0 10.1.3 Swedish, German, English
Wortelboer Genealogy Bernard Wortelboer 10.1.1.0 9.1.3 NL, EN
Quigley Doyle Family Tree Don Quigley Public 11.0.0.0 11.0.0 EN

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