Difference between revisions of "ID Prefix Format"

From TNG_Wiki
Jump to navigation Jump to search
Line 119: Line 119:
 
| [[User:Kempons|Andrew Kemp]]
 
| [[User:Kempons|Andrew Kemp]]
 
|  
 
|  
| V9.1.0.0/9.1.2
+
| V9.1.0.0/9.2.2
 
| EN
 
| EN
 
|-
 
|-

Revision as of 05:38, 26 January 2014

ID prefix.
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 {{{mod_last_update}}}
Download link id_prefix_V9.1.0.0.zip
TNG 9.0


id_prefix_V8.1.0.zip

TNG 8.1
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 9.1.0.0
Min TNG V 9.0
Max TNG V 9.2.1
Files modified
personlib.php, css/genstyle.css
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. The TNGv9 release has been tested with TNG Version 9.1.2.
  • NOTE: The TNGv8 release has not yet been tested. Please contact the developer in the event of any problems.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Download the mod from the link above. Extract and Upload 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.

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.


In the event of a problem


Revision History

Version Date Contents
v9.1.0.0 / v8.1.0 28 February 2013 Initial release


TNG User sites using this mod

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

URL User Note Mod-Version/TNG-Version User-language
Chamberlain & Eidenbenz Genealogy Graham Chamberlain Mod developer V9.1.0.0/9.2.1 EN, FR, DE, ES, NL
Nordic Ancestry Mogens C. Fenger Not a public site V9.1.0.0/9.1.2 DA, EN
Mitchell Families Online Roger Mitchell Great Mod! Makes ID's clearer to read V9.1.0.0/9.1.2 EN
Jerry Milo Johnson Ancestry Project Jerry Milo Johnson Thank you Graham. V9.1.0.0/9.0.2 EN
Kemp(e) Family History Andrew Kemp V9.1.0.0/9.2.2 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 V9.1.0.0/TNG V9.2.1 EN
Turner mob Margaret Turner Public site V9.1.0.0/TNG V9.2.1 EN
GenealogyWings John Mark Motyer Public site v9.1.0.0 / TNG v9.2.1 EN, DE, RU