Expand Search

Aus TNG_Wiki
Zur Navigation springen Zur Suche springen
Caution Expand Search replaces: Direct Line Search, Search Page Expansion. You must uninstall them both first.
TNG version: 13.0.0
Caution



Ambox notice.png The latest version of this mod uses the guidelines for TNG v12+ cust_text.php files. If you are using TNGv12+, and any cust_text.php file in this mod is marked with a Bad Target error, you need to update your cust_text.php files before you can install this mod. [Show instructions]

If you upgraded to TNGv12+, and did not update your cust_text.php files as instructed in the upgrade readme script, then you must use the TNG Mod Manager to update them. To do so:

  1. Go to Mod Manager, and select its "Recommended Updates" tab.
    (If the "Recommended Updates" tab is not visible, then go to the Mod Manager Options tab, select "Display Settings", and turn on the "Recommended Updates" tab.)
  2. Click the "Update" button in the "Recommended Updates" tab.
    Installed mods do not interfere with the update, and if you already have (or think you may have) run this update, it will not hurt for you to run it again.

[See details in the TNGv12 Change Impacts Article][Hide the instructions]

TNG 14.0
TNG 13.0
TNG 12.0



Expand Search
Summary Adds search functionality and a user search page with filters.
Validation
Mod Updated 25 May 2023
Download link for
TNG 14.0

Expand Search for TNG 14.1b

TNG 13.0

Expand Search for TNG 13

TNG 12.0

Expand Search for TNG 12


Download stats
Author(s) A. S. DuPree
Homepage Expand_Search (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod 14.0.0.1b
Min TNG V 12
Max TNG V 14
Files modified
search.php searchform.php
Related Mods
Notes
An amalgam of Direct Line Search and Search Page Expansion - UNINSTALL them before installing this mod.


Introduction

In larger and larger databases, it can be frustrating to hone in attention on the people we need to research.

This mod helps by providing searching aids to get right to the right people.

It adds the following functionality:
To the Search Page

  1. Search end of lines - finds individuals with no parents. Use with branches or Sosa to find top of the line ancestors
  2. No sources - returns records that do not have citations. Useful for improving your data
  3. Sosa search - Search for folks with sosa numbers. Shows up if you have Sosa installed
  4. New Search criteria - Adds CAPS (for capital letters) and does not contain to the search criteria
  5. A "residence" search that allows searching across all places -- birth, death, burial and baptism -- at once. An "all residence" option includes all events.

To the Search Results Only for logged in users:

  1. Sources, notes and media numbers are added to the table
  2. A filter bar for branches, sosa (shows if mod installed), sources, notes and media.

It can be used as a stand alone or in conjunction with the Bold Ancestor Child Links mod or Sosa mod to identify direct and end-of-line ancestors where many of us want to focus our attention.

Search Page

What this looks like on your search page:

Es1.png

Search Results

Es2.png

Developer

This mod was developed by A.S. DuPree (a novice, happy for any help on improving it)

Requirements

  • A working TNG installation and the appropriate file for your version number of tng.
  • An installed current version of the Mod Manager.

Revision History

  1. (14) V1.b - Missing code line returned.
  2. (14) V1a - Removes hard coded Sosa table name
  3. (14) V1 - Errors and improvements for working with Expand Statistics
  4. (14) V0a - Cleaned for php 8 (thanks Ron and Ken)
  5. (14) V0 - Can be installed on tng 14.
  6. V7 - Includes search code from Expand Statistics and fixes long url strings.
  7. V6 - Note there was no V5. V6 provides functionality to Expand_Statistics. Also some small fixes. Adds search in residence for All USA places.
  8. V4a - Adds an option to control the way the Residence search field displays.
  9. V4 - Fixes error when sosa is not installed.
  10. V3 - Adds residence search.
  11. V2 - filters are now persistent across pages and the next time you search. Also a message tells you how many records are displayed on the page.

Automated Installation

  1. Download the zip file in the status area in the upper right.
  2. Extract the zip file to your mod folder.
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the expand_search.cfg.

Language

Mod is only in English but can be modified for any language by revising the code below and copying into the cust_text.php file for your language. Replace the words between the quotes with your translation.

// Expand Search
$text['displaying'] = "Displaying";
$text['recordsfrom'] = "records from";
$text['srcmsg'] = "No citations - person and one family (slow)";	
$text['eolmsg'] = "Search end of lines (children but no parents)";
$text['allcaps'] = "All CAPS for";	
$text['dncontain'] = "does not contain";
$text['residence'] = "Residence";
$text['residenceisin'] = "residence is in";
$text['withoutparents'] = "without parents";
$text['noattachedsources'] = "no attached sources";
$text['allresidences'] = "all residences";
// Expand Search

Conflicts and Issues

I have not found any conflicts or issues with this mod but I suspect there may be some. Please let me know if you find any. The language is ONLY in English.

In the event of a problem with your TNG site

  1. Try using the Mod Manager to Remove the mod

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
Adupree.com A.S. DuPree Mod Developer 14.0.0.1 14.0.1b English
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS
Racines Luxo-hennuyères Michel Kirsch Public site (registration) V14.0.0.1b TNG 14.0.2 FR/EN/GE/NL
Racine d'Alsace J-Louis Valory Public (registration) 13.0.0.0 13.0.4 FR
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.0.0.0 13.1.2 NL
Scealta Ton van Lil Public & Private 14.0.0.0a 14.0.1 NL/EN
GénéaKat Katryne Public & Private 14.0.0.1b 14.0.3 FR/EN
La saga BIGEY François B Public 13​.0​.0​.10a 14.0.2 FR