Difference between revisions of "Admin Reports Floating Editor"
(Created page with "{{construction |notes=This mod is in a beta testing state. I've been using it for a while, in TNGv11.1, but * It needs to be tested on other TNG sites, * I haven't completed...") |
(Text replacement - "robinrichmond.org" to "robinrichmond.com") |
||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{V12_cust_text}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
{{TNGmod | {{TNGmod | ||
| mod_name = Reports-Floating Editor | | mod_name = Reports-Floating Editor | ||
− | | mod_summary = | + | | mod_summary = Modifies the report edit form at Admin>>Reports>>Edit: |
| mod_validation = | | mod_validation = | ||
− | | download_link = | + | | mod_last_update = 25 Oct 2018 |
− | [[Media: | + | | download_link = [[Media:Reports-Floating_Editor_v12.0.0.6.zip|12.0.0.6]]{{Tv120}} |
+ | <div>See the [[#Revision_History|Revision History]]</div> | ||
| download_stats = | | download_stats = | ||
| mod_author = [[User:Robinrichm|Robin Richmond]] | | mod_author = [[User:Robinrichm|Robin Richmond]] | ||
Line 25: | Line 12: | ||
| mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | | mod_contact = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] | ||
| mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | | mod_support = [http://www.robinrichmond.com/family/mod_support.php My Mod Support form] or [http://tng.community/ TNG Community Forums] | ||
− | | mod_version = | + | | mod_version = v12.0.0.06 |
− | | min_TNG_ver = | + | | min_TNG_ver = 12.0 |
− | | max_TNG_ver = at least | + | | max_TNG_ver = at least 12.0.2 |
| TNG_file_list = admin_editreport.php, cust_text.php English | | TNG_file_list = admin_editreport.php, cust_text.php English | ||
| related_mods = [[Show Mod Names]] (optional) | | related_mods = [[Show Mod Names]] (optional) | ||
− | | notes = | + | | 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. | ||
{| style="margin-right:0.5 em;" align="right" | {| style="margin-right:0.5 em;" align="right" | ||
| __TOC__ | | __TOC__ | ||
|} | |} | ||
+ | ==Installation== | ||
+ | This mod uses the standard installation procedure. {{RobinInstallationBoilerplate}} | ||
− | == | + | ==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]]. | |
− | |||
− | This mod saves data that can be used by the [[Show Mod Names]] utility mod, but is '' | ||
==Requirements== | ==Requirements== | ||
Line 52: | Line 42: | ||
* An installed current version of the [[Mod Manager]]. | * An installed current version of the [[Mod Manager]]. | ||
* You should backup files listed in the panel on the right. | * You should backup files listed in the panel on the right. | ||
− | + | ==Automated Installation== | |
− | ==Installation== | ||
# Remove and delete previous version of this mod. | # Remove and delete previous version of this mod. | ||
− | # Backup the files updated by this mod. They are listed in the panel at the upper right. | + | # Backup the files updated by this mod. They are listed in the panel at the upper right. |
− | # Download the .zip file | + | # Download the .zip file. Upload and Extract to the mods folder. |
− | # Follow the normal automated installation for Mod Manager, as shown in the example [[Mod Manager - Installing Config Files]]. | + | # 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 == | == In the event of a problem == | ||
Line 67: | Line 56: | ||
{| border="1" cellspacing="1" cellpadding="2" class="wikitable" | {| border="1" cellspacing="1" cellpadding="2" class="wikitable" | ||
|- | |- | ||
− | | style=" | + | | <span style="color: red">'''BEFORE'''</span> Requires considerable vertical scrolling |
− | [[ | + | | <span style="color: red">'''AFTER'''</span> 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. |
− | + | |- | |
− | | style=" | + | | [[file:floating_report_editor-before.png | 243x666px]] |
− | [[ | + | | style="vertical-align:top;" | [[file:floating_report_editor-after-sql.png]] |
+ | |- | ||
+ | | colspan="2"| <span style="color: red">'''AFTER'''</span> 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. | ||
+ | |- | ||
+ | | colspan="2" | [[file:floating_report_editor-after-builder.png]] | ||
+ | |- | ||
+ | | colspan="2" | <span style="color: red">'''AFTER'''</span> 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. | ||
|- | |- | ||
− | | | + | | colspan="2" | [[file: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 == | ||
{| border="1" cellspacing="1" cellpadding="2" class="wikitable" | {| border="1" cellspacing="1" cellpadding="2" class="wikitable" | ||
− | |- | + | ! Mod Version !! TNG Version !! Date !! Note |
− | + | |- style="vertical-align:top;" | |
− | | [[ | + | |[[Media:Reports-Floating_Editor_v12.0.0.6.zip|12.0.0.6]] |
− | |- | + | | 12.0 - 12.0.2+ |
− | | | + | | 21Dec2018 |
− | + | | - In admin_reports.php, the Add New tab invokes admin_editreport.php<br> | |
− | |- | + | - admin_editreport.php now can start the record from scratch when it is not given a reportID.<br> |
− | + | - made compatible with TNGv12. | |
− | + | |- style="vertical-align:top;" | |
|- | |- | ||
− | | | + | | 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.5a | ||
− | | 11.0.0 | + | | 11.0.0+ |
− | | 29 | + | | 29 May 2017 |
− | | New mod | + | | 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 == | == Sites using this mod == | ||
If you download and install this mod, please add your site to the table below. | If you download and install this mod, please add your site to the table below. | ||
− | |||
{| border="0" cellspacing="1" cellpadding="2" class="wikitable" | {| border="0" cellspacing="1" cellpadding="2" class="wikitable" | ||
|- | |- | ||
Line 124: | Line 113: | ||
| [[User:Robinrichm|Robin Richmond]] | | [[User:Robinrichm|Robin Richmond]] | ||
| Mod developer | | Mod developer | ||
− | | | + | | 11.0.0.5a |
| 11.1 | | 11.1 | ||
| English | | English | ||
+ | |- | ||
+ | | [http://www.wortelboer.tk/ Wortelboer Genealogy] | ||
+ | | [[User:Bernard57|Bernard Wortelboer]] | ||
+ | | | ||
+ | | 11.0.0.4 | ||
+ | | 11.0.0 | ||
+ | | NL/EN | ||
+ | |- | ||
+ | | [http://www.djcm.dk/ DJCM.DK] | ||
+ | | [[User:clausm|Claus Martinussen]] | ||
+ | | | ||
+ | | 11.0.0.4 | ||
+ | | 11.0.0 | ||
+ | | 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 | ||
|} | |} | ||
+ | [[Category:Mods for TNG v12]] | ||
[[Category:Mods for TNG v11]] | [[Category:Mods for TNG v11]] | ||
[[Category:admin_editreport.php mods]] | [[Category:admin_editreport.php mods]] | ||
[[Category:Cust text.php English mods]] | [[Category:Cust text.php English mods]] |
Revision as of 18:52, 5 February 2020
The latest version of this mod uses the 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:
[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
See the Revision History | |
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
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
Problems?
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
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
- Remove and delete previous version of this mod.
- Backup the files updated by this mod. They are listed in the panel at the upper right.
- Download the .zip file. Upload and Extract to the mods folder.
- 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
- Try using the Mod Manager Remove capability
- Contact me through My Mod Support form.
Visualizations
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. |
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.
|
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 |