Tree ID Mod

From TNG_Wiki
Jump to: navigation, search
Restricted Downloads of Tree ID 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 Restricted

Tree ID Mod
Summary Adds the Tree ID column to search, famsearch, browsetrees, and showtree displays
Validation Mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 8 Mar 2018
Download link for
TNG 11.0
TNG 10.0

if using Responsive Tables
TNG 9.1

TNG 9.0
Download stats View download statistics
Author(s) Ken Roy
Homepage Tree ID Mod (This page)
Mod Support TNG Community Forums
Contact Developer Ken Roy
Latest Mod for TNG V11 for TNG V10.1 with Responsive Tables for TNG V10 and up for TNG V9
Min TNG V 9.0.0
Max TNG V 11+
Files modified
browsebranches.php (v11.0.0.0+)
showmap.php (v11.0.0.0+)
admin_branches.php (v9.0.0.1+)
admin_places.php (v9.0.0.1+)

admin_newbranch.php (v10.0.0.0+)
browse_dna_tests.php (v11.0.0.0+)

Related Mods

Purpose of Mod

This mod was created to add the Tree ID to

  • Search (search.php)
  • Family Search (famsearch.php)
  • Browse Trees (browsetrees.php)
  • Show Tree (trees.php)

to make it easier to manage multiple trees and to more easily distinguish between the Tree ID used to access the database records and the Tree Name

V11.0.0.1 added the Tree ID display to

  • Browse Branches (browsebranches.php)
  • Browse DNA Tests (browse_dna_tests.php)
  • Show Cemetery Map and burials (showmap.php)

V10.0.0.2 added the Tree ID display to

  • Admin New Branch admin_newbranch.php
  • Admin Edit Branch admin_editbranch.php
  • Admin Edit User admin_edituser.php

V9.0.0.1 added the Tree ID display to

  • Admin Places (admin_places.php)
  • Admin Branches (admin_branches.php

This mod should make it easier to manage multiple trees but also make it easier for new users to find their Tree ID which is used to access the database and is needed in some of the Template Settings

TNG version: 10.1.3
TNG version: 10.1.0
Note that if you use the Responsive Tables mods, you need to uninstall your current version of this mod and install the Responsive Tables-3 - Tree ID version


Mod developer is Ken Roy
V11.0.0.3/4 conflict resolutions provided by Robin Richmond


  • A working TNG installation.
  • A backup of your TNG search.php, famsearch.php, browsetrees.php, and showtree.php files and admin_branches.php and admin_places.php for v9.0.0.1 of the mod
  • An installed current version of the Mod Manager included in TNG V8 and V9.

Automated Install

  1. Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
  2. Extract the to your mods folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the treeid_mod.cfg.

Upgrade to new version

  1. Remove the existing treeid_mod.cfg
  2. Install the new version of the mod using the Automated Install procedure

Revision History

Version Date Contents
v11.0.0.4 8 Mar 2018 Resolved conflict with Search Show Branch mod. Changes provided Robin Richmond
v11.0.0.3 1 June 2017 Resolved conflicts with several mods and added change comments to modifications. Changes provided Robin Richmond
v11.0.0.2 20 July 2016 Fixed code for browse_dna_tests.php in TNG V11 of mod
v11.0.0.1 16 March 2016 Added browsebranches.php, browse_dna_tests.php, showmap.php to TNG V11 of mod
v11.0.0.0 16 March 2016 Updated for TNG V11 which now includes the Responsive Tables in TNG v11
v10.1.0.2c 22 April 2015 Version to use, if you are using the Responsive Tables mod
v10.0.0.2 13 January 2015 No code changed. Updated to add the Wiki icon and URL for TNG 10.1
v10.0.0.1 22 February 2014 Updated to add the Tree ID to selection pull down lists in the Admin Edit Users
v10.0.0.0 14 January 2014 Updated for TNG V10. Also added Tree ID to selection in the Add New Branch and to the display in Edit Branches.
v9.0.0.1 1 January 2013 Updated to add the Tree ID display to the Admin Places (admin_places.php) and Admin Branches (admin_branches.php)
v9.0.0.1 27 July 2012 Initial release that adds the Tree ID to the Search, Family Search, Browse Trees, and Show Tree displays

Visualization of this mod

The Tree ID column was added to the following TNG scripts

TNG Script New display

Search results display

Tree ID in Search

Family Search results display

Tree ID in Family Search

Browse Trees display

Tree ID in Browse Trees

Show Tree display

Tree ID in Show Tree

Admin Places display
Note that if you have changed your Admin >> Setup >> General Settings >> Miscellaneous option for Assign Place records to Trees: to No the scenario of having some places assigned to a tree and others not in the Admin Places display would only occur if for some reason this option was changed back to Yes prior to a GEDCOM import. If that happens, then you should change the option back to No and click the Merge button to merge the places again.

Tree ID in Admin Places

Admin Branches display

Tree ID in Admin Branches

In the event of a problem

  • Try using the Mod Manager Remove capability
  • Or copy your backup browsenotes.php file to your TNG directory
  • All should now be well.

Sites using this mod

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

URL User Note Mod-Version TNG-Version User-language
Our Roy and Boucher Family Ken Roy Mod Developer to make it easier for multi-tree environments. 11.1.2 EN, FR
MOTYER Family Genealogy John Mark Motyer Public site see here see here EN, DE, RU
Steve's Family Tree Steve Overton Private site 10.0.0 EN,
OurLife Family History - McMullen Clan Sean Thompson Not a public site. 11.1.0 English
DuPree Family Center Andrew DuPree 11.1.0 English
Koufos Family History Stephen Koufos 11.0.2 English, German, Greek, Portuguese
Family History and Ancestry Jay Santos Not a public site 11.1.1 English
Total Family History Scott Bennett Not a public site 11.1.1 English
Rodriguez Lopez y Uribe Senior pagina de Genealogia Camilo Rodriguez Uribe Not a public site 11.1.1 Spanish, English