Difference between revisions of "Expand Search"

From TNG_Wiki
Jump to navigation Jump to search
(28 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{caution
 +
|notes= Expand Search replaces: [[Direct Line Search]], [[Search Page Expansion]]. You must uninstall them both first.{{TNG 12.0}}
 +
}}
 +
{{V12_cust_text}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Expand Search
 
| mod_name        = Expand Search
 
| mod_summary    = Adds search functionality and a user search page with filters.
 
| mod_summary    = Adds search functionality and a user search page with filters.
| mod_updated    = July 11, 2019
+
| mod_last_update = 14 Aug 2019
| download_link  = for {{Tv120}}[[Media:Expand_search_v1.zip | Expand_search_v1.zip]]
+
| mod_validation  =
 +
| download_link  = for {{Tv120}}[[Media:Expandsearch_v4a.zip | Expand Search Version 4a]]
 
<hr />  
 
<hr />  
 
| download_stats  =
 
| download_stats  =
Line 10: Line 15:
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_support    = [http://tng.community/ TNG Community Forums]
 
| mod_contact    = [http://adupree.com/wp/1120-2]
 
| mod_contact    = [http://adupree.com/wp/1120-2]
| mod_version    = 12.0.0.1
+
| mod_version    = 12.0.0.4
 
| use_mod_manager = Yes
 
| use_mod_manager = Yes
 
| manual_install  = No
 
| manual_install  = No
| min_TNG_ver    = 11 ?
+
| min_TNG_ver    = 12
 
| max_TNG_ver    = 12
 
| max_TNG_ver    = 12
 
| TNG_file_list  = search.php searchform.php
 
| TNG_file_list  = search.php searchform.php
Line 34: Line 39:
 
# Sosa search - Search for folks with sosa numbers. Shows up if you have [[Sosa]] installed
 
# 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
 
# 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'''
 
'''To the Search Results'''
 
Only for logged in users:
 
Only for logged in users:
Line 39: Line 45:
 
# A filter bar for branches, sosa (shows if mod installed), sources, notes and media.
 
# A filter bar for branches, sosa (shows if mod installed), sources, notes and media.
  
This mod replaces The [[Direct Line Search]] mod. 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.
+
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.  
  
It also replaces the [[Search Page Expansion]] mod. Adding additional functionality to the search results.
+
<h2>Search Page</h2>
 +
What this looks like on your search page:
 +
{|
 +
|-
 +
|[[Image:Es1.png|550px|left]]
 +
|}
  
What this looks like on your individuals search page:
+
<h2>Search Results</h2>
 
{|
 
{|
 
|-
 
|-
|[[Image:es1.jpg|350px|left]]
+
|[[Image:Es2.png|550px|left]]
 
|}
 
|}
  
Line 53: Line 64:
  
 
==Requirements==
 
==Requirements==
* A working TNG installation.  This has only been tested on TNG V 12.0.3
+
* A working TNG installation.  This has only been tested on TNG V 12.1
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
  
 
==Revision History==
 
==Revision History==
 +
# 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.
 +
 
==[[Mod Manager - Installing Config Files | Automated Installation]] ==
 
==[[Mod Manager - Installing Config Files | Automated Installation]] ==
 
# Download the zip file in the status area in the upper right.
 
# Download the zip file in the status area in the upper right.
# Extract the direct_line_search.zip to your mod folder.   
+
# Extract the zip file to your mod folder.   
 
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the '''expand_search.cfg'''.
 
# 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.
 +
 +
<pre>
 +
// 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
 +
</pre>
  
 
== Conflicts and Issues ==
 
== Conflicts and Issues ==
Line 84: Line 119:
 
| [[User:mkoche|A.S. DuPree]]
 
| [[User:mkoche|A.S. DuPree]]
 
| Mod Developer
 
| Mod Developer
| 12.0.0.1
+
| 12.0.0.4a
 
| 12.0.3
 
| 12.0.3
 
| English
 
| English
 +
|-
 +
| [http://racine-ad.fr/TNG/index.php Racine d'Alsace]
 +
| [[User:Louis42|J-Louis Valory]]
 +
| Public- private - T17 customized
 +
| 12.0.0.1
 +
| 12.1
 +
| FR
 +
|-
 +
| [https://www.kmtrees.com/index.php Roots & Relatives Remembered]
 +
| [[User:tngrlkrz| Ron Krzmarzick]]
 +
| Public & Private
 +
| [https://www.kmtrees.com/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| [https://www.kmtrees.com/rrmodcompare_report.php?power=basic&cachemethod=3&sb=filename&aformat=full&statushilite=1&b1=0 See Here]
 +
| EN,DE,CS,ES
 +
|-
 
|}
 
|}
 
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v12]]
 
[[Category:search.php mods]]
 
[[Category:search.php mods]]

Revision as of 11:18, 19 November 2019

Caution Expand Search replaces: Direct Line Search, Search Page Expansion. You must uninstall them both first.
TNG version: 12.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 14 Aug 2019
Download link for
TNG 12.0

Expand Search Version 4a


Download stats
Author(s) A. S. DuPree
Homepage Expand_Search (this page)
Mod Support TNG Community Forums
Contact Developer [1]
Latest Mod 12.0.0.4
Min TNG V 12
Max TNG V 12
Files modified
search.php searchform.php
Related Mods
Notes
An amalgam of the related mods - 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. This has only been tested on TNG V 12.1
  • An installed current version of the Mod Manager.

Revision History

  1. V4a - Adds an option to control the way the Residence search field displays.
  2. V4 - Fixes error when sosa is not installed.
  3. V3 - Adds residence search.
  4. 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 12.0.0.4a 12.0.3 English
Racine d'Alsace J-Louis Valory Public- private - T17 customized 12.0.0.1 12.1 FR
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS,ES