Difference between revisions of "Custom Event Show/Hide"

From TNG_Wiki
Jump to navigation Jump to search
Line 9: Line 9:
 
| mod_contact    = [http://www.robisonandblythe.org/mod_support.php My Mod Support]
 
| mod_contact    = [http://www.robisonandblythe.org/mod_support.php My Mod Support]
 
| mod_support    = [http://www.tngforum.us/ TNG Forums]
 
| mod_support    = [http://www.tngforum.us/ TNG Forums]
| mod_version    = 9.1.0.2beta1
+
| mod_version    = 9.1.0.2
 
| min_TNG_ver    = ?
 
| min_TNG_ver    = ?
 
| max_TNG_ver    = 9.2.1
 
| max_TNG_ver    = 9.2.1
Line 149: Line 149:
 
| [[User:Jefr58|Jeff Robison]]
 
| [[User:Jefr58|Jeff Robison]]
 
| Mod developer
 
| Mod developer
| 9.1.0.2beta1
+
| 9.1.0.2
 
| 9.2.1
 
| 9.2.1
 
| English
 
| English

Revision as of 08:16, 3 August 2013

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
TNG 9.1


custevent_showhide_v9.1.0.2.zip


Download stats See download statistics
Author(s) Jeff Robison
Homepage Robison and Blythe Genealogy
Mod Support TNG Forums
Contact Developer My Mod Support
Latest Mod 9.1.0.2
Min TNG V ?
Max TNG V 9.2.1
Files modified
languages/English-UTF8/cust_text.php
languages/English/cust_text.php
getperson.php
Related Mods
Notes



Purpose of the mod

This mod hides custom events on a person's page and adds a 'Show' or 'Hide' button where they are normally displayed.
Options available to hide parent and family events
Known Mod Problems:
The 'Show' and 'Hide' buttons do not function using mobile devices when Family Preview Mod v9.0.0.1 or Family Indicators Mod v9.0.0.8a are installed.
Updates for the above mentioned mods to correct this are available.
Inspired by Ken Roy, Janice Nation and my personal desire to hide extensive custom events.
Try it out: Robison and Blythe Genealogy

Note: If you have Person Custom Events mod installed you must remove it!
Note: My mods are built to work with TNG out of the box!
Note: If you have customized getperson.php yourself I will not support this mod unless there is a mod conflict!

Developer

This mod was developed by Jeff Robison with the aid of....
Graham Chamberlain, Bart Degryse, & Roger Mitchell.

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Remove and delete current (if any) version of this mod.
  2. Download the .zip file. Upload and Extract to the mods folder.
  3. Note: If you have Person Custom Events mod installed you must remove it!
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.

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.2beta1 differs from previous version in that you enter the events you WANT to hide.
It is set up this way to preserve the chronological order of events. If an unhidden event date falls within the range of selected hidden events it will be displayed after. I will work on a solution for this.

  1. A parameter to optionally hide or show events to start is available for edit in Mod Manager after installation.
  2. Parameters to optionally hide parent and family events is available for edit in Mod Manager after installation.
  3. 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
  • My personal event list is very lengthy.

Suggestion: After entering your events copy them to a .txt file for future use.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support.
  3. Trash the mod.

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 this mod collapse

Showhidecollapsed.jpg
d ==

== Visualization of this mod expande

Showhideexpanded.jpg
d ==


TNG User sites using this mod

Please add your site if you use this modification.

URL User Note Mod-Version TNG-Version User-language
Robison and Blythe Genealogy Jeff Robison Mod developer 9.1.0.2 9.2.1 English
Our Acadian, French-Canadian, and Maine Ancestors Ken Roy Better mod than Person Custom Event 9.1.0.2beta1 9.2.0 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 Oname.gif (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.1 9.2.0 English
Chamberlain & Eidenbenz Genealogy Graham Chamberlain ... 9.1.0.2beta1 9.2.1 GB, DE, FR, ES, NL
Mitchell Families Online Roger Mitchell Another great idea from Jeff! 9.1.0.2beta1 9.2.1 English
GenealogyWings John Mark Motyer Public site 9.1.0.2 beta1 9.2.1 EN, DE, RU
--- --- --- --- --- ---