Difference between revisions of "Family Preview Mod"

From TNG_Wiki
Jump to navigation Jump to search
Line 75: Line 75:
 
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<br />
 
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<br />
 
To change the background color add the following to your mytngstyle.css or to mygenstyle.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.
+
Replace the hex color code ' #e0e0f7 ' with the color of your choice.<br />
 +
'''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.
 
<syntaxhighlight lang="php" enclose="div">
 
<syntaxhighlight lang="php" enclose="div">
 
.LB_window {
 
.LB_window {

Revision as of 16:58, 10 May 2013

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.Valid-xhtml10.png
Mod Updated {{{mod_last_update}}}
Download link
TNG 9.0

family_preview_v9.0.0.0.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.0.0.0
Min TNG V 9.0.0.0
Max TNG V 9.2.0
Files modified
css/genstyle.css
getperson.php
img/
Related Mods
Notes


Purpose of the mod

This mod 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. No scrolling!

Developer

This mod was developed by Jeff Robison.

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

  1. Remove any Family Indicators Mod. None are compatible with this mod. (family_preview_v9.0.0.0)
  • If you want Family Indicators Mod with family_preview_v9.0.0.0, download the compatible version here Family Indicators Mod.
  1. Download the .zip file. Upload and Extract to the mods folder.
  2. 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

Revision History

Version Date Description
v9.0.0.0lb 10 May 2013 This version utilizes TNG's litbox.js popup functions and installs a modified copy of ajx_perspreview.php.
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.
v9.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";

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;
}

TNG User sites using this mod

Please add TNG site that you have found that utilize this modification


URL User Note Mod-Version TNG-Version User-language
Robison and Blythe Genealogy Jeff Robison Mod developer 9.0.0.0lb 9.2.0 EN
Nordic Ancestry Mogens C. Fenger Not a public site 9.0.0.0 9.1.0 DA, EN
Kemp(e) Family History Andrew Kemp 9.0.0.0 9.1.2 EN