CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • How remove/suppress Row(s) Listed at bottom of a report
Pages: [1]

Author Topic: How remove/suppress Row(s) Listed at bottom of a report  (Read 677 times)

sggreener

  • I post occasionally
  • **
  • Posts: 35
  • Karma: 0
    • The SpatialDB Advisor
  • CiviCRM version: 4.6.15
  • CMS version: Joomla 5.5.1
  • MySQL version: 5.6.29
  • PHP version: 5.3.8
How remove/suppress Row(s) Listed at bottom of a report
November 01, 2012, 01:39:35 am
As per the subject.

I have a custom report based on contributions.

At the bottom of the report I get Row(s) Listed X (where X = number of rows found and reported).

Is there any way I can suppress this line either in the PHP or when creating a report from the template?

regards
Simon

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: How remove/suppress Row(s) Listed at bottom of a report
November 01, 2012, 03:40:53 am
sggreener :

You can suppress by commenting out this code:
Code: [Select]
Index: templates/CRM/Report/Form.tpl
===================================================================
--- templates/CRM/Report/Form.tpl (revision 43344)
+++ templates/CRM/Report/Form.tpl (working copy)
@@ -56,7 +56,7 @@
         {include file="CRM/Report/Form/Layout/Table.tpl"}
       <br />
         {*Statistics at the bottom of the page*}
-        {include file="CRM/Report/Form/Statistics.tpl" bottom=true}
+        {*include file="CRM/Report/Form/Statistics.tpl" bottom=true*}
 

Note : This will suppress the Row(s) Listed X from all the reports.
You should do it using the custom template rather than making the changes in the code base.

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • How remove/suppress Row(s) Listed at bottom of a report

This forum was archived on 2017-11-26.