Difference between revisions of "Admin Reports Floating Editor"

From TNG_Wiki
Jump to navigation Jump to search
(revised 11.0.0.5p. Added new section mod_last_update)
(site using mod)
Line 126: Line 126:
 
| 11.0.0
 
| 11.0.0
 
| Danish, English
 
| Danish, English
 +
|-
 +
| [https://www.martius-familie.de/ Martius family]
 +
| [[User:Hemar|Hendrik Martius]]
 +
| Half public
 +
| 11.0.0.5p
 +
| 12.0.1
 +
| DE, EN, FR, NL
 
|}
 
|}
  

Revision as of 14:34, 12 June 2018

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.
Validation
Mod Updated 07 Nov 2017
Download link For
TNG 11.0
reports-floating_editor_v11.0.0.5p.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 11.0.0.5p
Min TNG V 11.0.0.5p
Max TNG V at least 11.1.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.

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 Versions Date Note
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