Headstones Report

From TNG_Wiki
Revision as of 00:46, 13 April 2017 by Robinrichm (talk | contribs)

Jump to: navigation, search
Construction This mod is in a beta testing state. I've been using it for a while, but
  • It needs to be tested on other TNG sites,
  • I haven't completed the description below, and
  • I haven't created the visualizations this article needs

In truth, I have over 40 new and updated mods in this state, and I'd appreciate whatever help that anyone can offer. So it would be great if you could download the mod, test it, and let me know how it works for you. And if you're up for it, screenshots from before the mod was installed and after (annotated or not) would be a great help. You're welcome to insert in the article, or just email them to me. My email username is 'mail, and my email domain is robinrichmond.com.

Thanks in advance. Robin Richmond 19:45, 2 April 2017 (CDT)

Construction


Headstones Report
Summary Updates the list of cemeteries in the end-user Cemetery report, and in the showmap.php, which is called from the end-user Cemetery Report as well as from the places detail report.
Validation
Mod Updated {{{mod_last_update}}}
Download link For
TNG 11.0
headstones_report_v11.0.0.1.zip
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 v11.0.0.1
Min TNG V 11.0
Max TNG V 11.0.2
Files modified
headstones.php, showmap.php, cust_text.php English, languages/Dutch/cust_text.php, languages/Norwegian/cust_text.php
Related Mods
Notes


Purpose of the Mod

Affects the list of cemeteries in headstones.php, and the Headstone Photos Table in headstones.php and showmap.php. In both programs, it

  • Provides a mod parameter to control the display of the Headstone Photos table.

In headstones.php, it:

  • Formats the list of cemeteries differently,
  • Adds the burial count (and possibly a show/hide Headstones button) for each cemetery,
  • Removes Headstone Photos column headings if there are no photos to display.</li>
  • Displays "a to b of c items" before the page navigation widgets for both Cemeteries and Headstones.
  • Provides a mod parameter to change the number of Cemeteries displayed on the page.

This mod is primarily, but not exclusively, for sites that don't track headstones

Parameters

  • In headstones.php - $headstonesButtonControl provides options that let you
    1. Never display the headstones table.
    2. Hide it behind a button.
    3. Show it, with a button that would hide it.
    4. Always show it, without a button
  • Also in headstones.php - $cemeteriesPerPage determines how many cemeteries will be listed on one screen (one web page). The "pristine" TNG code only provides for 5 cemeteries, but that value is driven by the likelihood that each cemetery will include headstone listings. If you don't track (or don't display) headstone records, then you can raise that value considerably.
  1. In showmap.php - $headstonesTableParam does the same thing for showmap.php that the $headstonesButtonControl parameter does for headstones.php.

Mod Dependencies

This mod saves data that can be used by the Show Mod Names utility mod, but is not dependent on that mod. I know of no dependencies on other mods.

Compatibility with other Mods

No known incompatibilities, but please let me know if you encounter any.

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.
  • You should backup files listed in the panel on the right.

Installation

  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, and 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.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.

Visualization of this Mod

XXX BEFORE: XXX
File:XXX-file name prefix-XXX-before.png
XXX AFTER:
XXX

File:XXX-file name prefix-after.png

Note that ... XXX
XXX BEFORE:
XXX Note that...

File:XXX-file name prefix-XXX-before2.png

Mod Change History

Mod Version TNG Versions Date Note
11.0.0.1 11.1 2 Apr 2017 New mod.

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 v11.0.0.1 11.1 English