Show/Hide Person Media

From TNG_Wiki
Jump to navigation Jump to search
Show/Hide Person Media.
Summary This mod will hide/show media on a person's page. A toggle icon is added to the media label.
Validation {{{mod_validation}}}
Mod Updated {{{mod_last_update}}}
Download link
TNG 9.1

showhide_pers_media_v9.1.0.0


Download stats
Author(s) Jeff Robison
Homepage Robison and Blythe Genealogy
Mod Support TNG Forums
Contact Developer My Mod Support
Latest Mod 9.1.0.0
Min TNG V ?
Max TNG V 9.2.2
Files modified
personlib.php
Related Mods
Notes



Purpose of the mod

This mod will hide/show media on a person's page to reduce 'excessive' displays.
A expand/collapse toggle icon is added to the media label.


Try it out: Robison and Blythe Genealogy


Developer

This mod was developed by Jeff Robison.

Known Mod Conflicts

This mod will not hide census displays on a person's page created by the Census Feature mod at this time.
There is a conflict with Compact Person Media mod that I have a fix for but can't make public until I hear from the developer.

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 Compact Person Media 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.

  1. A parameter to optionally hide or show events to start is available for edit in Mod Manager after installation.
  2. A parameter to list events you do not want to hide is available for edit in Mod Manager after installation.
  • By default 'Standard' events are not hidden. If you want to hide a 'Standard' event, remove it from the list of tags.
  • Events consisting of only 1 row (No further info) will not have a toggle icon.
  • Here you can enter the 'Tag' or 'Type/Description' of events you Do Not 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' or 'Display'.
  • Each one must be separated with a comma only. 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.

  1. Label column not wide enough after installation?
  • Increase the number of pixels in the class below and add to css/mytngstyle.css and/or template(x)/css/mytngstyle.css.
.labelcol {
    width:115px;
}

In the event of a problem

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

Visualization of this mod collapsed

Shcollapsed.jpg

Visualization of this mod expanded

Shexpanded.jpg

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.0 9.2.2 English
Our Roy and Boucher Family Ken Roy Also hide BIRT,CHR,DEAT,BURI events 9.1.0.0 9.2.2 English, French
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Yet another great idea from Jeff! 9.1.0.0 9.2.2 GB, DE, FR, ES, NL
Mitchell Families Online Roger Mitchell Brilliant implementation of a great idea! 9.1.0.0 9.2.2 GB