Admin Places Search
Admin Places Search | ||
---|---|---|
Summary | Adds search options and results details to the Admin>>Places>>Search program | |
Validation | ||
Mod Updated | 28 Dec 2017 | |
Download link | 11.0.0.3a
| |
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 | 11.0.0.3a | |
Min TNG V | 11.0 | |
Max TNG V | at least 11.1.2 | |
Files modified | admin_places.php, cust_text.php English | |
Related Mods | ||
Notes |
Purpose of the Mod
Tweaks the Admin >> Places >> Search form and results list as follows:
- Adds 3 search options:
- "Results Per Page", which overrides the system value ($maxresults)
- "Show Place Notes", which are displayed in a new column.
- "Show Cemetery Links", which are displayed as an HTML entity in a new column. When the Cemetery Links column is displayed, a table footnote describes that column.
- Allows the Regular Expression anchor characters ^ and $ to be placed at the beginning and/or the end of the search string. (See the visualizations for a specific example.)
- Adds an information icon next to the Search field that hyperlinks to the new text in the Places Help file.
- Adds a Placeholder text message in the Search field to note that the anchor characters can be used there.
- Draws a fieldset around the search form to help distinguish it from the action/pagination form.
- Displays the tree and searchstring parameters (if they have values) at the top of the results table.
- Rounds longitude and latitude values to the number of decimal digits supplied by a mod parameter (for display only)
- In the Placelevel column, displays descriptive names such as Location, Town, and County rather. Will also display the numeric Placelevel value if directed by a mod parameter.
- Omits the Tree column if a tree was selected
- If the Display Mod Names mod has been installed, will display a button that can then display a list of (my) mods that affect this program.
- Adds text describing these changes to the Places Help file.
Parameters
- ShowPlaceLevelNumber:false - Whether to show the PlaceLevel number (0, 1, 2, etc.) in addition to the PlaceLevel description (Not Set, Address, Location, etc.)
Compatibility with other Mods
This mod is compatible with Admin Places Geocode, Places Subject to Deletion, and TreeID-One Column, as well as with two mods, Google Maps - More Place Levels Mod and Google maps 15 that add Placelevel definitions. It is not compatible with Tree ID Mod, but TreeID-One Column accomplishes the same purpose as Tree ID Mod. TreeID-One Column just uses one column instead of two to display the Tree ID and Tree Name, and avoids a couple of mod conflicts.
Related Mods
- Admin Places Geocode defines the Placelevel value of -1 to mean "Do not Geocode". This mod defines the string "Do not Geocode" that is displayed when it sees a value of -1 for the Placelevel.
- Admin Places Geocode also installs a system parameter that controls the number of decimal digits in Latitude and Longitude values. If that parameter is not present, then this mod rounds Latitude and Longitude to 5 decimal digits.
- This mod uses the Field Buttons mod, which displays small controls next to some form fields. However, it does not require that Field Buttons be installed. If Field Buttons is not installed, then the buttons simply do not appear.
- This mod saves data that can be used by the optional Show Mod Names utility mod, but it is not dependent on that mod.
Installation
Requirements
- A working TNG installation.
- An installed current version of the Mod Manager.
- You should backup files listed in the panel on the right.
Procedure
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, and extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
Problems?
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
Visualizations
BEFORE: The Pristine Admin >> Places screen, with the system variable $maxresults (Results per page) set to 30. Note that |
AFTER: Search results without a search string, highlighting some of the new features
|
AFTER: Results for the search string "cemetery", with the "Show notes" and "Show Cemetery Links" options selected. |
AFTER: When the "Missing Latitude or Longitude" option is selected. |
AFTER: The help text added by this mod |
AFTER: Field Buttons
Field buttons are described further in the Field Button mod article. The Field Buttons mod is necessary to make the field buttons visible. Buttons that would not change the value are shaded out, as shown below.
|
Mod Change History
Mod Version | TNG Versions | Date | Note |
---|---|---|---|
11.0.0.3a | 11.0+ | 28 Dec 2017 | Visibly, added "field buttons". Technical changes include
|
11.0.0.2a | 11.0+ | 30 May 2017 | Added the Insert Links function to the Place Notes so that URLs and and FindAGrave ID's are displayed as hyperlinks. First non-beta version |
11.0.0.2 | 11.0+ | 26 May 2017 | Now compatible with Google Maps - More Place Levels Mod and Google maps 15. Also added the two mod parameters. |
11.0.0.1 | 11.0+ | 13 Apr 2017 | New mod. |
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 | 11.0.0.3a | 11.1.1 | English |
Our Roy and Boucher Family | Ken Roy | Modified to display correct Place Level description to support Google Maps - More Place Levels Mod and Google maps 15. | 11.0.0.1 | 11.1.1 | English, French |
Cole / Tanner Family Tree | David Cole | Public/Private Site | see here | see here | English |