Admin Media Search

From TNG_Wiki
Revision as of 10:55, 17 July 2020 by Robinrichm (talk | contribs)
Jump to navigation Jump to search
Construction  
  1. This mod now can display detailed information about Citation Medialinks, which are new to TNGv12. I'm not real confident that I've tested all of the ways that Citation Medialinks can be organized. Please let me know through the mod support form if you have any problems.
  2. I realize that Mod version 12 has too many options and features. In mod version 13, I didn't remove much, and, ironically I added options that are intended to make the overall mod configuration process easier. I would appreciate feedback about its complexity, and whether I have succeeded in simplifying the configuration of the mod options.

Robin Richmond 13 Jul 2020

Construction


Admin Media Search
Summary Adds numerous features to Admin>>Media>>Search, including new run-time search and display option. Perhaps most significantly, it adds hyperlinks to all objects shown in the "Links To" (i.e. medialinks) column and shows tag details for Citation Medialinks.
Validation
Mod Updated 17 Jul 2020
Download link 12.2.0.13.zip
TNG 12.3.0
TNG 12.2.0
12.2.0.12c1.zip
TNG 12.3.0
TNG 12.2.0
12.0.0.12c.zip
TNG 12.2.0
TNG 12.0
See the Revision History for older versions
Download stats
Author(s) Robin Richmond
Homepage this page
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 12.2.0.13
Min TNG V 10.1
Max TNG V 12.3
Files modified
admin_media.php, English cust_text.php, admin_genconfig.php, admin_updateconfig.php
May Install rrshared_innermodmenu3.php, rrshared_modsettingsblocks3.php, rrshared_wikilogo.gif
Related Mods
Notes
# There is no benefit to upgrading from Admin Media Searchv.12.0.0.12c to 12.2.0.12c1 if you use TNGv12.2.

Purpose of the Mod

This distinctly complex mod is intended to make the Admin>>Media>>Search form more powerful and useful. To a significant degree, you can think of this mod as turning the search form into a report-generator. Among its features are:

  • In the search form:
    1. The search string can be a regular expression
    2. You can control which database fields to search.
    3. You can select several database fields to be added to the results table
    4. There are sort order options
    5. You can control the number of results per page
  • In the search results
    1. The Tree name is shown in a new column when more than one tree is searched (as in other Admin programs).
    2. Very significantly - This mod converts all of the medialinks in the "Linked To" column into hyperlinks
    3. For citation medialinks, the tagnames of events supported by the citation are displayed. (See the Citation Medialinks section below.
    4. In mod version 13, some messages are printed in the Thumnnail column when there is no thumbnail.
[More Features]

More Features

  • Search form:
    1. An HTML fieldset border is drawn around the search form to help distinguish the search form from the action buttons below the form.
    2. The "File Ext" text field has been changed to a "File Type" drop-down list.
    3. A mod option determines which database fields can be searched, and which are searched by default
    4. New search options include:
      • Radio buttons that limit the search to media items with thumbnails, or without them.
      • A checkbox that limits the search to items that have bodytext.
      • Checkboxes to select optional result values: Geocodes, the file path, the MediaID, and/or the Mediakey.
    5. Some fields utilize single-charter "field button" shortcuts, but only if the Field Button mod is installed.
  • Search results
    1. The geocodes and file path are displayed in their own columns if they are selected in the search form.
    2. When the file path has not been selected for display, the file extension (the 'FORM' attribute) is displayed in the "Title,Description" column.
    3. The mediaid and mediakey share a column when they are selected in the search form.
    4. A button in the "Linked To" column heading toggles the display of the event tags.
    5. Messages in the thumbnail column:
      • Invalid image filename
      • Missing file
      • The filename extension (well, really, the 'FORM' attribute) for non-images (based on a mod option)
  • Other features
    1. The standard TNG Inner Menu now contains a drop-down menu that provides handy links to information about the mod and a direct link to the mod options editor. I call this menu an Inner Mod Menu, and most of my mods now (or will soon) add Inner Mod Menus to the programs that they alter significantly.

Finer Details:

  1. The "Linked to" column is allowed to wrap, thus allowing the "Title,Description" column to wrap less.
  2. Long mediakey values such as filenames are displayed as short links that pop up the full value.
  3. What was a file extension textbox in the native code is now a "File Type" selection box.
  4. When the Geocodes column is displayed, it uses abbreviations so that it is narrower than the native Geocoordinates column.
  5. Under the assumption that, when you print the Admin>>Media>>Search page, you are focusing on the search results, several parts of the web page are omitted when the Admin>>Media>>Search page is sent to a printer. Among the areas excluded from printing are the search form, the Action and Select columns, the page navigation buttons, and the action buttons above the results table. To print these parts of the page, you can do a screen capture and print the resulting screenshot image.
  6. The reset button resets all of the new search form options to the values they had when the page was loaded, not to the defaults they would have in a new browser session.
[Hide details]

Mod Options

This mod's options are implemented as custom TNG settings, in a new 'Mod Settings Block at Admin>>Setup>>General Settings>>Robin's Mods. The options and their effects are described here, and shown in the visualizations.

[Options for mod version 12]

The options in Admin Media Search version 12* are organized into three groups:

  1. Media fields that can be searched, and whether they are searched by default.
    • The fields that you chose as fields that "can be searched" are presented on the search form as checkboxes.
    • Among those fields, the options define which are checked on the search form by default.
    • Then, in the search form, you can check and uncheck the checkboxes to control which fields are searched by in a given search.
  2. Options for Event Tags associated with Citation Medialinks in the LinkedTo column.
    This mod can display the tags for events that are supported by a citation medialink. Two options affect this behavior.
    1. Start with the tags visible
    2. Add a button to toggle the display of the tags.
      Note that if both options are unchecked, the tags cannot ever be seen. (There is no run-time option to supersede these mod options.)
  3. Options for new information to place in the Thumbnails column.
    When a media item has no thumbnail path, the results table cell for the thumbnail image is necessarily blank. Under the control of these options, some messages can be displayed in that otherwise blank space.
    1. Check for missing file extension in media and thumbnail paths
      • Ordinarily, image file paths must have a filename extension such as .jpg, .png, or .gif, and the absence of a file extension in a media path is an error condition. However, it is possible to use a script to generate or retrieve an image, and it is possible to define scripts that have no filename extentions. If you happen to use such scripts in local path, then you should turn this option off. This test is not performed on external paths (those beginning with' http:' or 'https:').
    2. Show Mediatypes where there is no thumbnail path value
      • This is just a way to use otherwise empty space to display some information about media items that do not have thumbnails. This would almost always include, for example, PDF, DOC, and HTML files, but could include image files, too.
    3. Show error conditions. Error conditions displayed in otherwise-empty cells in the thumbnail column are distinguished by parentheses and a brown color. Each error message has more information in title text that pops up when you hover over the message. The error messages include:
      • (No media file) - The media path is empty and there is no bodytext.
      • (No file type) - There is a media path, but the file type (the 'FORM' attribute) is not defined.
      • (Bad filename) - The thumbnail path does not have a filename extension, and the Check for missing file extension in media and thumbnail paths option is set.
      • (Missing) - There is a thumbnail path, but the file is missing.
      • ({filename extension}) - There is no file type, but there is a file extension in the media path.
[Hide options for mod version 12]
[Options for mod version 13]

Admin Media Search version 13 has essentially the same features and options as version 12 of the mod. The primary effect of mod version 13 is to reorganize the (too-)many options so that (I hope) they are simpler to manage. The options in Admin Media Search version 13 are divided into seven groups, three of which are single options, and four of which allow

  • The entire group of options to be set to values that achieve the native Admin>>Setup>>Search functionality; (i.e. to disable the features handled by the group),
  • The entire group of options to be set to recommended settings,
  • The entire group of options to be ignored,
  • Each option to be edited.

The mod options block initially looks like this:
Admin media search-modoptionsblock.jpg
(The colored borders help you keep track of the options groups as they jump around on the screen a bit when you open and close the groups.)

I'll focus on group 1 to illustrate details.

Here's what you see if you click both the "See Native Behavior" and "See Recommended Behavior" buttons.
Admin media search-optionsgroup1-behavior.jpg

The descriptions give you a glimpse of how the settings would affect the Admin>>Media>>Search behavior, without requiring you to look at and make decisions about each option. If you just want to make sure that the program takes on the native or recommended behavior, you still don't have to see all of the options in their form fields. You can just click "Apply" and ignore those details.

Here are the form fields for group 1, after they are opened by by the 'Show Settings' button.
Admin media search-optionsgroup1-settings.jpg
Unfortunately, the options program cannot tell you whether the option values are set to the native settings, the recommended settings, or custom settings. I've looked into doing that, but would take too much time to implement. But still, the point is that you don't have to deal with all of the options individually - saying, in effect, 'Don't bother me with the details".
[Hide options for mod version 13 ]

Citation Medialinks

TNGv12 introduced the ability for TNG to record medialinks to citations, but didn't fully implement them in programs that display information about citations or medialinks. TNGv12.2 added citation medialink-handling in admin_media.php.

Citation medialinks are kind of funky, and it isn't really clear how they should be presented, especially in the context of other medialinks.

[See details]

A little background:

  • A citation links a source with a single event
  • The event then links to a person or family.

Thus, when a source (such as a census), provides information about the name, birthdate, and place of residence for, say, five members of a family, plus the date of the parents' marriage, there will be there will be 16 citations - 3 events x 5 people, plus one family event. And the media item (in this case, an image of the census page) would have 16 largely redundant citation medialinks.

To complicate matters, depending on how the data is loaded into TNG, for a given media item, 1. Medialinks directly to the people, the family, and the source might be derived from the citations, and 2. Medialinks directly to the people and the family, and maybe, but less likely, to the source could be created independently.

Lets take an example where there are

  1. 3 people in the 1930 census, which is source S30, and provides an approximate marriage date,
  2. The census page image is M301
  • The parents have personID's I1 and 2, and the child is I3. We'll pretend that their names are Pop, Mom, and Son.
  • The census provides support for each person's name (NAME), birth (BIRT), and place of residence (RESI).
  • Then census also supports the parents' marriage, which is S1
  • We'll also link the 1920 census to its place, say Dover, Spring Co, OH

For media item M301, we want to see

  • Pop (I1)
    S30, BIRT, NAME, RESI
  • Mom (I2)
    S30, BIRT, NAME, RESI
  • Son (I3)
    S30, BIRT, NAME, RESI
  • Pop/Mom (F1)
    S30, MARR
  • 1930 Census (S30)
  • Dover, Spring, OH

If there are direct links from the census image to the person, family, and source, we want to see the exact same thing.

To accomplish this, the medialink SQL query joins medialinks to their direct links (People, Family, Sources, Repositories, Places, and Citations), and then joins the citations to their sources and events, and the event to their people and families. There are four sort keys:

  1. A contrived numeric key that sorts all People first, then Families, Sources, Repositories, and Places
  2. PersonIDs & FamilyIDs in numeric, not string order (e.g. I2 is converted to I000002 so that it comes before I21 which is converted to I000021),
  3. Citation sourceID within each PersonID and FamilyID
  4. Event tags within each PersonID/sourceID and FamilyID/sourceID

Assuming no direct medialinks to the people, family, or source, we get this result set

ID Source Tag Fullname Husband Wife Title
P1 S30 BIRT Pop 1930 Census
P1 S30 NAME Pop 1930 Census
P1 S30 RESI Pop 1930 Census
P2 S30 BIRT Mom 1930 Census
2 more P2 results
3 P3 results
F1 S30 Marr Pop Mom 1930 Census
Dover, Spring, OH

To print what is shown above, we have to

  1. Recognize that the second and third rows have the same personID and sourceID so that we do not reprint the person's name, and so that we do not start a new line for each event tag.
  2. Remember the sourceID and title, so that we can a print a line for the source after the people and families

Now, if there are also direct medialinks from the census image to each person and family, and to the source, we'll get four more query results, which are sorted appropriately within the result set

ID Source Tag Fullname Husband Wife Title
P1 Dad
P2 Mom
P3 Son
F1 Pop Mom
S30 1930 Census

But, because we are making sure that we don't print a name, family, or source more than once, we get exact the same display as before.

Finally, note that the result set above also gives us the data we need to turn each person, family, source, and place into a hyperlink to the appropriate TNG pages.

[Hide details]

Compatibility

This mod is fully compatible with Unused Media and Private Media Mod.

Related Mods

  • Admin Media Predefined Search, which is dependent on this mod, adds a search feature to Admin Media Search that is helpful in a particular situation - in short, when a TNG site mixes files of different Mediatypes (documents, photos, histories, etc.) in a single media folder. This situation generally occurs when a genealogy applications that feeds data to TNG cannot handle multiple folders. Family Tree Maker is one such application.
  • Media Bodytext (which has not been released as I write this) changes some features of admin_editmedia.php and showmedia.php - especially with respect to BodyText values.
  • This mod saves data that can be used by the optional Show Mod Names utility mod, but this mod is not dependent on Show Mod Names.

Installation

Files Installed

This mod is packaged with a mod subfolder that is shared with several other mods. The shared folder RR-shared_mod_includes_v12.0.0.4 contains files that help to manage mod options in many of my mods:

    1. rrshared_innermodmenu4.php - Inner Mod Menus
    2. rrshared_modsettingsblocks4.php - Mod Settings Blocks
    3. img/rrshared_wikilogo.gif - An icon that links to a mod's TNG Wiki page from an Inner Mod Menu or Mod Settings Block

Each mod that contains the shared folder may install some or all of its shared files, depending on whether those files already exist. Once a file from the shared folder has been installed (by any mod), that file will not be overwritten or removed by the subsequent installation or un-installation of any mod (including this one), nor will its presence or absence generate any Mod Manager errors.

If you unzip mod distribution files directly into your mods folder, then the presence of the shared subfolder and the installation of its files should be invisible to you. But if you generally copy mod subfolders to your mods folder after you have unzipped the distribution file, then you need to make sure to copy the folder RR-shared_mod_includes_v12.0.0.4 (well, unless you are confident that it is already in your mods folder because it was part of another mod).

[Show Installation Details]

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

  1. Remove and delete previous version of this mod.
  2. Backup the files updated by this mod. They are listed in the panel at the upper right.
  3. Download the .zip file, Extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

Problems?

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.
[Hide Details]

Visualizations

1. Admin>>Media>>Search BEFORE
Admin media-before-v12.jpg
  • There is no "Tree" column, even though "All Trees" have been selected.
  • In the results table, the thumbnail in the 3rd row looks exactly like the one in the first row, because it is the same file. In this case, the third media item has an invalid thumbpath value. Sometimes (I don't know why it doesn't always happen), the program displays the very first thumbnail in the thumbnails folder when it encounters a invalid path.
  • In the second and fourth rows, we don't know whether the thumbnail cell is blank because there is no thumbnail path value, or because the file is missing.
  • The "Linked to" column is wider than it needs to be, because it has a fixed width. The data in that column is also not allowed to wrap.
2. Admin>>Media>>Search AFTER, with most of the run-time display options unchecked, and with the options that display extra information in the thumbnail column unchecked.
Admin media-after1-v12.jpg
  1. "Mod Information" is the label for the Inner Mod Menu, which is shown in a later visualization.
  2. The informal icon pop-up a message about the search string.
    • It notes that the search string can be a regular expression, and give a couple of examples.
    • It describes the search field's field buttons, which, in this screen shot, are shaded out. The field buttons appear only if the Field Buttons mod is installed.
  3. The "Search fields" line is defined strictly by this mod. It lists the searchable database fields, as defined by mod options. The mod options alto control which boxes are checked for the first search you do in a browser session. After that (as with other search form options like the search string) search forms default to the values used in the most recent search.
  4. The "Search Criteria" line exists (with different labels) in the native search form. Here, all options are new or changed, except for the "Unlinked Only" checkbox.
    • The native form has a "File Ext" text box, which this mod replaces with a "File Type" selection box. The new selection box accomplishes the same thing as the old text field; it just lets you select file types (i.e. file extensions) from a list.
    • Three radio buttons determine if the search will focus on media items with or without a thumbnail path value.
    • I didn't implement three choices for BodyText, as I did for the thumbnail. The single textbox seemed sufficient.
  5. The "Display options" line is also created by this mod.
    • The four checkboxes determine whether those values will be added to the results table.
    • The "Results per page" field overrides the TNG system value, but the "D" field button next to the field applies that system value.
      • The "A" (for "All") button is very handy when you want to print all results. Without this field, you would have to print the media items page-by-page, and with the "A" setting, you'll get appropriate printed page breaks.
  6. The "Sort By" link was also created by the mod, but is quite easy to cover, as it is just a four options radio button set.
  7. Changes to the result table columns (not their contents; just the columns):
    • The "Title,Description" column is now "Title,Description,FileExt" (sometimes) because I display the media item's file extension ('FORM' field) just after the title. The file type is important to me, and this seemed to be a good way to replace some whitespace with data.
    • The native "Linked to" column has a fixed width and is not allowed to wrap. I've defined a minimum length, but I allow it to wrap, and let the browser control the column widths.
    • The Tree column is not native to the application, though it is native to most TNG search screens. I display it only when the search covers all trees.
  8. The "Linked to" column is all about links, so the mod generates hyperlinks to every object that the media item is linked to. Citation medialinks are a little funky; another visualization will show how I handle citation medialinks.
3. Admin>>Media>>Search AFTER, with a few run-time options.
Admin media-after2-v12.jpg

In the search form, as indicated by the red outlines

  • A single tree has been selected and a search string has been entered.
  • The search focuses on Histories
  • "MediaKey" and "File Path" have been selected for display, so both are present in the results table.

In the results table, as indicated by the green outlines

  • In the MediaKey column,
    • The pound sign indicates that the media key is a number longer than 5 digits. If the user clicks on the pound sign, it is replaced by the actual media key value.
    • The link reading "(text)" indicates that the media key is text - probably a filename, since the media filepath is saved as the media key when media items are uploaded through TNG. Again, if the user clicks on the pound sign, it is replaced by the actual media key value.
  • In the thumnail column, you can see some of the extra information that has been enabled by mod options.
    • In the absence of a thumbnail path, this value indicated that the media item consists of BodyText.
    • The second media item is a PDF file, and the fourth media item is an HTM file.
  • In the File path column
    • The first media item has no media path. Instead, the media items consists of 3800 characters of body text.
    • The second media item is the normal value in the File Path column; it is the media item's file path value.
  • In the Linkedto column:
    • The third media item has a media link to a placename.
    • The fourth media item has a media link to a source.
    • (no file) means that the thumbnail file is specified by the file does not exist.
    • The second media item is a PDF file, and the fourth media item is an HTM file.
4. Admin>>Media>>Search AFTER, with a few other options.
Admin media-after3-v12a.jpg

In the search form, as indicated by the red outlines

  1. This search uses a regular expression to find media items that contain "Francis Billingsly" OR "ClarenceSR"
  2. The mediaID joins the mediakey in their shared column, and the Geocodes column is displayed.

In the results table, as indicated by the green outlines

  • In the MediaID & MediaKey column, the MediaID comes first, though if both values have been selected, and results are sorted by MediaKey, the MediaKey will be listed first.
  • The Geocodes uses abbreviations and rounds the latitude and longitude to three digits so that the column doesn't take up much space.
  • The pop-up message from the information icon next to the search string is shown at the bottom of the screen clip.
5. Admin>>Media>>Search AFTER, the Inner Mod Menu
Admin media-after-innermodmenu-v12a.jpg

This shows the Inner Mod Menu when two mods that affect Admin>>Places>>Search have been installed. For both mods, the Inner Mod Menu provides hyerlinks to

  1. The mod's Wiki article (via the Wiki logo),
  2. The Mod Options setion of the Wiki article, and
  3. The Mod Options editor (see the next visualization)

(The Inner Mod Menus of some other mods provide additional links.)

6. Admin>>Media>>Search AFTER - Mod Options
Admin media-after-options-v12a.jpg

The options are described in some detail up in the Mod Options section of this article.

The Wiki logo next to the mod name is a hyperlink to the mod's Wiki article.

Significantly, when you go to Admin>>Setup>General Settings, and select Robin's Mods, you'll see the options for all of the mods that have placed options in this subform. But when you link to a mod's options through the Inner Mod Menu shown in the previous visualization, you'll see what you see in this screen shot - just the one Mod Setting Block. If you click the subform heading (the triangular arrow or the label Robin's Mods) in this screen clip, all of the mods in the subform will be displayed. Then, if you click the heading again, all of the mod settings will be hidden.

Styles

My mods generally do not add style rules to genstyle.css because

  1. genstyle.css has SO MANY rules already,
  2. The rules added by most mods affect only one or two programs, and just take up space in genstyle.css for other programs, and
  3. Keeping mod-generated rules separate helps to avoid classname conflicts between mods.

Some of my mods define stand-alone .css files, but most of my mods (like this one) define an inline style sheet.

[See this mod's inline style sheet]
/*Suppress printing on a printer */
@media print {
	.rramsnoprinter {display:none;}
}
/* Move labels closer to checkboxes and radio buttons */
input[type='checkbox'], input[type='radio'] {margin-right:1px;}
/******* Format popup help text that is displayed in a LITbox ******/
.rrlitboxhint {font-family:sans-serif;
	font-size:108%;
	padding:0 5px;
}
/* Use bold and a background color to emphasize <code> elements in my litbox hints. */
.rrlitboxhint code {background-color:lightBlue;
	font-weight:bold; white-space:no-wrap;
}
/* Make sure that there is not too much vertical spacing around <ol> elements. */
.rrlitboxhint ol {margin-top:1ex; margin-bottom:0;
	margin-right:5px;
}
/* Position the title in the litbox title bar */
#LB_titletext {padding: 3px 0 0 3px;
}
/* A footnote in help text litboxes */
.rrlitboxhint footer {font-size:85%;
	margin-top:1ex;
	border-top:1px solid gray;
	font-family: sans-serif;
	text-align:center;
}
/* Right-justify the labels in the first column of the search form layout table */
.rramslabels {text-align:right; padding-right:.6em;
	padding-top:4px;
}
/* Position the Search and Reset buttons to the right inside the search form. */
.rramssubmit {float:right; text-align:right;
	padding-left:2em;
}
/* Give the links column a minimum width, and its list elements a smaller indentation */
.rramslinks {min-width:16em;}
.rramslinks ul {margin-left:12px; padding-left:0px;}
/* A button in the linked to column to hide event tags */
#tagsbutton {float:right; padding:1px 2px; cursor:pointer;}
/* For spans with explicit popups or click events */
.rramspoint {cursor:pointer}
.rramspointerr {cursor:pointer; color:brown;} /* Errors */
/* The show/hide tags buttons */
.rrtagsshow,.rrtagshide {float:right; padding:1px 2px; cursor:pointer;}
<?php
if ($rrconfig['MediaStartWithCiteTags'])
    echo ".rrtagsshow{display:none}\n";
else echo ".rrtags,.rrtagshide{display:none}\n";
?>

Note that the last two styles are generated by PHP code. Those styles control the visibility of the citation medialink event tags on the basis of the mod option that controls whether the tags are displayed or hidden as the page is loaded.

[Hide details]

If you want to override any of these rules, you can add supplemental rules to your template's mytngstyle.css file, or to the bottom of your genstyle.css. (As it turns out, it takes a JQuery document.ready trick to allow you to override my inline style rules this way. That trick is described in a Technical Note in my TNG Wiki home page.)

Revision History

Mod Version TNG Version Date Note
12.2.0.12c1 12.2 - 12.3 25Feb2020 No Functional Changes.
  • Simplified the mod by removing a conditional location that handled TNGv12.0-1 vs TNGv12.2 (and now TNGv12.3).
    • As a result, there are two version of TNGv12* - v12.0.0.12c, and v12.2.0.12c,
  • Fixed a missing %end:% tag, which TNGv12.3 does not tolerate.
  • Uses version 4 of the shared mod libraries
  • Mod v12c1 fixes a function call that changed between v3 and v4 of a shared mod library.
12.0.0.12c 12.0 - 12.2 15Dec2019 No Functional Changes. Just upgraded to version 3 of the shared mod libraries and fixed a bug that was using the media item tree instead of a medialink tree. (They are rarely different, but they can be.)
12.0.0.12b 12.0 - 12.2 30Oct2019
  • Fixed a problem with regex searches. There is no practical way to validate them, and invalid regex expressions in SQL can crash PHP. Then, when you run the search program again, it uses the searchstring cookie to repeat the broken search. My solution is not to save regex searches in the cookie.
  • Found and dealt with a citation medialink use-case that I hadn't been aware of.
  • Improved the handling of the new information in the thumbnail column, and added mod options to suppress that information.

(See also the revision notes for v12.0.0.12 and v12.0.0.11, which were pretty short-lived.)

12.0.0.12 12.0 - 12.2 24Oct2019 This version needed immediate repair by version 12a, so it cannot be downloaded.
  • Handles citation medialinks differently from both the native TNGv12.2 code and version 11 of this mod. In particular, this version displays the tag names of events supported by citation medialinks
  • Mod options control whether the event tags are visible or hidden as the page loads, and whether there is a button in the LinkedTo column that toggles the display citation medialinks the event tags.
  • Added (under control of an option) the ability to display the media item's FORM attribute when there is no thumbpath.
  • Under control of an option, several error messages are displayed in the thumbnail column if there is no thumbpath
[Minor changes]

Small presentation enhancements:

  • Fixed a bug that prevented the searchstring ID and info icon from being defined when the field buttons mod is not installed.
  • Added "File type" to the Title/Description column in the results table when those values are in the that column. (The mod has always placed the file type in that column when the full file path is not being displayed in the results table.)
  • Styled radio buttons and checkboxes to move the labels and buttons closer to each other.
  • Changed the order of the display option checkboxes to match their positions in the results table.
  • Added the label "File type" before the file type selection box.
  • Sorted the file type selection options in alphabetical order.
  • Uses version 2 of the shared InnerModMenu and ModSettingsBlocks Include files..
[Hide details]
12.0.0.11 12.0 - 12.1 30Sep2019 (This version was pretty short-lived. Several of its new features are handled much better in version 12.0.0.12a, which is also more fault-tolerant.)
  1. Handles Citation Medialinks, which are new in TNGv12. (Mod version 12a does a MUCH better job of this.)
  2. Added my new Inner Mod Menu, which provides very convenient access to the mod options.
  3. The options for this mod are presented in a Mod Settings Block in the new subform Robin's Mods.
[Less significant changes]
  1. In the Thumbnail column of the results table, when a thumbnail file is missing, the program now displays a message saying "Thumbnail missing", with the thumnail path in title text (in effect, in a tool tip).
  2. Added Field Buttons
  3. Makes sure that at least one search field is checked
  4. (There is a new mod option whose meaning is not at all clear, but I made up for that by never actually using that option in admin_media.php.)
[Hide details]
12.0.0.10 12.0+ 4May2018 No functional changes; made compatible with TNGv12.
10.1.0.10 10.1 - 11.1.2 17Dec2017

- Added the size of the Bodytext field to the filepath column if it is being displayed, and to the "Title, Description" column otherwise
- Rather than say "Thumbnail specified but missing", shows the thumbnail filepath.
- Moved the embedded style sheet to css/genstyle.css

10.1.0.9b 10.1 - 11.1+ 10May2017
  1. Added the ability to sort by description, filepath, mediaID, or mediaKey, selected through checkboxes on the search form.
  2. Made ShowModNames optional and pulled the .rrnoprinter style class into an embedded style sheet to remove a mod dependency.
10.1.0.8 download 10.1 - 10.1.3 21 Feb 2016 Added thumnbnail search option, and missing thumbnail message. Displays media key.

Also now depends on Show Mod Names v2+.

10.1.0.7c 10.1 - 10.1.1 12Jul2015 Made this mod compatible with Rick Bisbee's new Showfolio Mod by tweaking a code fragment. No other changes.
10.1.0.7b 10.1 - 10.1.1 5Jun2015 Made this mod compatible with Chris Moss's new Private Media Mod. No changes other than the inclusion of the new Private Media flag created by Private Media Mod.
10.1.0.7 10.1 - 10.1.1 11May2015 - Added showfilename and showgeocode parameters to display or suppress columns
- Added abbreviations for latitude and longitude.
- Added tree column
- Added hyperlinks to all linked objects, including places
- Added no-space breaks in the filename column to allow the path to wrap a bit.
- Allowed the linked object names to wrap, but specified a minimum column width.
10.1.0.5 10.1 30Dec2014 No functional changes, just changed database references for TNG v10.1 compatibility.
9.0.0.4 download 9.0.0 - 10.0.0.3 26 Dec 2014 Fixed a bug that was preventing the program from recognizing when the collection was changes, and from changing the collection Add/Edit buttons and fields in response.
9.0.0.3 9.0.0 - 10.0.0.3 11Dec2014 No functional changes; no visualization changes. Cleaned up mod directives for the TNGv10.3 alpha release. Added better annotation to the code changes. Eliminated a duplicate checkbox in the search. Places cust_text insertions at the end of cust_text.php instead of at the beginning.
9.0.0.1 9.0.0 - 10.0.0.3 08 May 2014 Initial release.

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 12.2.0.12c 12.3 English
Total Family History Scott Bennett Private Site (For right now) V9.0.0.1 TNG 10.0.1 - 11.1.2 EN
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.8 11.0.0 NL/EN
De Zoethouten van Woudsend John Zoethout Public site 10.1.0.5 10.1.0 Dutch/English
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
DJCM.DK Claus Martinussen Public site 12.0.0.10 12.0 DA/EN
Bisbee Family Connection Rick Bisbee Public site 10.1.0.7(c) 10.1.2 English
Adler-Wien Herbert Fischer Public site 12.2.0.12c1 12.3 DE,(EN)
Stamboom Jongman Roel Jongman Public/Private site 10.1.0.9(b) 10.1.3 NL, DE, EN
Our Family History Paul Barrett Public/Private site 10.1.0.9b 11.1.2 EN
Roots & Relatives Remembered Ron Krzmarzick Public & Private See Here See Here EN,DE,CS,ES
Cole / Tanner Family Tree David Cole Public/Private see here see here English