Family Preview Mod
Downloads of Family Preview Mod 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 | ||
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 |
Family Preview Mod. | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Summary | This mod adds a person preview on mouseover of family member's name on an individual's page. | |||||||||||||
Validation | This mod is XHTML compliant. | |||||||||||||
Mod Updated | 3 Jan 2022 | |||||||||||||
Download link | for
eliminates PHP 8 warnings Family_preview_v13.0.0.4.zip Mouseover preview
family_preview_v9.0.0.2.zip Click Mag-Glass icon for popup
family_preview_v10.1.0.3lb.zip
| |||||||||||||
Download stats | See download statistics For v13.0.0.3/4 | |||||||||||||
Author(s) | Jeff Robison | |||||||||||||
Homepage | Family Preview Mod (This page) | |||||||||||||
Mod Support | TNG Community Forums | |||||||||||||
Contact Developer | My Mod Support | |||||||||||||
Latest Mod | 13.0.0.4 for TNG 13+ 10.1.0.2c/10.1.0.2lb | |||||||||||||
Min TNG V | 9.1 | |||||||||||||
Max TNG V | 14+ | |||||||||||||
Files modified | css/genstyle.css getperson.php img/ | |||||||||||||
Related Mods | ||||||||||||||
Notes |
Purpose of the mod
- Version v9.0.0.2 and v10.0.0.0 adds a person preview on mouseover of family member's name on an individual's page comparable to the preview in search.php but the preview position is fixed on the page.
- Versions v9.0.0.2lb and v10.0.0.0alb adds a mag-glass icon after a person's name. A lite box popup is displayed when clicked. Navigation or more popups are available from the popup.
TNG version: | ≥ 12.0.0 |
- The Family Preview Mod Version 10.1.0.2c is complementary to two other mods if installed (Note the feature is only available on TNG 12 and is disabled for mobile devices):
- The Add Person Siblings Row mod
- - person preview popups of sibling and sibling spouses(partners) possible.
- The Show All Family mod
- - person preview popups of children's spouses(partners), oldest ancestors spouses(partners), parents other spouses(partners), and spouses other spouses(partners)
- The Add Person Siblings Row mod
Developer
This mod was developed by Jeff Robison.
* View all mods by Jeff Robison
Updated for TNG v13 by Ken Roy and Brent Hemphill to eliminate PHP 8 warnings
Requirements
- A working TNG installation. The automated installation release was tested at TNG Version 9.0.3.
- An installed current version of the Mod Manager.
Automated Installation
- Remove/Delete all previous versions of this mod.
- Download the .zip file. Upload and Extract to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.
In the event of a problem
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support.
Revision History
Version | Date | Contents |
---|---|---|
13.0.0.4 | 3 Jan 2022 | Updated by Ken Roy
|
13.0.0.3 | 27 Jun 2021 | Updated by Ken Roy
|
10.1.0.2c/10.1.0.2lb | 24 Jan 2015 | Updated for TNG v10.1. |
10.0.0.0alb | 03 Mar 2014 | Revised mod version V10.0.0.0lb so 'Cremated' is displayed instead of 'Burial' where applicable. |
10.0.0.0 | 03 Mar 2014 | Revised mod version V9.0.0.2 so 'Cremated' is displayed instead of 'Burial' where applicable. |
9.0.0.2 | 23 Jul 2013 | This mod and the Custom Event Show/Hide mod do not like each other on a mobile browser so.... Some popular mobile device detection was added. Popups disabled if detected. Devices: Phone|Mobile|iPhone|iPod|iPad|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|webOS|hpwOS|Fennec|Minimo|Opera Mobi|Opera Mini|Blazer|Dolfin|Dolphin|Skyfire|Zune. |
9.0.0.1 | 0 May 2013 | This mod adds a person preview on mouseover of a family member's name on an individual's page. The popup content is limited by the browser window height only so for the most part all info may be viewed. |
9.0.0.2lb | 14 May 2013 | Compatible with Living Color Mod. |
9.0.0.0lb | 10 May 2013 | This version utilizes TNG's litbox.js popup functions and installs a modified copy of ajx_perspreview.php. Click the blue mag-glass after a name. The modified ajx_perspreview.php allows for navigation and/or more popups. Popup width/height parameters are available for edit in Mod Manager after installation. No known conflicts. |
9.0.0.0 | 02 May 2013 | This mod adds a person preview on mouseover of a family member's name on an individual's page. Comparable to the preview in search.php but the preview position is fixed on the page. No scrolling! |
Custom Text Additions
Note: The config file only includes the English language changes, 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.
$text['preview'] = "Preview";
$text['clicktopreview'] = "Click to preview";
Custom CSS
The class governing the properties of the popup window is .LB_window. By default the background color is the same as .databack in genstyle.css and templatestyle.css
To change the background color add the following to your mytngstyle.css or to mygenstyle.css. Replace the hex color code ' #e0e0f7 ' with the color of your choice.
Note: Changing the background color affects all other litbox popups on your site resulting in a content with .databack color and the popup background will be the new color.
.LB_window {
background: #e0e0f7;
}
To use a seamless background image for the background.
Replace filename with the actual file name.
Note: This example assumes the image is in the img directory. If not the background color will be #fff (white)
.LB_window {
background: #fff url(../img/filename) repeat;
}
Sites using this mod
Please add TNG site that you have found that utilize this modification: