TreeID-One Column

From TNG_Wiki
Revision as of 20:05, 1 June 2017 by Rmcrae (talk | contribs)
Jump to navigation Jump to search
Construction This mod is in a beta testing state. I've been using it for a while, but
  • It needs to be tested on other TNG sites,
  • I haven't completed the description below, and
  • I haven't created the visualizations this article needs

In truth, I have over 40 new and updated mods in this state, and I'd appreciate whatever help anyone can offer. So, it would be great if you could download the mod and let me know how it works for you. And if you're up for it, screenshots from before the mod was installed and after (annotated or not) would be a great help. :-) You're welcome to edit the Wiki article, or just email them to me. My email username is 'mail, and my email domain is robinrichmond.com.

Thanks in advance. Robin Richmond 29 May 2017 (CDT)

Construction


TreeID-One Column
Summary Add the TreeID to the Tree column in the HTML results table for several reports. Based on Ken Roy's TreeIDMod, which adds a separate TreeID column.
Validation
Mod Updated {{{mod_last_update}}}
Download link treeid-one_column_v10.1.0.1.zip
TNG 11.1.0
TNG 10.1.0
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 10.1.0.1
Min TNG V 10.1.0
Max TNG V at least 11.1.1 beta2
Files modified
search.php, famsearch.php, browsetrees.php, browsebranches.php, showmap.php, showtree.php, admin_branches.php, admin_places.php, admin_newbranch.php, admin_editbranch.php, admin_edituser.php, browse_dna_tests.php, English cust_text.php
Related Mods
Notes


Purpose of the Mod

Add the TreeID to the Tree column in the HTML results table for several reports. It is based on Ken Roy's Tree ID Mod, which adds a separate TreeID column.

Mod Conflicts

This mod conflicts with Tree ID Mod, which has essentially the same purpose as this mod, but which displays the TreeID and Tree name in two separate columns. It is known to be compatible with numerous other mods that modify the 12 programs that this mod modifies. Please report any other conflicts.

Related Mods

  1. This mod is almost identical to Tree ID Mod, with the differences described above.
  2. This mod saves information about the programs it modifies so that Show Mod Names can display the list of (my) mods that affect a program.
    • Unlike most of my mods, this mod does not insert any code to try to call the Show Mod Names display function at the end of each program. Programs such as admin_users.php that are modified my another of my mods will already have that code, but programs that I do not modify otherwise, such as browse_dna_tests.php, will not.
    • Like my other mods, this mod does not create a dependency on Show Mod Names. The Show Mod Names functions will work if Show Mod Names has been installed, but nothing bad will happen if Show Mod Names has not been installed.

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Installation

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, and extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.

Visualizations

BEFORE: Person Search Results - Representing several Search result programs (famsearch.php, browsetrees.php, browsebranches.php, showmap.php, admin_branches.php, admin_places.php, and browse_dna_tests.php) where each table row represents a database record.

TreeID one column Before.png

AFTER: Admin >> Branches >> Search

File:TreeID one column After.png

BEFORE: Admin>>Users>>Edit
Where the Tree name is in a drop-down selection list.
File:Narrow image on right-before1.png
AFTER: Admin>>Users>>Edit
Showing the TreeID in a tree selection drop-down list.
File:Narrow image on right-after1.png
BEFORE: Admin>>Branches>>Edit File:Narrow image on right-before2.png
AFTER: Admin>>Branches>>Edit
Showing the TreeID on a separate line from the Tree name
narrow_image_on_right-after2.png
BEFORE: showtree.php - That is, a tree selected from the Person Profile >> Info menu >> Trees File:Narrow image on right-before2.png
AFTER: showtree.php Where the TreeID is on a separate line in the single-record HTML table narrow_image_on_right-after2.png

Mod Change History

Mod Version TNG Versions Date Note
10.1.0.1 10.1.0 and up 29-May-2017 New mod – Beta Status.

Sites using this mod

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

URL User Note Mod-Version TNG-Version User-language
Robin Richmond's Genealogy Database Robin Richmond Mod developer 10.1.0.1 11.1 English