Expand Search
Expand Search replaces: Direct Line Search, Search Page Expansion. You must uninstall them both first.
|
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:
[See details in the TNGv12 Change Impacts Article][Hide the instructions] |
|
Expand Search | ||||
---|---|---|---|---|
Summary | Adds search functionality and a user search page with filters. | |||
Validation | ||||
Mod Updated | 25 May 2023 | |||
Download link | For
Expand Search for TNG 14.1b For
Expand Search for TNG 13 For
Expand Search for TNG 12 | |||
Download stats | ||||
Author(s) | A.S. DuPree | |||
Homepage | Expand Search (This page) | |||
Mod Support | TNG Community Forums | |||
Contact Developer | adupree.com | |||
Latest Mod | 14.0.0.1b | |||
Min TNG V | 12 | |||
Max TNG V | 14 | |||
Files modified | search.php searchform.php searchlib.php famsearch.php getperson.php languages/English-UTF8/cust_text.php languages/English/cust_text.php | |||
Related Mods | ||||
Notes | An amalgam of Direct Line Search and Search Page Expansion - UNINSTALL them before installing this mod. |
Purpose of the mod
This TNG modification adds search functionality and a user search page with filters.
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
- Search end of lines - finds individuals with no parents. Use with branches or Sosa to find top of the line ancestors
- No sources - returns records that do not have citations. Useful for improving your data
- Sosa search - Search for folks with sosa numbers. Shows up if you have Sosa installed
- New Search criteria - Adds CAPS (for capital letters) and does not contain to the search criteria
- 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:
- Sources, notes and media numbers are added to the table
- 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.
Developer
This mod was developed by A.S. DuPree (a novice, happy for any help on improving it).
Requirements
- A working TNG installation.
- A backup of all affected files (see the list in the summary to the right)
- An installed current version of the Mod Manager.
- Both English and English-UTF8 folders be on your site
Revision History
- (14) V1.b - Missing code line returned.
- (14) V1a - Removes hard coded Sosa table name
- (14) V1 - Errors and improvements for working with Expand Statistics
- (14) V0a - Cleaned for php 8 (thanks Ron and Ken)
- (14) V0 - Can be installed on tng 14.
- V7 - Includes search code from Expand Statistics and fixes long url strings.
- V6 - Note there was no V5. V6 provides functionality to Expand_Statistics. Also some small fixes. Adds search in residence for All USA places.
- V4a - Adds an option to control the way the Residence search field displays.
- V4 - Fixes error when sosa is not installed.
- V3 - Adds residence search.
- 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.
Conflicts and Issues
No known conflicts.
Installation
- Uninstall and delete previous version of this mod (if installed)
- Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
- Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.
In the event of a problem
- Try using the Mod Manager Remove capability.
- Copy the backup of the affected files back to your TNG directory.
- Retry installing mod.
- Contact us through the TNG Community Forums.
Uninstalling the mod
If you want to completely Remove (uninstall) this mod and any tables if created, you should
- click the Uninstall button to uninstall the mod
- click the Delete button to delete the config file from the mods folder.
Upgrade
- Uninstall and eventually Delete the current Mod.
- Proceed as for an installation with the new Mod.
Visualization
The following screen captures show the changes made by the mod:
Search Page
What this looks like on your search page:
Search Results
Languages
English is used for this Mod. If you want to use it with a different language, add the correct text (between double quotes) in the code below and add to your cust_text.php file in the appropriate language folder.
// 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
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 | EN |
Roots & Relatives Remembered | Ron Krzmarzick | Public & Private | See here | See here | EN,DE,CS |
Racines Luxo-hennuyères | Michel Kirsch | Public site (registration) | 14.0.0.1b | 14.0.2 | FR,EN,DE,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.4 | FR,EN,SP |
La saga BIGEY | François B | Public | 13.0.0.10a | 14.0.2 | FR |