Difference between revisions of "ID Prefix Format"

From TNG_Wiki
Jump to navigation Jump to search
(46 intermediate revisions by 14 users not shown)
Line 1: Line 1:
 
{{TNGmod
 
{{TNGmod
| mod_name        = [[ID prefix]].
+
| mod_name        = [[ID Prefix Format]].
 
| mod_summary    = This mod formats the Person and Family IDs on the Individual page in a seriffed font (Courier).
 
| mod_summary    = This mod formats the Person and Family IDs on the Individual page in a seriffed font (Courier).
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
| download_link = [http://www.katiandgraham.com/genealogy/ccount/click.php?id=17 id_prefix_V9.1.0.0.zip] {{Tv90}}<br/>[http://www.katiandgraham.com/genealogy/ccount/click.php?id=18 id_prefix_V8.1.0.zip] {{Tv81}}
+
| download_link = For {{Tv120}}{{Tv110}}{{Tv100}}[http://www.katiandgraham.com/genealogy/ccount/click.php?id=25&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} id_prefix_format_v10.0.0.1.zip]<hr /><br/>
 +
{{Tv90}}[http://tng.lythgoes.net/wiki/images/b/bb/Id_prefix_v9.1.0.0.zip id_prefix_V9.1.0.0.zip] <hr/><br/>
 +
{{Tv81}}[http://tng.lythgoes.net/wiki/images/7/72/Id_prefix_v8.1.0.zip id_prefix_V8.1.0.zip]  
 
| download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=11 See download statistics]
 
| download_stats = [http://www.katiandgraham.com/genealogy/ccount/index.php?action=stats&groupid=11 See download statistics]
 
| mod_author      = Graham Chamberlain
 
| mod_author      = Graham Chamberlain
Line 9: Line 11:
 
| mod_support    = [http://www.katiandgraham.com/genealogy/mod_support.php Contact Developer]
 
| mod_support    = [http://www.katiandgraham.com/genealogy/mod_support.php Contact Developer]
 
| mod_contact    = [http://www.katiandgraham.com/genealogy/mod_support.php My Mod Support]
 
| mod_contact    = [http://www.katiandgraham.com/genealogy/mod_support.php My Mod Support]
| mod_version    = 9.1.0.0
+
| mod_version    = 10.0.0.1 for TNG v10<br />9.1.0.0 for TNG v9<br />8.1.0 for TNG v8
| min_TNG_ver    = 9.0
+
| min_TNG_ver    = 8.1
| max_TNG_ver    = 9.2.1
+
| max_TNG_ver    = 12+
 
| TNG_file_list  = personlib.php, css/genstyle.css<br />
 
| TNG_file_list  = personlib.php, css/genstyle.css<br />
 
| related_mods  =
 
| related_mods  =
Line 17: Line 19:
 
}}
 
}}
  
{|align=right
+
{| style="margin-right:0.5 em;" align="right"
|__TOC__
+
| __TOC__
 +
 
 
|}
 
|}
 +
  
 
== Purpose of the mod ==
 
== 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.
+
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 ==
 
== Developer ==
Line 37: Line 41:
 
#  Download the mod from the link above. Extract and Upload to the mods folder.
 
#  Download the mod from the link above. Extract and Upload to the mods folder.
 
#  Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install.
 
#  Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config  Files]] to install.
 +
#  Note: If the font does not change, clear the browser's cache (Ctrl+F5 is Chrome's shortcut)
 +
 +
==Compatibility with Other Mods==
 +
* 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".
 +
 +
==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':
 +
<code>
 +
/*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;
 +
    }
 +
</code>
  
 
==Custom Additions==
 
==Custom Additions==
Line 67: Line 99:
 
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
{| border="1" cellspacing="5" cellpadding="2" width="100%" class="wikitable"
 
|-
 
|-
! Version
+
! Mod Version
 +
! TNG Version
 
! Date
 
! Date
 
! Contents
 
! Contents
 
|-
 
|-
| v9.1.0.0 / v8.1.0
+
| v10.0.0.1
 +
| v10.0.0
 +
| 16 June 2014
 +
| Provided by Roger Mitchell to enable compatibility with Mod Manager upgrade
 +
|-
 +
| v10.0.0.0
 +
| v10.0.0
 +
| 12 February 2014
 +
| Upgrade provided by Ken Roy
 +
|-
 +
| v9.1.0.0  
 +
| v8.1.0
 
| 28 February 2013
 
| 28 February 2013
 
| Initial release
 
| Initial release
 
|-
 
|-
|
 
|
 
|
 
 
|}
 
|}
  
 
+
== Sites using this mod ==
== TNG User sites using this mod ==
+
If you download and use this mod, please add your TNG site to the table below.
Please add TNG sites that you have found that utilize this modification
 
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
Line 89: Line 129:
 
! User
 
! User
 
! Note
 
! Note
! Mod-Version/TNG-Version
+
! Mod-Version
 +
! TNG-Version
 
! User-language
 
! User-language
 
|-
 
|-
Line 95: Line 136:
 
| [[User:Hiraeth|Graham Chamberlain]]
 
| [[User:Hiraeth|Graham Chamberlain]]
 
| Mod developer
 
| Mod developer
| V9.1.0.0/9.2.1
+
| V10.0.0.1
 +
| 12.0.1
 
| EN, FR, DE, ES, NL
 
| EN, FR, DE, ES, NL
 
|-
 
|-
Line 101: Line 143:
 
| [[User:Mfenger|Mogens C. Fenger]]
 
| [[User:Mfenger|Mogens C. Fenger]]
 
| Not a public site
 
| Not a public site
| V9.1.0.0/9.1.2
+
| V9.1.0.0
 +
| 9.1.2
 
| DA, EN
 
| DA, EN
 
|-
 
|-
Line 107: Line 150:
 
| [[User:HiTowerUK|Roger Mitchell]]
 
| [[User:HiTowerUK|Roger Mitchell]]
 
| Great Mod! Makes ID's clearer to read  
 
| Great Mod! Makes ID's clearer to read  
| V9.1.0.0/9.1.2
+
| V10.0.0.0
 +
| 10.0.2
 
| EN
 
| EN
 
|-
 
|-
Line 113: Line 157:
 
| [[User:jmiloj|Jerry Milo Johnson]]
 
| [[User:jmiloj|Jerry Milo Johnson]]
 
| Thank you Graham.  
 
| Thank you Graham.  
| V9.1.0.0/9.0.2
+
| V9.1.0.0
 +
| 9.0.2
 
| EN
 
| EN
 
|-
 
|-
Line 119: Line 164:
 
| [[User:Kempons|Andrew Kemp]]
 
| [[User:Kempons|Andrew Kemp]]
 
|  
 
|  
| V9.1.0.0/9.1.2
+
| see [[User:Kempons]]
 +
| see [[User:Kempons]]
 
| EN
 
| EN
 
|-
 
|-
 
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
 
| [http://legacygazette.com Legacy Gazette: My Roots - My Legacy]
 
| [[User:Mylegacy|Melissa Watson Padilla]]
 
| [[User:Mylegacy|Melissa Watson Padilla]]
|  
+
| Public Site
| 9.1.0.0/9.2.0
+
| 9.1.0.0
 +
| 9.2.1
 
| EN
 
| EN
 
|-
 
|-
Line 131: Line 178:
 
| [[User:Mgrogan|Margaret Turner]]
 
| [[User:Mgrogan|Margaret Turner]]
 
| Public site
 
| Public site
| V9.1.0.0/TNG V9.2.1
+
| V10.0.0.1
 +
| TNG V10.1.1
  
 
| EN
 
| EN
Line 138: Line 186:
 
| [[User:Mgrogan|Margaret Turner]]
 
| [[User:Mgrogan|Margaret Turner]]
 
| Public site
 
| Public site
| V9.1.0.0/TNG V9.2.1
+
| V10.0.0.1
 +
| TNG V10.1.1
 
| EN
 
| EN
 
|-
 
|-
 
+
| [https://genealogywings.com/ MOTYER Family Genealogy]
| [http://genealogywings.com/ GenealogyWings]
 
 
| [[User:JMM|John Mark Motyer]]
 
| [[User:JMM|John Mark Motyer]]
 
| Public site
 
| Public site
| v9.1.0.0 / TNG v9.2.1
+
| [[User:JMM|see here]]
 +
| [[User:JMM|see here]]
 
| EN, DE, RU
 
| EN, DE, RU
 +
|-
 +
| [https://www.royandboucher.com/tng/getperson.php?personID=I39&tree=T0001 Our Roy and Boucher Families]
 +
| [[User:Ken Roy|Ken Roy]]
 +
| Using Mobile Device overrides
 +
| 10.0.0.0
 +
| 10.1.0
 +
| EN, FR
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User:lastejas|Rick Hooley]]
 +
| Public/Private
 +
| [[User: lastejas|See Here]]
 +
| [[User: lastejas|See Here]]
 +
| EN
 +
|-
 +
| [http://www.roebuckfamily.com/Donald/genealogy/index.php Roebuck and Families Ancestry Website]
 +
| [[User:don1two|Donald Roebuck]]
 +
| Public site
 +
| 10.0.0.1
 +
| 11.0.2
 +
| EN
 +
|-
 +
| [http://www.ccggpa.org/cemeteries/index.php Crawford County Genealogy Gateway]
 +
| [[User:Fraber|Frank Bernosky]]
 +
| Public site
 +
| 10.0.0.1
 +
| 11.1
 +
| EN
 +
|-
 +
| [https://www.rintoulbowman.com/ Rintoul/Bowman Family]
 +
| [[User:Adrintoul|Andrew Rintoul]]
 +
| Public/Private
 +
| 10.0.0.1
 +
| 12.0
 +
| EN, DE, ES, FR
 +
|-
 +
| [http://bumbery.com/ Bumbery-Wangler]
 +
| [[User:Bob|Bob Bumbery]]
 +
| Public sire
 +
| 10.0.0.1
 +
| 11.1.2
 +
| English
 +
|-
 +
| [https://ourfamilyhistory.club/ Our Family History]
 +
| [[User:Paul Barrett|Paul Barrett]]
 +
| Public/Private site
 +
| 10.0.0.1
 +
| 11.1.2
 +
| EN
 
|-
 
|-
 
|}
 
|}
  
 +
==See also==
 +
[[Change ID prefix]] - a mod which will change the prefix to P rather than I
 +
 +
[[Category:Mods for TNG v12]]
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v8]]
[[Category:Mods for TNG v9]]
+
 
 
[[Category:personlib.php mods]]
 
[[Category:personlib.php mods]]
 
[[Category:genstyle.css mods]]
 
[[Category:genstyle.css mods]]

Revision as of 12:49, 29 October 2018

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 {{{mod_last_update}}}
Download link For
TNG 12.0
TNG 11.0
TNG 10.0
id_prefix_format_v10.0.0.1.zip

TNG 9.0
id_prefix_V9.1.0.0.zip

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 12+
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.
  3. Note: If the font does not change, clear the browser's cache (Ctrl+F5 is Chrome's shortcut)

Compatibility with Other Mods

  • 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".

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.


In the event of a problem


Revision History

Mod Version TNG Version Date Contents
v10.0.0.1 v10.0.0 16 June 2014 Provided by Roger Mitchell to enable compatibility with Mod Manager upgrade
v10.0.0.0 v10.0.0 12 February 2014 Upgrade provided by Ken Roy
v9.1.0.0 v8.1.0 28 February 2013 Initial release

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 V10.0.0.1 12.0.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 V10.0.0.0 10.0.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 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 V10.0.0.1 TNG V10.1.1 EN
Turner mob Margaret Turner Public site V10.0.0.1 TNG V10.1.1 EN
MOTYER Family Genealogy John Mark Motyer Public site see here see here EN, DE, RU
Our Roy and Boucher Families Ken Roy Using Mobile Device overrides 10.0.0.0 10.1.0 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
Bumbery-Wangler Bob Bumbery Public sire 10.0.0.1 11.1.2 English
Our Family History Paul Barrett Public/Private site 10.0.0.1 11.1.2 EN

See also

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