Cemetery Map and Images

From TNG_Wiki
(Redirected from Cemetery Map And Image)
Jump to: navigation, search

Formerly "Cemetery Map And Image"

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 13.0
TNG 12.0


Cemetery Map and Images
Summary This mod reduces some noise on the Cemetery Details page by removing the cemetery notes from the map pin balloon, and by reducing the size of the cemetery map image.
Validation
Mod Updated 19 Oct 2020
Download link v13.0.0.1b
TNG 13.0
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 13.0.0.1b
Min TNG V 13.0
Max TNG V 13.0.1
Files modified
showmap.php, English cust_text.php
Related Mods
Notes
Was spun off from Cemetery Burials Table


Purpose of the Mod

To simplify the contents of the Cemetery Details page, showmap.php. It

  • Omits the cemetery notes from the map pin balloon, since the notes don't fit well in the balloon, and are already visible on the page, and
  • Scales down large cemetery "map" images.
(TNG refers to the main cemetery image as a "map", meaning a map of the cemetery, but a photo of the cemetery is often used.)
  • Removes the titlebox around the Edit Cemetery button when that button is the only element in the titlebox; that is, where there is no map photo or note.

Mod Options

none

Other Mods

Related Mods

  1. The optional mod Inner Mod Menus displays an "Inner Mod Menu" in the TNG "inner menu" (just below the tab menu). The Inner Mod Menu is defined by this mod but is visible only if Inner Mod Menus is installed. It is also visible only to TNG administrators; never to end-users. I highly recommend that you install the Inner Mod Menus mod because Inner Mod Menus provide links to handy information - particularly to the mod settings blocks for this mod's options.
  2. This mod gathers data that can be used by the optional mod Show Mod Names, but there is no dependency on Show Mod Names
  3. This mod was spun off from Cemetery Burials Table, starting with Cemetery Burials Table version 17, to remove conflicts between Cemetery Burials Table v16 and [[couple of other mods. Those conflicts now exist with this mod.

Compatibility

Installation

This map uses the normal installation process, and does not have a mod subfolder. It has a few language strings that are placed in cust_text.php files.

[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

The map pin balloon in showmap.php, before installation

Note that the small text box in the balloon can't hold the whole note, and wraps all text, and the full, cleanly formatted note is on the page below the map. Cemetery photo-before-notes.jpg

The map pin balloon in showmap.php, after installation

Cemetery photo-after-notes.jpg

The Cemetery "map" image, before installation

A large image either doesn't fit in the window or enlarges the browser window (depending on your browser), and definitely takes up too much space on the page. The tiny text reveals the scale of this screenshot, from a web browser whose window was expanded by the large image.
Cemetery photo-before-photo.jpg

The map pin balloon in showmap.php, after installation

This screen shot is at a normal scale, with a resonably small image, and a "Full Size" button that, of course, enlarges the image. A "Make Photo Smaller" button would be placed next to or below the full-size image.
Cemetery photo-after-photo.jpg

  • showmap.php is changed by Cemetery Burials Table, Cemetery Map and Images, and Headstones Report, so the Inner Mod Menu lists all three mods.
  • The screenshot shows the popup box that is generated by clicking on the "What has changed" link below "Cemetery Map and Images"
  • Note that the native showmap.php does not have an "Inner Menu"; the Inner Menu has been added by the mod specifically to accommodate the Inner Mod Menu.
  • The Inner Menu and Inner Mod Menu are visible only to site administrators.
Cemetery photo-imm.jpg

Revision History

Mod Version TNG Version Date Note
Cemetery Map and Images v13.0.0.1b 13 10Nov2020 No functional changes.
  • Fixed the %wikipage tag so users can link from the Mod Manager to the Wiki Article.
  • Changed the mod name. It's a long story.
Cemetery Map And Image v13.0.0.1a 13 31Oct2020 A small step to reduce vertical scrolling - Removed the TNG "titlebox" wrapper around the "Edit Cemetery" button when there is no map and no notes.
13.0.0.1 13 19Oct2020 Initial release; spun off from Cemetery Burials Table

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 13.0.0.1a 13 English