Custom Event Show/Hide
This mod only applies to V9 The Custom Event Show/Hide mod is obsolete with TNG V10 since the functionality has been included in TNG |
Custom Event Show/Hide | ||
---|---|---|
Summary | This mod hides custom events on a person's page and adds a 'Show/Hide' button where they are normally displayed. | |
Validation | {{{mod_validation}}} | |
Mod Updated | {{{mod_last_update}}} | |
Download link | For
| |
Download stats | See download statistics | |
Author(s) | Jeff Robison | |
Homepage | Custom Event Show/Hide (This page) | |
Mod Support | TNG Community Forums | |
Contact Developer | My Mod Support | |
Latest Mod | 9.1.0.2 | |
Min TNG V | ? | |
Max TNG V | 9.2.2 | |
Files modified | languages/English-UTF8/cust_text.php languages/English/cust_text.php getperson.php | |
Related Mods | ||
Notes |
Purpose of the mod
This mod is designed to hide/show custom events on a person's page which are dated between birth and death dates of the individual.
An alternative mod is Show/Hide Events which preserves chronological order and allows you to exclude single events.
Try it out: Robison and Blythe Genealogy
Note: If you have Person Custom Events mod installed you must remove it!
Developer
This mod was developed by Jeff Robison with the aid of....
Graham Chamberlain, Bart Degryse, & Roger Mitchell.
* View all mods by Jeff Robison
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- 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
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
After Installation
There are parameters you can change in Mod Manager after installation by clicking the 'Edit' button for this mod.
Version 9.1.0.2 differs from previous version in that you enter the events you WANT to hide.
Note: If an unhidden event date falls within the range of selected hidden events it will be displayed after.
Note: If an event you want to hide occurs after the death event it will be displayed before the death date.
- A parameter to optionally hide or show events to start is available for edit in Mod Manager after installation.
- A parameter to optionally hide parent events is available for edit in Mod Manager after installation.
Parameter 2 is ignored unless Parental data on person page is set to 'Show all events and media' in Admin Setup. - A parameter to optionally hide family events is available for edit in Mod Manager after installation.
- A parameter to list events you want to hide is available for edit in Mod Manager after installation.
- Enter Events You Want To Hide.
- Here you can enter the 'Tag' or 'Type/Description' of events you want to hide.
- You can find these in Admin/Custom Event Types.
- If the event 'tag' is EVEN you will need to enter the 'Type/Description'.
- Each one must be separated with a comma. Do not separate with a comma and space.
- Example: ALIA,OBIT,_IMMI,1930 U.S. Census
Suggestion: After entering your events copy them to a .txt file for future use.
Custom Text Additions for Other Languages
Note: the config file only includes the English language custom text, so if you support multiple languages you can modify the config file to add the custom text for those other languages, or manually add the following custom text to each of your other languages with appropriate translations of course.
German/Deutsch
//Custom Events Show/Hide Mod
$text['1moreevent'] = 'xxx weiteres Ereignis';//xxx Will be replaced with the hidden event count
$text['moreevents'] = 'xxx weitere Ereignisse';//xxx Will be replaced with the hidden event count
$text['show'] = ' Anzeigen ';
$text['hide'] = ' Ausblenden ';
Dutch/Nederlands
//Custom Events Show/Hide Mod
$text['1moreevent'] = 'xxx Meer Gebeurtenis';//xxx Will be replaced with the hidden event count
$text['moreevents'] = 'xxx Meer Gebeurtenissen';//xxx Will be replaced with the hidden event count
$text['show'] = ' Tonen ';
$text['hide'] = ' Verbergen ';
French
Entrer é ce que é !
//Custom Events Show/Hide Mod
$text['1moreevent'] = 'xxx événement plus'; //xxx Will be replaced with the hidden event count
$text['moreevents'] = 'xxx autres événements'; //xxx Will be replaced with the hidden event count
$text['show'] = ' Afficher ';
$text['hide'] = ' Masquer ';
Spanish
Ingres á como á !
$text['1moreevent'] = 'xxx más Evento';//xxx Will be replaced with the hidden event count
$text['moreevents'] = 'xxx más Eventos';//xxx Will be replaced with the hidden event count
$text['show'] = ' Mostrar ';
$text['hide'] = ' Ocultar ';
Visualization of events collapsed
Visualization of events expanded
Sites using this mod
If you download and install this mod, please add your TNG site to the table below:
URL | User | Note | Mod-Version | TNG-Version | User-language |
---|---|---|---|---|---|
Our Acadian, French-Canadian, and Maine Ancestors | Ken Roy | Now using the Show/Hide Events mod | 9.2.2 | English, French | |
Grogan mob | Margaret Grogan Turner | 9.1.0.0 | 9.2.1 | English | |
Turner mob | Margaret Grogan Turner | 9.1.0.0 | 9.2.1 | English | |
my family | (no public site) | see User:ojay | see User:ojay | D,(NL),(GB) | |
The Zausmer Forest (private site) | Joyaa Antares | Great Mod - thanks | 9.1.0.2 | 9.2.1 | English |
Chamberlain & Eidenbenz Genealogy | Graham Chamberlain | ... | 9.1.0.2 | 9.2.2 | GB, DE, FR, ES, NL |
Mitchell Families Online | Roger Mitchell | Another great idea from Jeff! | 9.1.0.2 | 9.2.1 | English |
Our Family Histories | Bryan S. Larson | Another great mod! | 9.1.0.2 | 9.2.2 | English |