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) »
  • Customizing CiviReport - Event Participant Report (List)
Pages: [1]

Author Topic: Customizing CiviReport - Event Participant Report (List)  (Read 1655 times)

goran

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
Customizing CiviReport - Event Participant Report (List)
May 20, 2010, 05:48:01 am
Hi to all!

I had a request to customize the display columns on Event Participant Report (List)

The request was to add
  • phone number,
  • country,
  • job title and
  • organization
to the list of display fields.

It was only necessary to modify CRM/Report/Form/Event/ParticipantListing.php to include these fields in $this->_columns and expanded $this->_from accordingly and everything else worked magically

Now there are two questions since I am new to the CiviReport stack
1) was that the proper way to do it (or I missed something)
2) is this interesting for others (should I open issue, submit diffs, etc)


Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Customizing CiviReport - Event Participant Report (List)
May 21, 2010, 04:07:19 am
goran :


Quote
1) was that the proper way to do it (or I missed something)
Right approach!   :)

Quote
is this interesting for others (should I open issue, submit diffs, etc)

You might wanna improve documentation in wiki with the above example code and may be attach the patch here as well:
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviReport+structure+and+customization

Thanks for contributing back!
-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) »
  • Customizing CiviReport - Event Participant Report (List)

This forum was archived on 2017-11-26.