Admin Media Edit

From TNG_Wiki
Jump to navigation Jump to search
Admin Media Edit
Summary Tweaks the Edit Media form
Validation
Mod Updated 23 Sep 2023
Download link v14.0.0.4b
TNG 14.0
Download stats
Author(s) Robin Richmond
Homepage Admin Media Edit (This page)
Mod Support My Mod Support form
Contact Developer My Mod Support form
Latest Mod 14.0.0.4b
Min TNG V 13.0
Max TNG V 14.0.3
Files modified
admin_editmedia.php, English cust_text.php
Related Mods
Notes

Purpose of the Mod

To add small conveniences and help messages to the Media Edit form.

  1. Displays the mediaID near the top of the page.
  2. Adds a Save button adjacent to the thumbnail fields
  3. Hides the map unless there are geocoordinates.
  4. Adds a message in the Media Links section heading noting that changes are made immediately.
  5. Initializes two messages that are defined in the native cust_text.php files but that are not properly loaded by in the native PHP/Javascript code.
    1. The entity ID you entered is invalid. No link was created.
    2. A link to the selected entity already exists in this album.

Mod Options

No options.

Compatibility

This mod seems to be compatible with the other mods that modify admin_editmedia.php.

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

  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]

Visualization

Gender row shows below Born row before installation
Before installation

Gender row shows above Born row after installation
After installation

Revision History

Mod Version TNG Versions Date Note
v14.0.0.4b 14 23 Sep 2023 cosmetic updates; logic to handle "Requires Mod Settings Blocks" in the Mod Manager
14.0.0.4a

14.0

27 Feb 2023 Upgrade to TNGv14
v13.0.0.1 13-13.0.2 7 Jan 2021 First published version of the mod

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
Robin Richmond's Genealogy Database Robin Richmond Mod developer 14.0.0.4b 14+ English