Difference between revisions of "Media ShowTable"

From TNG_Wiki
Jump to navigation Jump to search
(Display change.)
(Text update)
 
(8 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
 
| max_TNG_ver    = 14+
 
| max_TNG_ver    = 14+
| 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<br />languages/English/cust_text.php<br />languages/English-UTF8/cust_text.php<br />languages/French/cust_text.php<br />languages/French-UTF8/cust_text.php<br />languages/Dutch/cust_text.php<br />languages/Dutch-UTF8/cust_text.php<br />languages/Spanish/cust_text.php<br />languages/Spanish-UTF8/cust_text.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]]
 
| notes          = This mod should be installed before the [[Body Text for Translation]] if you use both mods<br />Please update your additional language cust_text.php files with translations based upon the [[ShowTable_Mod#Custom_Text_Additions|Custom Text Additions]] for this mod.
 
| notes          = This mod should be installed before the [[Body Text for Translation]] if you use both mods<br />Please update your additional language cust_text.php files with translations based upon the [[ShowTable_Mod#Custom_Text_Additions|Custom Text Additions]] for this mod.
}}
 
 
<!-- Dutch language file name = media-2_show_table_v9.0.0.0_dutch.zip -->
 
<!-- Dutch language file name = media-2_show_table_v9.0.0.0_dutch.zip -->
 
<!-- Dutch language file name = media-2_show_table_v10.0.0.0_dutch.zip -->
 
<!-- Dutch language file name = media-2_show_table_v10.0.0.0_dutch.zip -->
Line 28: Line 27:
 
<!-- Custom Text override file - media-2_show_table_v10.0.0.0_mine.zip -->
 
<!-- Custom Text override file - media-2_show_table_v10.0.0.0_mine.zip -->
 
<!-- Custom Text override file - http://tng.lythgoes.net/wiki/images/c/c0/Media-2b_show_table_v10.0.0.1_mine.zip -->
 
<!-- Custom Text override file - http://tng.lythgoes.net/wiki/images/c/c0/Media-2b_show_table_v10.0.0.1_mine.zip -->
{| style="margin-right:0.5 em;" align="right"  
+
}}{| style="margin-right:0.5 em;" align="right"  
 
| __TOC__
 
| __TOC__
 
|}
 
|}
Line 37: Line 36:
  
 
V8.1.1 of the mod was updated to honor line feeds in the Media Notes row.
 
V8.1.1 of the mod was updated to honor line feeds in the Media Notes row.
 
 
{{TNG 9.0|and after}}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 9.0|and after}}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 10.0|and after}} 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.
 
{{TNG 10.0|and after}} 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 ==
 
== Developer ==
Ken Roy developed this mod.
+
This mod was developed by [[User:Ken Roy|Ken Roy]].
  
 
== Advantages ==
 
== Advantages ==
Line 52: Line 49:
 
* repeats the media header as Media Title in the table  
 
* repeats the media header as Media Title in the table  
  
== Requirements ==
+
==Requirements==
* A backup of the TNG showmedia.php, showmedialib.php, and showmediaxml.php files
+
* A working TNG installation.
* An installed current version of the [[Mod Manager]]
+
* A backup of all affected files (see the list in the summary to the right)
 +
* An installed current version of the [[Mod Manager]].
 +
* Both '''English''' and '''English-UTF8''' folders be on your site
  
 
== Revision History ==
 
== Revision History ==
 
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
{| border="1" cellspacing="5" cellpadding="2" width="75%" class="wikitable"
 
 
|-
 
|-
! Version
+
! Mod Version
 +
! TNG Version
 
! Date
 
! Date
 
! Contents
 
! Contents
|- valign="top"
+
 
| v14.0.0.4
+
|- style="vertical-align:top;"
| style=white-space:nowrap | 30 December 2020
+
| 14.0.0.4
 +
| 14.0
 +
| style=white-space:nowrap|30 Dec 2020
 
|  Updated for TNG  V14
 
|  Updated for TNG  V14
|- valign="top"
+
 
| v13.0.0.2
+
|- style="vertical-align:top;"
| style=white-space:nowrap | 7 October 2020
+
| 13.0.0.2
| Updated for TNG  V13 and includes the following:
+
| 13.0
 +
| style=white-space:nowrap|07 Oct 2020
 +
| Updated for TNG  V13 and includes the following:
 
* uses the TNG v12 [[Mod Guidelines]] for custom text
 
* uses the TNG v12 [[Mod Guidelines]] for custom text
 
* includes the previous language separate mods for Dutch, French, and Spanish
 
* includes the previous language separate mods for Dutch, French, and Spanish
 
* displays Body Text correctly as HTML page if not used with an image
 
* displays Body Text correctly as HTML page if not used with an image
 
* renames the mod to Media ShowTable  
 
* renames the mod to Media ShowTable  
|- valign="top"
+
 
| v10.1.0.1
+
|- style="vertical-align:top;"
| style=white-space:nowrap | 12 January 2015
+
| 10.1.0.1
| Updated for TNG  V10.1 and includes the following:
+
| 10.1
 +
| style=white-space:nowrap|12 Jan 2015
 +
| Updated for TNG  V10.1 and includes the following:
 
* Changed all %trimreplace to %replace
 
* Changed all %trimreplace to %replace
 
* Resolve the conflict with the [[Media - Census Plus International]] mod where both were modifying the function showTable parameter list
 
* Resolve the conflict with the [[Media - Census Plus International]] mod where both were modifying the function showTable parameter list
|- valign="top"
+
 
| v10.0.0.0
+
|- style="vertical-align:top;"
| style=white-space:nowrap | 27 January 2014
+
| 10.0.0.0
| Updated for TNG  V10 and includes the following:
+
| 10.0
 +
| style=white-space:nowrap|27 Jan 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.  
 
* 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.  
 
* Re-added the Media Title row that was dropped in  TNG V9 when the image  title moved below the image.  
Line 90: Line 97:
 
* Also  updated the French  language file that can be downloaded as a mod  add-on.  
 
* 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.
 
* Added a sample custom text override for the Body Text row.
|-
+
 
| V9.0.0.0
+
|- style="vertical-align:top;"
| 9 March 2012
+
| 9.0.0.0
 +
| 9.0
 +
| style=white-space:nowrap|9 Mar 2012
 
| Language Mods added for Dutch and Spanish. Only for TNG v9 (or higher)!
 
| Language Mods added for Dutch and Spanish. Only for TNG v9 (or higher)!
|- valign="top"
+
 
| v9.0.0.0
+
|- style="vertical-align:top;"
| 2 February 2012
+
| 9.0.0.0
 +
| 9.0
 +
| style=white-space:nowrap|02 Feb 2012
 
| Updated for TNG V9 and includes
 
| Updated for TNG V9 and includes
 
* Added an IPTC Encoding row to show the character set encoding of the IPTC tags within the image.  
 
* 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.  
 
* 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.
 
* Also added a French language file that can be downloaded as a mod add-on.
|-
+
 
| v8.1.1a
+
|- style="vertical-align:top;"
| 7 February 2011
+
| 8.1.1a
 +
| 8.1
 +
| style=white-space:nowrap|07 Feb 2011
 
| Removed French custom text inadvertently included in the v8.1.1 mod upgrade
 
| Removed French custom text inadvertently included in the v8.1.1 mod upgrade
|-
+
 
| v8.1.1
+
|- style="vertical-align:top;"
| 3 October 2010
+
| 8.1.1
 +
| 8.1
 +
| style=white-space:nowrap|03 Oct 2010
 
| Updated to honor line feeds within the Media Description shown as Media Notes. Thanks to Roger Mitchell for reporting
 
| Updated to honor line feeds within the Media Description shown as Media Notes. Thanks to Roger Mitchell for reporting
|-
+
 
| v8.1.0
+
|- style="vertical-align:top;"
 +
| 8.1.0
 +
| 8.1
 
| 24 May 2010
 
| 24 May 2010
 
| Updated for TNG V8
 
| Updated for TNG V8
|-
+
 
| v1.0
+
|- style="vertical-align:top;"
| 26 May 2009  
+
| 1.0
 +
|
 +
| style=white-space:nowrap|26 May 2009  
 
| Initial config file release.  Note that there are two different flavors of this mod:
 
| Initial config file release.  Note that there are two different flavors of this mod:
 
* one to be installed when not using Bret Rumsey's [[Image Viewer Mod]]
 
* one to be installed when not using Bret Rumsey's [[Image Viewer Mod]]
Line 121: Line 140:
 
|}
 
|}
  
== Automated Install ==
+
== Conflicts and Issues ==
# Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
+
{{TNG 7.1.3|and before}}{{TNG 7.0|and after}}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.
# Extract the media-2_show_table.zip to your '''admin/mod_folder (V7)''' or '''mods (v8 and above)'''.
+
 
# 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'''.
+
== Installation ==
 +
# Uninstall and delete previous version of this mod (if installed)
 +
# Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
 +
# Extract the file from the downloaded zip file into the '''mods''' folder or FTP the extracted file to your mods folder.
 +
# Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]] to install the mod.
  
{{TNG 7.1.3|and before}}{{TNG 7.0|and after}}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.
+
== In the event of a problem ==
 +
* Try using the [[Mod_Manager_-_Installing_Config_Files#Remove_Mod_Steps|Mod Manager Remove]] capability.
 +
* Copy the backup of the affected files back to your TNG  directory.
 +
* Retry installing mod.
 +
* Contact us through the [https://tng.community/index.php?/forums/forum/21-addons/ TNG Community Forums].
  
== Custom Text Additions ==  
+
== Uninstalling the mod ==
'''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.
+
If  you want to completely '''Remove''' (uninstall) this mod and all its tables, you should
 +
# click the '''Uninstall''' button to uninstall the mod
 +
# click the '''Delete''' button to delete the config file from the mods folder.
  
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.
+
== Upgrade ==
 +
*Uninstall and eventually Delete the current Mod.
 +
*Proceed as for an installation with the new Mod.
  
 +
==Languages==
 +
Translations for Dutch, French, English and Spanish text included from TNG 10.1.
 +
If you want to use it with a different language, add the correct text (between double quotes) in the code below and add to your cust_text.php file in the appropriate language folder.
 
=== TNG V7 and V8 ===
 
=== TNG V7 and V8 ===
 
{{TNG 8.1.3|and before}}{{TNG 7.0|and after}}
 
{{TNG 8.1.3|and before}}{{TNG 7.0|and after}}
Line 165: Line 199:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
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!
+
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 V10 ===
Line 187: Line 221:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
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 ==
 
== Visualization of Mod ==
  
Line 211: Line 244:
  
 
== Sites using this mod ==
 
== Sites using this mod ==
*Please add TNG site that you have found that utilize this modification
+
If you download and install this mod, please add your TNG site to the table below:
  
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
+
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" width="100%"
 
|-
 
|-
 
! URL
 
! URL
Line 221: Line 254:
 
! TNG-Version
 
! TNG-Version
 
! User-language
 
! User-language
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.royandboucher.com/tng/showmedia.php?mediaID=13 Our Roy and Boucher Family]
 
| [https://www.royandboucher.com/tng/showmedia.php?mediaID=13 Our Roy and Boucher Family]
| [[User:Ken Roy|Ken Roy]]
+
| style="white-space: nowrap;"|[[User:Ken Roy|Ken Roy]]
 
| I use this TNG mod for all media collections.  
 
| I use this TNG mod for all media collections.  
 
| 14.0.0.4
 
| 14.0.0.4
 
| {{Tv1404}}
 
| {{Tv1404}}
| EN, FR
+
| EN,FR
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.kleinmanngenealogy.com Kleinmann Genealogy]
 
| [http://www.kleinmanngenealogy.com Kleinmann Genealogy]
| [[User:laxref93|John Kleinmann]]
+
| style="white-space: nowrap;"|[[User:laxref93|John Kleinmann]]
 
|   
 
|   
 
| 14.0.0.4
 
| 14.0.0.4
 
| 14.0
 
| 14.0
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
 
| [http://genealogy.oceanwharf.com Hooley Family Links]
| [[User: lastejas|Rick Hooley]]
+
| style="white-space: nowrap;"|[[User: lastejas|Rick Hooley]]
 
| Public/Private
 
| Public/Private
 
| [[User: lastejas|See Here]]
 
| [[User: lastejas|See Here]]
 
| [[User: lastejas|See Here]]
 
| [[User: lastejas|See Here]]
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.arsenaultfamily.com/ Arsenault/Simpson Family Website]
 
| [http://www.arsenaultfamily.com/ Arsenault/Simpson Family Website]
| [[User:BobA|Bob Arsenault]]
+
| style="white-space: nowrap;"|[[User:BobA|Bob Arsenault]]
 
| Not a public site.  Please email me for access.  
 
| Not a public site.  Please email me for access.  
 
| 9.0.0.0
 
| 9.0.0.0
 
| 9.1.2
 
| 9.1.2
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.kempfamilyhistory.com  Kemp(e) Family History]
 
| [http://www.kempfamilyhistory.com  Kemp(e) Family History]
| [[User:Kempons|Andrew Kemp]]
+
| style="white-space: nowrap;"|[[User:Kempons|Andrew Kemp]]
 
|  
 
|  
 
| see [[User:Kempons]]
 
| see [[User:Kempons]]
 
| see [[User:Kempons]]
 
| see [[User:Kempons]]
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.ourfamilyhistories.org Our Family Histories]
 
| [https://www.ourfamilyhistories.org Our Family Histories]
| [[User:Bsl20b50|Bryan S. Larson]]
+
| style="white-space: nowrap;"|[[User:Bsl20b50|Bryan S. Larson]]
 
| Public - T8 customized
 
| Public - T8 customized
 
| [[User:Bsl20b50|see here]]
 
| [[User:Bsl20b50|see here]]
 
| [[User:Bsl20b50|see here]]
 
| [[User:Bsl20b50|see here]]
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.robisonandblythe.org/ Robison and Blythe Genealogy]
 
| [http://www.robisonandblythe.org/ Robison and Blythe Genealogy]
| [[User:jefr58|Jeff Robison]]
+
| style="white-space: nowrap;"|[[User:jefr58|Jeff Robison]]
 
| Public site.  
 
| Public site.  
 
| 10.0.0.0
 
| 10.0.0.0
 
| 10.0.0
 
| 10.0.0
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
 
| [http://www.wortelboer.tk Wortelboer Genealogy]  
| [[User:Bernard57|Bernard Wortelboer]]
+
| style="white-space: nowrap;"|[[User:Bernard57|Bernard Wortelboer]]
 
| Public site
 
| Public site
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.0.0
 
| 11.0.0
| NL, EN
+
| NL,EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.rgstrong-genes.com/ R G Strong Family Genealogy]
 
| [https://www.rgstrong-genes.com/ R G Strong Family Genealogy]
| [[User:Rgstrong|Russell Strong]]
+
| style="white-space: nowrap;"|[[User:Rgstrong|Russell Strong]]
 
| Public site.
 
| Public site.
 
| 14.0.0.4
 
| 14.0.0.4
 
| 14.0.4
 
| 14.0.4
|EN, FR, DE, NL
+
| EN,FR,DE,NL
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
 
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
| [[User:Seanst|Sean Thompson]]
+
| style="white-space: nowrap;"|[[User:Seanst|Sean Thompson]]
 
| Not a public site
 
| Not a public site
 
| 10.0.0.1
 
| 10.0.0.1
 
| 11.1.0
 
| 11.1.0
| English
+
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [http://www.brownlineage.com/showmedia.php?mediaID=12 Ancestry of the Brown Family]
 
| [http://www.brownlineage.com/showmedia.php?mediaID=12 Ancestry of the Brown Family]
| [[User:MistyBrown79|Misty Bearman]]
+
| style="white-space: nowrap;"|[[User:MistyBrown79|Misty Bearman]]
 
|   
 
|   
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1.1
 
| 11.1.1
| EN, FR
+
| EN,FR
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.larleegenealogy.org The Larlee Genealogy]
 
| [https://www.larleegenealogy.org The Larlee Genealogy]
| [[User:HeatherFeuer|Heather Feuerhelm]]
+
| style="white-space: nowrap;"|[[User:HeatherFeuer|Heather Feuerhelm]]
 
|  
 
|  
 
| 10.1.0.1
 
| 10.1.0.1
 
| 11.1.0
 
| 11.1.0
| English
+
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
 
| [https://www.josephoranholtz.com/ Joseph Oran Holtz Genealogy Pages]
| [[User:Stores|Jim Holt]]
+
| style="white-space: nowrap;"|[[User:Stores|Jim Holt]]
 
| Private
 
| Private
 
| [[User:Stores|See Here]]
 
| [[User:Stores|See Here]]
 
| [[User:Stores|See Here]]
 
| [[User:Stores|See Here]]
 
| EN
 
| EN
|-
+
 
 +
|- style="vertical-align:top;"
 
|[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel]
 
|[https://huygens-vandemoortel-ancestry.be/ Huygens - Van de Moortel]
|[[User:Fluffy82|Tom Huygens]]
+
| style="white-space: nowrap;"|[[User:Fluffy82|Tom Huygens]]
 
|Public/Private on WordPress
 
|Public/Private on WordPress
 
|13.1.0.0
 
|13.1.0.0
 
|13.1.2
 
|13.1.2
 
|NL
 
|NL
|-
+
 
 +
|- style="vertical-align:top;"
 
| [https://clan.chauvigne.info/ GeneaKat]
 
| [https://clan.chauvigne.info/ GeneaKat]
| [[User:Katryne|Katryne Chauvigné-Bourlaud]]
+
| style="white-space: nowrap;"|[[User:Katryne|Katryne Chauvigné-Bourlaud]]
 
| Private except for the stats and some pages
 
| Private except for the stats and some pages
 
| 12.0.0.9  
 
| 12.0.0.9  
 
| 13.1.1
 
| 13.1.1
 
| FR,EN,PT,IT,SP
 
| FR,EN,PT,IT,SP
|-
 
 
|}
 
|}
  

Latest revision as of 01:34, 1 May 2024

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


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


Media ShowTable
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 30 Dec 2022
Download link For
TNG 14.0
media_show_table_v14.0.0.4.zip
For
TNG 13.0
media_show_table_v13.0.0.2.zip
V13.0.0.2 includes previous language mods
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
For
TNG 9.0
media-2_show_table_v9.0.0.0.zip
Dutch language file
French language file
Spanish language file
For
TNG 8.0
media-2_show_table_v8.1.1a.zip
For
TNG 7.0
media-2_show_table_v1.0.zip
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 Media ShowTable (This page)
Mod Support TNG Community Forums
Contact Developer TNG Community Forums
Latest Mod 13.0.0.2 for TNG V13+
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 14+
Files modified
showmedia.php
showmedialib.php
showmediaxml.php for TNG V7 only
showtable_desc-notes.php
languages/English/cust_text.php
languages/English-UTF8/cust_text.php
languages/French/cust_text.php
languages/French-UTF8/cust_text.php
languages/Dutch/cust_text.php
languages/Dutch-UTF8/cust_text.php
languages/Spanish/cust_text.php
languages/Spanish-UTF8/cust_text.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

This mod was developed by Ken Roy.

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 working TNG installation.
  • A backup of all affected files (see the list in the summary to the right)
  • An installed current version of the Mod Manager.
  • Both English and English-UTF8 folders be on your site

Revision History

Mod Version TNG Version Date Contents
14.0.0.4 14.0 30 Dec 2020 Updated for TNG V14
13.0.0.2 13.0 07 Oct 2020 Updated for TNG V13 and includes the following:
  • uses the TNG v12 Mod Guidelines for custom text
  • includes the previous language separate mods for Dutch, French, and Spanish
  • displays Body Text correctly as HTML page if not used with an image
  • renames the mod to Media ShowTable
10.1.0.1 10.1 12 Jan 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
10.0.0.0 10.0 27 Jan 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.
9.0.0.0 9.0 9 Mar 2012 Language Mods added for Dutch and Spanish. Only for TNG v9 (or higher)!
9.0.0.0 9.0 02 Feb 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.
8.1.1a 8.1 07 Feb 2011 Removed French custom text inadvertently included in the v8.1.1 mod upgrade
8.1.1 8.1 03 Oct 2010 Updated to honor line feeds within the Media Description shown as Media Notes. Thanks to Roger Mitchell for reporting
8.1.0 8.1 24 May 2010 Updated for TNG V8
1.0 26 May 2009 Initial config file release. 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

Conflicts and Issues

TNG version: 7.1.3
TNG version: 7.0

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.

Installation

  1. Uninstall and delete previous version of this mod (if installed)
  2. Download the appropriate zip file as shown in the mod summary in the upper right corner of the page.
  3. Extract the file from the downloaded zip file into the mods folder or FTP the extracted file to your mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the mod.

In the event of a problem

Uninstalling the mod

If you want to completely Remove (uninstall) this mod and all its tables, you should

  1. click the Uninstall button to uninstall the mod
  2. click the Delete button to delete the config file from the mods folder.

Upgrade

  • Uninstall and eventually Delete the current Mod.
  • Proceed as for an installation with the new Mod.

Languages

Translations for Dutch, French, English and Spanish text included from TNG 10.1. If you want to use it with a different language, add the correct text (between double quotes) in the code below and add to your cust_text.php file in the appropriate language folder.

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";

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

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
Our Roy and Boucher Family Ken Roy I use this TNG mod for all media collections. 14.0.0.4
TNG 14.0.4
EN,FR
Kleinmann Genealogy John Kleinmann 14.0.0.4 14.0 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. 14.0.0.4 14.0.4 EN,FR,DE,NL
OurLife Family History - McMullen Clan Sean Thompson Not a public site 10.0.0.1 11.1.0 EN
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 EN
Joseph Oran Holtz Genealogy Pages Jim Holt Private See Here See Here EN
Huygens - Van de Moortel Tom Huygens Public/Private on WordPress 13.1.0.0 13.1.2 NL
GeneaKat Katryne Chauvigné-Bourlaud Private except for the stats and some pages 12.0.0.9 13.1.1 FR,EN,PT,IT,SP