ShowTable Mod
From TNG Wiki
| ShowTable Mod | |
|---|---|
| Summary | Display the Media Description and Notes in the table below the image. |
| Download link | media-2_show_table_v8.1.0.zip for TNG V8 media-2_show_table_v1.0.zip for TNG V7 |
| Author(s) | Ken Roy |
| Homepage | ShowTable Mod (This page) |
| Mod Support | TNG Forums |
| Latest Mod | 8.1.0 for TNG V8 1.0 for TNG V7 |
| Min TNG V | 7.0.0 |
| Max TNG V | 8.0.0 |
| Files modified | showmedia.php showmedialib.php showmediaxml.php for TNG V7 only showtable_desc-notes.php |
| Related Mods | Media - 1 - Image Viewer Mod (for TNG V7 only) Media - 3 - Body Text for Translation Media - 4 - Tooltip Mod Media - 5 - Image Map Message Mod |
| 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 and Notes 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.
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
Automated Install
- Download the appropriate distribution for your TNG version from the download links in the status area in the upper right.
- Extract the media-2_show_table.zip to your admin/mod_folder (V7) or mods (v8).
- 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.
//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";
Visual of Mod
|
Without this mod, the Media Description shows before the image as shown in the image on the right. |
|
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. |
Related Mods
The following Media mods may be related. The number indicates the install order if you install more than one of these mods:
