Difference between revisions of "Report Rows And Footer"

From TNG_Wiki
Jump to navigation Jump to search
(add visualizations and remove construction banner)
Line 67: Line 67:
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="1" cellspacing="1" cellpadding="2" class="wikitable"
 
|-
 
|-
| style="border:thin solid black;vertical-align:top;" | '''Screen Name <span style="color:  
+
| style="border:thin solid black;vertical-align:top;" | '''showreport.php <span style="color:  
 
red"> BEFORE:</span>'''<br/>
 
red"> BEFORE:</span>'''<br/>
 
[[Image:reports_rows_and_columns-before1.png]]
 
[[Image:reports_rows_and_columns-before1.png]]
 
|-  
 
|-  
| style="border:thin solid black;vertical-align:top;" | ''' Screen Name <span style="color: red"> AFTER:</span>'''<br/>
+
| style="border:thin solid black;vertical-align:top;" | ''' showreport.php <span style="color: red"> AFTER:</span>'''<br/>
 
[[Image:reports_rows_and_columns-after1.png]]
 
[[Image:reports_rows_and_columns-after1.png]]
 
|-
 
|-
| style="border:thin solid black;vertical-align:top;" | '''SQL screen <span style="color: red"> AFTER:</span>'''<br/>
+
| style="border:thin solid black;vertical-align:top;" | '''showreport.php SQL <span style="color: red"> AFTER:</span>'''<br/>
 
[[Image:reports_rows_and_columns-after-sql.png]]
 
[[Image:reports_rows_and_columns-after-sql.png]]
 
|}
 
|}

Revision as of 21:48, 1 July 2017

Reports-Floating results
Summary Adds run-time options for reports to (a) control the number of data rows displayed on a page and (b) provide for multiple side-by-side HTML tables for narrow reports. Also does just a little reformatting.
Validation
Mod Updated {{{mod_last_update}}}
Download link v11.0.0.1
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 11.0.0.1
Min TNG V 11.0
Max TNG V at least 11.1.1
Files modified
showreport.php, cust_text.php English
Related Mods
Notes


Purpose of the Mod

To provide flexibility in the display of TNG reports, adds run-time options for reports to

  1. Control the number of result rows displayed on a page, and
  2. Allow for multiple side-by-side HTML tables, so that more data from narrow reports can be shown on the screen.

The report display program also now

  1. Indents the report description and SQL code for readability.
  2. Doesn't print the report "Description" label if there is no description.
  3. Omits the buttons, form fields, and the page navigation widget from the pretty-print display.
  4. Moves the "Matches i to j of n" message next to the page navigation buttons like most TNG search results.

Mod Parameters

One parameter, $displayCSVLink, determines whether to show the link that downloads a CSV file of the results. Its default is true, which displays that link. This mod effectively implements the functionality of the CSV Reports for Admin only mod, which conflicts with this mod.

Compatibility with other Mods

Among the published mods that change showreport.php, this mod

Related Mods

  • Reports-Floating Editor is similar in that is allows objects on the screen to float side-by-side on wider screens, but it affects only the report editor, whereas this mod affects only showreport.php, which runs reports.
  • 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.

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.

Visualizations

showreport.php BEFORE:

Reports rows and columns-before1.png

showreport.php AFTER:

Reports rows and columns-after1.png

showreport.php SQL AFTER:

Reports rows and columns-after-sql.png

Mod Change History

Mod Version TNG Versions Date Note
11.0.0.1 11.0+ 15-May-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.1 English