Reports-Floating Editor

From TNG_Wiki
Revision as of 01:07, 30 September 2018 by Rmcrae (talk | contribs) (Added my TNGv22 cust_text.php upgrade template)

Jump to: navigation, search

Template:RobinV12 cust text update

Reports-Floating Editor
Summary Moves blocks of fields in admin_editreport so they can float side-by side, so the form is easier to see and use on a wide screen. They float above-and-below on narrower screens.
Mod Updated 07 Nov 2017
Download link For
TNG 11.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
Max TNG V at least 11.1.2
Files modified
admin_editreport.php, cust_text.php English
Related Mods
Show Mod Names (optional)

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.


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


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.


  • 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.


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


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 Versions Date Note 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+ 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.1 English
Wortelboer Genealogy Bernard Wortelboer 11.0.0 NL/EN
DJCM.DK Claus Martinussen 11.0.0 Danish, English
Martius family Hendrik Martius Half public 12.0.1 DE, EN, FR, NL