ID Prefix Format

De TNG_Wiki
Sauter à la navigation Sauter à la recherche
ID Prefix Format.
Summary This mod formats the Person and Family IDs on the Individual page in a seriffed font (Courier).
Validation This mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 16 Jun 2014
Download link For
TNG 14.0
TNG 13.0
TNG 12.0
TNG 11.0
TNG 10.0
id_prefix_format_v10.0.0.1.zip

For

TNG 9.0

id_prefix_V9.1.0.0.zip

For

TNG 8.1

id_prefix_V8.1.0.zip
Download stats See download statistics
Author(s) Graham Chamberlain
Homepage Chamberlain and Eidenbenz Genealogy
Mod Support Contact Developer
Contact Developer My Mod Support
Latest Mod 10.0.0.1 for TNG v10
9.1.0.0 for TNG v9
8.1.0 for TNG v8
Min TNG V 8.1
Max TNG V 14+
Files modified
personlib.php
css/genstyle.css
English/cust_text.php
German/cust_text.php
Spanish/cust_text.php
French/cust_text.php
Dutch/cust_text.php
Related Mods
Notes

Purpose of the mod

To enable greater legibility of the prefix character used for the Individual Person ID, and remove ambiguity that can result from use of some non-seriffed fonts. The mod changes the font of the Individual and Family IDs on the getperson.php page to Courier and supports English, Dutch, French, German and Spanish languages.

Developer

This mod was developed by Graham Chamberlain.
Based on the code provided by Jerry Milo Johnson.

Requirements

  • A working TNG installation.
  • A backup of all affected files (see the list in the summary in the upper right corner of the page)
  • An installed current version of the Mod Manager.

Revision History

Mod Version TNG Version Date Contents
10.0.0.1 10.0.0 16 June 2014 Provided by Roger Mitchell to enable compatibility with Mod Manager upgrade
10.0.0.0 10.0.0 12 February 2014 Upgrade provided by Ken Roy
9.1.0.0 8.1.0 28 February 2013 Initial release

Conflicts

  • This mod is NOT compatible with Regroup Person Profile and associated mods, but, in essence, they supersede it, because they also use an alternate font to make the "I" in person ID's distinct from "l" and "1".

See also

Change ID prefix - a mod which will change the prefix to P rather than I

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. 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

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. 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.

Mobile Device Compatibility

You may find the default font size and weight unsuitable for display on your mobile device. You can change the settings in the cfg file, or preferably, add your chosen settings to the mytngstyle.css in your template/css folder. Add the following, changing the font-size: and/or font-weight: values to suit your preference (in this example the font-size has been changed to '12px' and the font-weight changed to 'normal':

/*Added for ID_prefix mod*/
.personid .cfact,
.personenkennung .cfact,
.idpersona .cfact,
.idpersonne .cfact,
.persoonid .cfact {
   font-family:courier;
   font-size: 12px;
   font-weight: normal;
   }
.familyid .cfact,    
.familienkennung .cfact,    
.idfamilia .cfact,    
.idfamille .cfact,    
.gezinsid .cfact {    
   font-family:courier;
   font-size: 12px;
   font-weight: normal;
   }

Custom Additions

The mod initially provides support only for English, German, Spanish, French and Dutch languages. Should you wish to enable the formatting of the IDs in other languages you will need to add appropriate style labels to the genstyle.css section of the config file. The following example is for the Person ID:

  .personid .cfact,
  .personenkennung .cfact,
  .idpersona .cfact,
  .idpersonne .cfact,
  .persoonid .cfact {
     font-family:courier;
     font-size: 14px;
     font-weight: bold;}

Each of the style labels preceding '.cfact' is derived from the text label value for $text['personid'] in text.php for the relevant language. To add support for another language, you need to add a line:

   '.xxxx .cfact,' (without quotes)

where xxxx will be the text variable definition with all non-alpha, and accented characters stripped out.

Sites using this mod

If you download and use this mod, please add your TNG site to the table below.

URL User Note Mod-Version TNG-Version User-language
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Mod developer 10.0.0.1 12.0.1 EN, FR, DE, ES, NL
Nordic Ancestry Mogens C. Fenger Not a public site 9.1.0.0 9.1.2 DA, EN
Mitchell Families Online Roger Mitchell Great Mod! Makes ID's clearer to read 10.0.0.0 10.0.2 EN
Jerry Milo Johnson Ancestry Project Jerry Milo Johnson Thank you Graham. 9.1.0.0 9.0.2 EN
Kemp(e) Family History Andrew Kemp see User:Kempons see User:Kempons EN
Legacy Gazette: My Roots - My Legacy Melissa Watson Padilla Public Site 9.1.0.0 9.2.1 EN
Grogan mob Margaret Turner Public site 10.0.0.1 10.1.1 EN
Turner mob Margaret Turner Public site 10.0.0.1 TNG V10.1.1 EN
Our Roy and Boucher Families Ken Roy Using Mobile Device override version 12.0.0.0 14.0.3 EN, FR
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Roebuck and Families Ancestry Website Donald Roebuck Public site 10.0.0.1 11.0.2 EN
Crawford County Genealogy Gateway Frank Bernosky Public site 10.0.0.1 11.1 EN
Rintoul/Bowman Family Andrew Rintoul Public/Private 10.0.0.1 12.0 EN, DE, ES, FR
Our Family History Paul Barrett Public/Private site 10.0.0.1 11.1.2 EN
ourfamilyinfo.org Denton Anderson Public/Private site 10.0.0.1 13.0.3 EN,ES
Familie Assent-Metternich Rainer H. Assent Private site (UserID required) 10.0.0.1 13.0.3 GE
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
MOTYER Family Genealogy John Mark Motyer Public site See here See here EN