Group custom events

From TNG_Wiki
Jump to navigation Jump to search
Restricted Downloads of Group custom 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


Group custom events
Summary Regroup any custom event in one field
Validation
Mod Updated 18 Dec 2021
Download link v 13.0.3.3d
TNG 13.0
Download stats Show statistics
Author(s) Michel Kirsch
Homepage Racines luxo-hennuyeres
Mod Support TNG Community Forums
Contact Developer MyMail
Latest Mod for TNG v13
Min TNG V n.c
Max TNG V v13.0.3.3d v13+
Files modified
getperson.php
personlib.php
Related Mods
Notes



Notes

This Mod replaces the old "Regroup Events" Mod !

Caution If you use them, Add Person Siblings Row and Display_Jobs_Facts Mods must installed before and Regroup Person Profile Mod must be installed after Group custom events. Caution


Purpose of the Mod

Allows you to regroup any event (tag) in one collapsible field on get_person.php.
You indicate your self the list of events to be grouped in the parameters.
To define this list, got to Administration >> Mod Manager >> Click on this Mod >> Edit Options button.
To collapse the field, the "Collapse Event" option for this event must be set on "yes".
Change the "Collapse Event" option. (Menu Administration >> Custom Event Types >> Edit)

image_alt_name

Development

Written by : Michel Kirsch from Charleroi - Hainaut - Belgium

Requirements

A TNG v13.0.3 installation in working order.


IMPORTANT : Before installing

Before installing, it is judicious 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:

getperson.php
personlib.php

INSTALLATION

  • Unzip the received file directly in the "mods" sub directory of your TNG installation.
  • Via Mod Manager, install the Mod.

Upgrade

When upgrading to a newer version

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Known Problems

if you use the Add Person Siblings Row or the Display Jobs Facts Mod, you have to install it before installing Group Custom Events.
If you use the Regroup Person Profile, you must install it after the install of Group Custom Events.

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 or on the page of Michel Kirsch. At worst, send a mail to MyMail

Historic of modifications

Version Release Date Contents
v13.0.3.3d 18 Dec 2021 Fix a potential error when the list of events to group is empty.
v13.0.3.3c 16 Dec 2021 Adapted to work with Age at event Mod.
v13.0.3.3a 18 oct 2021 Fix a parameter issue with icon height - Change the text for the arrow.


v13.0.3.3 18 oct 2021 Adding parameters for the icon edition (name, placed before/after + dimensions).
v13.0.3.2 13 oct 2021 PHP8 ready.
v13.0.3.1e 02 may 2021 If there is only one occurennce for an event, it is displayed normally.
The magnifying glass is present for the places.
Events are displayed ont he event map.
Sources are displayed.
Fix some other little bugs.
v13.0.3.1c 24 avr 2021 Add German, Dutch and English languages. Display "Click Arrow" message only if needed
v13.0.3.1b 24 apr 2021 The previous version doesn't install on a "clean" version of personlib.php. Changing the location #2 of personlib.php
v13.0.3.1a 22 apr 2021 Editing an event was not responding !
v13.0.3.1 22 apr 2021 First online version. Medias are now visible in the event. New code.

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
Stegemüller Family History Hanne B. Stegemüller Public site v13.0.3.1e 13.0.4 EN, DE, DA
Racines luxo-hennuyeres Michel Kirsch Mod's Developper v13.0.3.1e 13.0.3 FR/EN/NL/GE
Généalogie des MALVACHE Cédric Malvache v13.0.3.1 13.0.3
Racine d'Alsace J-Louis Valory Public site(registration) v13.0.3.3d 13.1 FR
Scealta Ton van Lil v13.0.3.1e 13.0.3 NL/EN
Genealogy of a Dutch East-Indies Family Rob Severijns Private V13.0.3.3d 13.1 NL/EN

Visualization

The normal view, without the Mod. The "Collapse Event" option is set to "yes". All the events are displayed.

image_alt_name

The normal view, with the Mod installed. The "Collapse Event" option is set to "no".

image_alt_name

The view with the Mod installed. The "Collapse Event" option is set to "yes".

image_alt_name |}