Difference between revisions of "Media ShowTable"

From TNG_Wiki
Jump to navigation Jump to search
(Text replacement - "{{CURRENTLOGGEDUSER}}" to "{{#replace:{{CURRENTLOGGEDUSER}}}}")
(10 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
| mod_summary    = Display the Media Description and Notes in the table below the image.
 
| mod_summary    = Display the Media Description and Notes in the table below the image.
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] in TNG 8.1.2
 
| mod_validation  = This mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] in TNG 8.1.2
| download_link  = for {{Tv1010}} <br  />[https://www.royandboucher.com/ccount/click.php?id=216&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v10.1.0.1.zip]<hr />for {{Tv100}} <br  />[https://www.royandboucher.com/ccount/click.php?id=165&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}  media-2_show_table_v10.0.0.0.zip]<br />[https://www.royandboucher.com/ccount/click.php?id=242&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Dutch  language file]<br  />[https://www.royandboucher.com/ccount/click.php?id=243&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French  language file]<br  />[https://www.royandboucher.com/ccount/click.php?id=244&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Spanish  language file]<br />  [https://www.royandboucher.com/ccount/click.php?id=245&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Custom Text  override]<hr />[https://www.royandboucher.com/ccount/click.php?id=20&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v9.0.0.0.zip]<br />[http://ccount.degryse-moeys.net/click.php?id=23 Dutch language  file]<br/>[https://www.royandboucher.com/ccount/click.php?id=21&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French language file]<br />[http://ccount.degryse-moeys.net/click.php?id=24 Spanish  language file]<br/> for {{Tv90}}  <hr >[https://www.royandboucher.com/ccount/click.php?id=30&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v8.1.1a.zip]<br />for {{Tv80}} <hr >[https://www.royandboucher.com/ccount/click.php?id=31&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v1.0.zip]<br />for {{Tv70}}
+
| mod_last_update = 12 Jan 2015
 +
| download_link  = for {{Tv120}} {{Tv110}} {{Tv1010}} <br  />[https://www.royandboucher.com/ccount/click.php?id=216&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v10.1.0.1.zip]<hr />for {{Tv100}} <br  />[https://www.royandboucher.com/ccount/click.php?id=165&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}}  media-2_show_table_v10.0.0.0.zip]<br />[https://www.royandboucher.com/ccount/click.php?id=242&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Dutch  language file]<br  />[https://www.royandboucher.com/ccount/click.php?id=243&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French  language file]<br  />[https://www.royandboucher.com/ccount/click.php?id=244&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Spanish  language file]<br />  [https://www.royandboucher.com/ccount/click.php?id=245&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} Custom Text  override]<hr />[https://www.royandboucher.com/ccount/click.php?id=20&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v9.0.0.0.zip]<br />[http://ccount.degryse-moeys.net/click.php?id=23 Dutch language  file]<br/>[https://www.royandboucher.com/ccount/click.php?id=21&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} French language file]<br />[http://ccount.degryse-moeys.net/click.php?id=24 Spanish  language file]<br/> for {{Tv90}}  <hr >[https://www.royandboucher.com/ccount/click.php?id=30&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v8.1.1a.zip]<br />for {{Tv80}} <hr >[https://www.royandboucher.com/ccount/click.php?id=31&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} media-2_show_table_v1.0.zip]<br />for {{Tv70}}
 
| download_stats  = View download statistics<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=20-21-30-31-165-216 for Show Table mod]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=166-168-169-242-243-244 for V10 languages]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=167-245 for V10 Custom Text]<br />[http://ccount.degryse-moeys.net/index.php?action=stats&id=23-24 for Dutch and Spanish V9 languages]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=21-166 for French V9 language]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&groupid=3 for Media mods group]  
 
| download_stats  = View download statistics<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=20-21-30-31-165-216 for Show Table mod]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=166-168-169-242-243-244 for V10 languages]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=167-245 for V10 Custom Text]<br />[http://ccount.degryse-moeys.net/index.php?action=stats&id=23-24 for Dutch and Spanish V9 languages]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&id=21-166 for French V9 language]<br />[https://www.royandboucher.com/ccount/index.php?action=stats&groupid=3 for Media mods group]  
 
| mod_author      = Ken Roy
 
| mod_author      = Ken Roy
Line 11: Line 12:
 
| mod_version    = 10.1.0.1 for TNG V10.1<br />10.0.0.0 for TNG V10<br />9.0.0.0 for TNG V9<br />8.1.1 for TNG V8<br />1.0 for TNG V7
 
| mod_version    = 10.1.0.1 for TNG V10.1<br />10.0.0.0 for TNG V10<br />9.0.0.0 for TNG V9<br />8.1.1 for TNG V8<br />1.0 for TNG V7
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 11+
+
| max_TNG_ver    = 12+
 
| TNG_file_list  = showmedia.php<br />showmedialib.php<br />showmediaxml.php for TNG V7 only<br /> showtable_desc-notes.php
 
| TNG_file_list  = showmedia.php<br />showmedialib.php<br />showmediaxml.php for TNG V7 only<br /> showtable_desc-notes.php
 
| related_mods    = [[Media - 1 - Image Viewer Mod]] <span style="color: red">(for TNG V7 only)</span><br />[[Media - 3 - Body Text for Translation]] (obsolete in TNG V10)<br />[[Media - 4 - Tooltip Mod]]<br />[[Media - 5 - Image Map Message Mod]]
 
| related_mods    = [[Media - 1 - Image Viewer Mod]] <span style="color: red">(for TNG V7 only)</span><br />[[Media - 3 - Body Text for Translation]] (obsolete in TNG V10)<br />[[Media - 4 - Tooltip Mod]]<br />[[Media - 5 - Image Map Message Mod]]
Line 201: Line 202:
 
|}
 
|}
  
 +
== Related Mods ==
 +
The following Media mods may be related.  The number indicates the install order if you install more than one of these mods:
 +
* [[Media - 1 - Image Viewer Mod]] (TNG V7 only)
 +
* [[Media - 2 - ShowTable Mod]]
 +
* [[Media - 3 - Body Text for Translation]] TNG V7, 8, and 9 only))
 +
* [[Media - 4 - Tooltip Mod]]
 +
* [[Media - 5 - Image Map Message Mod]]
  
 
== Sites using this mod ==
 
== Sites using this mod ==
Line 214: Line 222:
 
! User-language
 
! User-language
 
|-
 
|-
| [https://www.royandboucher.com/ Our Roy and Boucher Family]
+
| [https://www.royandboucher.com/tng/showmedia.php?mediaID=13 Our Roy and Boucher Family]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| I use this TNG mod for all media collections.  
 
| I use this TNG mod for all media collections.  
| 10.0.0.0/10.1.0.1
+
| 10.1.0.1
| 10.0.0/10.1.0 beta 3
+
| 12.0.0
 
| EN, FR
 
| EN, FR
 
|-
 
|-
Line 225: Line 233:
 
|   
 
|   
 
| 10.1.0.1
 
| 10.1.0.1
| 11.0.2
+
| 12.0.2
 +
| EN
 +
|-
 +
| [http://genealogy.oceanwharf.com Hooley Family Links]
 +
| [[User: lastejas|Rick Hooley]]
 +
| Public/Private
 +
| [[User: lastejas|See Here]]
 +
| [[User: lastejas|See Here]]
 
| EN
 
| EN
 
|-
 
|-
Line 242: Line 257:
 
| EN
 
| EN
 
|-
 
|-
| [http://www.ourfamilyhistories.org Our Family Histories]
+
| [https://www.ourfamilyhistories.org Our Family Histories]
 
| [[User:Bsl20b50|Bryan S. Larson]]
 
| [[User:Bsl20b50|Bryan S. Larson]]
|  
+
| Public - T8 customized
| 10.0.0.0
+
| [[User:Bsl20b50|see here]]
| 10.0.0
+
| [[User:Bsl20b50|see here]]
 
| EN
 
| EN
 
|-
 
|-
Line 267: Line 282:
 
| Public site.
 
| Public site.
 
| 10.1.0.1
 
| 10.1.0.1
| 11.0.0
+
| 12.0.1
 
|EN, FR, DE, NL
 
|EN, FR, DE, NL
|-}
+
|-
 
+
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
== Related Mods ==
+
| [[User:Seanst|Sean Thompson]]
The following Media mods may be related. The number indicates the install order if you install more than one of these mods:
+
| Not a public site
* [[Media - 1 - Image Viewer Mod]] (TNG V7 only)
+
| 10.0.0.1
* [[Media - 2 - ShowTable Mod]]
+
| 11.1.0
* [[Media - 3 - Body Text for Translation]] TNG V7, 8, and 9 only))
+
| English
* [[Media - 4 - Tooltip Mod]]
+
|-
* [[Media - 5 - Image Map Message Mod]]
+
| [http://www.brownlineage.com/showmedia.php?mediaID=12 Ancestry of the Brown Family]
 +
| [[User:MistyBrown79|Misty Bearman]]
 +
 +
| 10.1.0.1
 +
| 11.1.1
 +
| EN, FR
 +
|-
 +
| [https://www.larleegenealogy.org The Larlee Genealogy]
 +
| [[User:HeatherFeuer|Heather Feuerhelm]]
 +
|
 +
| 10.1.0.1
 +
| 11.1.0
 +
| English
 +
|}
  
  
 +
[[Category:Mods for TNG v12]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v11]]
 
[[Category:Mods for TNG v10]]
 
[[Category:Mods for TNG v10]]

Revision as of 17:07, 28 September 2019

Restricted Downloads of Media ShowTable are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


ShowTable Mod
Summary Display the Media Description and Notes in the table below the image.
Validation This mod is XHTML compliant.Valid-xhtml10.png in TNG 8.1.2
Mod Updated 12 Jan 2015
Download link for
TNG 12.0
TNG 11.0
TNG 10.1.0

media-2_show_table_v10.1.0.1.zip
for
TNG 10.0

media-2_show_table_v10.0.0.0.zip
Dutch language file
French language file
Spanish language file
Custom Text override
media-2_show_table_v9.0.0.0.zip
Dutch language file
French language file
Spanish language file
for
TNG 9.0

media-2_show_table_v8.1.1a.zip
for
TNG 8.0

media-2_show_table_v1.0.zip
for
TNG 7.0
Download stats View download statistics
for Show Table mod
for V10 languages
for V10 Custom Text
for Dutch and Spanish V9 languages
for French V9 language
for Media mods group
Author(s) Ken Roy
Homepage ShowTable Mod (This page)
Mod Support TNG Community Forums
Contact Developer Ken Roy
Latest Mod 10.1.0.1 for TNG V10.1
10.0.0.0 for TNG V10
9.0.0.0 for TNG V9
8.1.1 for TNG V8
1.0 for TNG V7
Min TNG V 7.0.0
Max TNG V 12+
Files modified
showmedia.php
showmedialib.php
showmediaxml.php for TNG V7 only
showtable_desc-notes.php
Related Mods
Notes
This mod should be installed before the Body Text for Translation if you use both mods
Please update your additional language cust_text.php files with translations based upon the Custom Text Additions for this mod.


Introduction

This mod was designed to move the display the Media Description (title) and Notes (Media Information Description field) to the table below the image.

This mod applies to TNG 7.0 and above. The mod will work with TNG version 6, but the line numbers will be different.

V8.1.1 of the mod was updated to honor line feeds in the Media Notes row.


TNG version: 9.0

V9.0.0.0 of the mod adds an IPTC Encoding row to show the character set encoding of the IPTC tags within the image. The Media Title row was dropped since TNG V9 moves the image title below the image.


TNG version: 10.0

V10.0.0.0 of the mod also moves the Body Text that can now be displayed with any media to the Show Table section, always sets the Media Title (description field) above the image and re-adds the Media Title to the table display.

Developer

Ken Roy developed this mod.

Advantages

This mod

  • moves the Notes and Description normally displayed before the image to the table below the image
  • provides a standard way of displaying information about the image
  • repeats the media header as Media Title in the table

Requirements

  • A backup of the TNG showmedia.php, showmedialib.php, and showmediaxml.php files
  • An installed current version of the Mod Manager

Revision History

Note that there are two different flavors of this mod:

  • one to be installed when not using Bret Rumsey's Image Viewer Mod
  • other to be install when using Bret Rumsey's Image Viewer

The version numbers are kept the same, but the config file name is different.

Version Date Contents
v10.1.0.1 12 January 2015 Updated for TNG V10.1 and includes the following:
  • Changed all %trimreplace to %replace
  • Resolve the conflict with the Media - Census Plus International mod where both were modifying the function showTable parameter list
v10.0.0.0 27 January 2014 Updated for TNG V10 and includes the following:
  • Changed show media so the Title is always before the image, since TNG shows it sometimes above and sometimes below.
  • Re-added the Media Title row that was dropped in TNG V9 when the image title moved below the image.
  • Moved the Body Text now displayed with the image in TNG V10 into the table but only if there is an image.
  • Also updated the French language file that can be downloaded as a mod add-on.
  • Added a sample custom text override for the Body Text row.
V9.0.0.0 9 March 2012 Language Mods added for Dutch and Spanish. Only for TNG v9 (or higher)!
v9.0.0.0 2 February 2012 Updated for TNG V9 and includes
  • Added an IPTC Encoding row to show the character set encoding of the IPTC tags within the image.
  • The Media Title row was dropped since TNG V9 moves the image title below the image.
  • Also added a French language file that can be downloaded as a mod add-on.
v8.1.1a 7 February 2011 Removed French custom text inadvertently included in the v8.1.1 mod upgrade
v8.1.1 3 October 2010 Updated to honor line feeds within the Media Description shown as Media Notes. Thanks to Roger Mitchell for reporting
v8.1.0 24 May 2010 Updated for TNG V8
v1.0 26 May 2009 Initial config file release

Automated Install

  1. Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
  2. Extract the media-2_show_table.zip to your admin/mod_folder (V7) or mods (v8 and above).
  3. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the media-2_show_table.cfg.

Note that the media-2_show_table_v1.0.cfg file is part of a series of media display mods where the n in media-n designates the install order of the mods. In TNG V7, if you use Bret Rumsey's Image Viewer it must be installed before this mod.

Custom Text Additions

Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.

The following custom text will be added to your English/cust_text.php file by this mod. If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate translations of course.

TNG V7 and V8

TNG version: 8.1.3
TNG version: 7.0
//Show Table - Ken Roy's mod
$text['mediatitle'] = "Media Title";
$text['medianotes'] = "Media Notes";

For example, you would add to the French/cust_text.php

//Show Table - Ken Roy's mod
$text['mediatitle'] = "Titre de médias";
$text['medianotes'] = "Notes de médias";

TNG V9

TNG version: 9.0
//Show Table - Ken Roy's mod
$text['medianotes'] = "Media Notes";
$text['iptclang'] = "Encoding";

For example, you would add to the French/cust_text.php

//Show Table - Ken Roy's mod
$text['medianotes'] = "Notes de médias";
$text['iptclang'] = "Codage";

Or you can use the language mods in the summary in the upper right corner of this page to add Dutch, French or Spanish custom text additions. Procedure: download, unzip to TNG mods folder, install using Mod Manager. Note that these language mods work for TNG v9 (or higher) only!

TNG V10

TNG version: 10.0
// added for ShowTable Mod - Ken Roy's mod
$text['mediatitle'] = "Media Title";
$text['medianotes'] = "Media Notes";
$text['iptclang'] = "Encoding";
$text['mediabodytext'] = "Body Text";

For example, you would add to the French/cust_text.php

// added for ShowTable Mod - Ken Roy's mod
$text['mediatitle'] = "Titre médias";
$text['medianotes'] = "Notes de médias";
$text['iptclang'] = "Codage";
$text['mediabodytext'] = "Texte Principal";

If you want to add another language please send me the translation (either the texts or as a full language mod) and your name (so I can give you credit) by sending me a personal message using the Contact Developer link in the TNG Mod Summary in the upper right hand corner.

Visualization of Mod

Without this mod, the Media Description shows before the image as shown in the image on the right.

Media Description without ShowTable mod.jpg

With the ShowTable Mod, the Media Description is shown in the table below the image as shown in the image on the right. Notice that the Media Title is also repeated in the table.

Media Description with ShowTable mod.jpg

Related Mods

The following Media mods may be related. The number indicates the install order if you install more than one of these mods:

Sites using this mod

  • Please add TNG site that you have found that utilize this modification
URL User Note Mod-Version TNG-Version User-language
Our Roy and Boucher Family Ken Roy I use this TNG mod for all media collections. 10.1.0.1 12.0.0 EN, FR
Kleinmann Genealogy John Kleinmann 10.1.0.1 12.0.2 EN
Hooley Family Links Rick Hooley Public/Private See Here See Here EN
Arsenault/Simpson Family Website Bob Arsenault Not a public site. Please email me for access. 9.0.0.0 9.1.2 EN
Kemp(e) Family History Andrew Kemp see User:Kempons see User:Kempons EN
Our Family Histories Bryan S. Larson Public - T8 customized see here see here EN
Robison and Blythe Genealogy Jeff Robison Public site. 10.0.0.0 10.0.0 EN
Wortelboer Genealogy Bernard Wortelboer Public site 10.1.0.1 11.0.0 NL, EN
R G Strong Family Genealogy Russell Strong Public site. 10.1.0.1 12.0.1 EN, FR, DE, NL
OurLife Family History - McMullen Clan Sean Thompson Not a public site 10.0.0.1 11.1.0 English
Ancestry of the Brown Family Misty Bearman 10.1.0.1 11.1.1 EN, FR
The Larlee Genealogy Heather Feuerhelm 10.1.0.1 11.1.0 English