Reports-Floating Editor

From TNG_Wiki
Jump to: navigation, search

In TNGv12 and beyond, this mod uses the new 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]


Reports-Floating Editor
Summary Modifies the report edit form at Admin>>Reports>>Edit:
Validation
Mod Updated 25 Oct 2018
Download link 12.0.0.6
TNG 12.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 v12.0.0.06
Min TNG V 12.0
Max TNG V at least 12.0.2
Files modified
admin_editreport.php, cust_text.php English
Related Mods
Show Mod Names (optional)
Notes

Purpose of the Mod

To improve the usability of the Report Editor by hiding blocks of fields as appropriate, and allowing blocks of fields to float side-by side on a wide screen.

Installation

This mod uses the standard installation procedure. [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]

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Conflicts

No conflicts. No other published mods target the Report Editor.

Related Mods

  • Admin Reports List modifies admin_reports.php, which calls admin_editreport.php, which is modified by this mod. Admin Reports List affects admin_editreport.php by changing the way that new reports are created.
  • This mod saves data that can be used by the Show Mod Names utility mod, but is not dependent on Show Mod Names.

Requirements

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

Automated 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. Upload and Extract to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install.

In the event of a problem

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

Visualizations

BEFORE Requires considerable vertical scrolling AFTER If the report has a SQL statement and no report-builder field values, the report-builder-fields are hidden. Note the message and button in the enlarged inset.
Floating report editor-before.png Floating report editor-after-sql.png
AFTER If the report has report-builder field values and no SQL statement, the SQL statement field is hidden. This visualization is on a screen wide enough for the three report-builder fieldsets to float side-by-side. Note the message and button in the enlarged inset.
Floating report editor-after-builder.png
AFTER If the report is empty or has report-builder field values AND a SQL statement. This visualization is on a screen only wide enough for two fieldsets to float side-by-side. A narrower screen would look like the BEFORE visualization. Note the message and button in the enlarged inset.
Floating report editor-after-2x2.png

Issues

With Mozilla Firefox, at certain browser widths, and when all 4 fieldsets are displayed, the direct SQL entry field can float to the right and part-way off the screen. This can be corrected by hiding the SQL field, or the report-builder fields, or by adjusting the width of the screen.

Revision History

Mod Version TNG Version Date Note
12.0.0.6 12.0 - 12.0.2+ 21Dec2018 - In admin_reports.php, the Add New tab invokes admin_editreport.php

- admin_editreport.php now can start the record from scratch when it is not given a reportID.
- made compatible with TNGv12.

11.0.0.5p 10.1.0-11.1.2+ 07 Nov 2017 Removed the second line from the cust_text.php target location search string
11.0.0.5a 11.0.0+ 29 May 2017 New name; See Floating Report Editor for older history.
  • Wrapped "save as copy" checkbox in a no-word-wrap label element - thus both keeping it from wrapping, and allowing a click on the text to check the box
  • Added a "Run Report" button that does the the same as the "test" button in the search results table in admin_reports.php; that is, it launches showreport.php in a new window.
  • The Display Mod Names mod is now optional

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 11.0.0.5a 11.1 English
Wortelboer Genealogy Bernard Wortelboer 11.0.0.4 11.0.0 NL/EN
DJCM.DK Claus Martinussen 11.0.0.4 11.0.0 Danish, English
Martius family Hendrik Martius Half public 11.0.0.5p 12.0.1 DE, EN, FR, NL