Difference between revisions of "Browsemedia Search Form"
Robinrichm (talk | contribs) (Upgrade to TNGv14 as the reason for edit) |
|||
Line 3: | Line 3: | ||
| mod_summary = Adds elements to the search form, and moves elements of the search form and page navigation widgets so that they are positioned as they are in most other search forms. Also adds "Tree" and "Collection" columns when they are called for. | | mod_summary = Adds elements to the search form, and moves elements of the search form and page navigation widgets so that they are positioned as they are in most other search forms. Also adds "Tree" and "Collection" columns when they are called for. | ||
| mod_validation = | | mod_validation = | ||
− | | mod_last_update = | + | | mod_last_update = 13 Mar 2023 |
− | | download_link = [[Media: | + | | download_link = [[Media:browsemedia_search_form_v14.0.0.4b.zip|v14.0.0.4b]]{{Tv140}} |
− | <div style='clear:both;'>[[Media: | + | <div style='clear:both;'>[[Media:browsemedia_search_form_v13.0.0.4a.zip|v13.0.0.4a]]{{Tv130}}</div> |
− | <div style=' | + | <div style='font-size:90%;clear:both;'>See the [[#Revision_History|Revision History]] for older versions</div> |
| download_stats = | | download_stats = | ||
| mod_author = [[User:Robinrichm|Robin Richmond]] | | mod_author = [[User:Robinrichm|Robin Richmond]] | ||
Line 12: | Line 12: | ||
| mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
| mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | | mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | ||
− | | mod_version = | + | | mod_version = 14.0.0.4b |
| min_TNG_ver = 12.0 | | min_TNG_ver = 12.0 | ||
− | | max_TNG_ver = | + | | max_TNG_ver = {{RobinBoilerplate| text=rrgip}} |
| TNG_file_list = browsemedia.php, English cust_text.php | | TNG_file_list = browsemedia.php, English cust_text.php | ||
| related_mods = | | related_mods = | ||
Line 94: | Line 94: | ||
{| border="1" cellspacing="1" cellpadding="2" class="wikitable" | {| border="1" cellspacing="1" cellpadding="2" class="wikitable" | ||
! Mod Version !! TNG Version !! Date !! Note | ! Mod Version !! TNG Version !! Date !! Note | ||
+ | |- | ||
+ | |14.0.0.4b | ||
+ | |{{RobinBoilerplate| text=rrgip}} | ||
+ | |13Mar2023 | ||
+ | |Upgrade to TNGv14 | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | |[[Media: | + | |[[Media:Browsemedia search form v13.0.0.4a.zip|v13.0.0.4a]] |
| 13 | | 13 | ||
| 12Oct2020 | | 12Oct2020 | ||
Line 101: | Line 106: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | |[[Media: | + | |[[Media:Browsemedia search form v12.0.0.4.zip|v12.0.0.4]] |
| 12.0-12.3 | | 12.0-12.3 | ||
| 15Mar2020 | | 15Mar2020 | ||
Line 111: | Line 116: | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | |[[Media: | + | |[[Media:Browsemedia search form v12.0.0.2.zip|v12.0.0.2]] |
| 12.0 - 12.0.2+ | | 12.0 - 12.0.2+ | ||
| 25 Jan 2019 | | 25 Jan 2019 | ||
− | | - Added a Mediatype field, <br> | + | | - Added a Mediatype field, <br> |
- Changed tree dropdown so that it <br> Does not autoselect, <br> Defaults to the user's branch if there is a branch restriction | - Changed tree dropdown so that it <br> Does not autoselect, <br> Defaults to the user's branch if there is a branch restriction | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
Line 122: | Line 127: | ||
| No functional changes; made compatible with TNGv12. | | No functional changes; made compatible with TNGv12. | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
− | | [[Media: | + | | [[Media:Browsemedia search form v10.1.0.1a.zip|10.1.0.1a]] |
| 10.1-11.1.1+ | | 10.1-11.1.1+ | ||
| 8 May 2017 | | 8 May 2017 | ||
Line 131: | Line 136: | ||
If you download and install this mod, please add your site to the table below. | If you download and install this mod, please add your site to the table below. | ||
− | {| border="0" cellspacing="1" cellpadding="2 | + | |
+ | [[Category:Mods for TNG v14]] | ||
+ | {| class="wikitable" border="0" cellspacing="1" cellpadding="2" | ||
|- | |- | ||
! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language | ! URL !! User !! Note !! Mod-Version !! TNG-Version !! User-language | ||
Line 138: | Line 145: | ||
| [[User:Robinrichm|Robin Richmond]] | | [[User:Robinrichm|Robin Richmond]] | ||
| Mod developer | | Mod developer | ||
− | | | + | | 14.0.0.4b |
− | | | + | |{{RobinBoilerplate| text=rrgip}} |
| English | | English | ||
|- | |- | ||
Line 153: | Line 160: | ||
[[Category:Mods for TNG v13]] | [[Category:Mods for TNG v13]] | ||
[[Category:browsemedia.php mods]] | [[Category:browsemedia.php mods]] | ||
+ | |} |
Revision as of 11:19, 13 March 2023
Browsemedia Search Form | |||
---|---|---|---|
Summary | Adds elements to the search form, and moves elements of the search form and page navigation widgets so that they are positioned as they are in most other search forms. Also adds "Tree" and "Collection" columns when they are called for. | ||
Validation | |||
Mod Updated | 13 Mar 2023 | ||
Download link | v14.0.0.4b
v13.0.0.4a
See the Revision History for older versions | ||
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 | 14.0.0.4b | ||
Min TNG V | 12.0 | ||
Max TNG V | rrgip | ||
Files modified | browsemedia.php, English cust_text.php | ||
Related Mods | |||
Notes |
Purpose of the Mod
To makes browsemedia.php more like other TNG search pages, and to improve its usability. The mod
- Moves the tree selection box into the search form so that it doesn't refresh the page and delete the search string when it is changed.
- Separates the result page navigation widget from the search form.
- Adds a "Tree" column if there is more than one tree and the user has not selected a tree.
- Adds a "Collection" if the user is on the All Media version of the program or has selected all media collections.
- Reduces the width of the "Linked To" column, with a style rule that uses "max-width" rather than "width".
- Reduces the width of the Headstones "Status" column in the same way.
Mod Options
In TNGv12, these options are traditional Mod Manager parameters.
In TNGv13, these options are defined in a "Mod Settings Block" at Admin>>Setup>>General Settings, in the new subform "Mod Settings Blocks". Links directly to the mod settings can be found in the Mod Manager Description and the Mod Manager Edit Options page.
- Whether to display a help icon for the search string. The help text talks about search fields and "Collections"
- Whether to display a help icon for the "Galleries" button. The help text talks about the Galleries thumbnails.
The help icons and their default help text are shown in visualizations.
Other Mods
- This mod saves data that can be used by the Show Mod Names utility mod, but is not dependent on that mod. I know of no dependencies on other mods.
- This mod is related to Browsemedia Medialinks, which makes some of the same changes as this mod to results table columns. As a result of these duplicated changes, if you install both mods, the second mod causes "Not Installed" messages in the first mod. But uninstalling the second mod cleans up the discrepancies.those errors.
Conflicts
I have checked the TNG Wiki mods that say that they change browsemedia.php. I could not download three of them. Of the others, only one presented a conflict:
- Media display columns mod, which changes results table column sizes in six end-user programs. I don't understand why it does what it does to browsemedia, and I don't see a way to resolve the incompatibility.
If you find any other incompatibilities, please let me know.
Installation
This mod includes a typical mod subfolder, with the same base name as the mod's .cfg file. The subfolder is atypical in that no files in it are installed to working TNG folders. However, it does contain critical files that contain the mod's language strings, which the mod does not add to standard cust_text.php files. Instead, the PHP code modified by this mod loads the language strings from files in the mod's languages/ subfolder. Read more about this technique.
[Show Standard Installation Process]
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, 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
Search Form BEFORE: | The tree selection field is not present if there is only one tree. When it is present, a change to the selected tree refreshes the screen and clears the search string. |
---|---|
Search Form AFTER: |
Again, the Tree selection field is not displayed if there is only one tree.
|
Results Columns AFTER: |
|
Help Text Popup AFTER: |
|
Help Text Popup AFTER: |
|
The Mod Settings Block AFTER: |
A Mod Settings Block is an outlined subform within an Admin>>Setup program that contains the options for a single mod. What is most notable about a Mod Settings Block is that a hyperlink directly to a Mod Settings Block displays only that block (i.e. only one mod's options), not all of the other options in the form or subform. Here, you see the this mod's Mod Settings Block, in admin_genconfig.php, at Admin>>Setup>>General Settings. The triangular arrow next to the subfolder heading Mod Settings Blocks is pointing to the right, meaning that the subform is not open, and that your site's other mod settings blocks are not visible. If you were to open the subform by clicking on the heading, you would see the mod settings blocks for other mods that you have installed. |
Revision History
Mod Version | TNG Version | Date | Note |
---|---|---|---|
14.0.0.4b |
rrgip |
13Mar2023 | Upgrade to TNGv14 |
v13.0.0.4a | 13 | 12Oct2020 | Upgraded to TNGv13 and added coordination with Browsemedia Medialinks |
v12.0.0.4 | 12.0-12.3 | 15Mar2020 |
|
v12.0.0.2 | 12.0 - 12.0.2+ | 25 Jan 2019 | - Added a Mediatype field, - Changed tree dropdown so that it |
v12.0.0.1a | 12.0+ | 15 May 2018 | No functional changes; made compatible with TNGv12. |
10.1.0.1a | 10.1-11.1.1+ | 8 May 2017 | New mod with typo corrected |
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 | 14.0.0.4b |
rrgip |
English |
The Cole / Tanner Family Tree | David Cole | Public/Private | see here | see here | EN, DE, FR, ES, NL |