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) »
  • including custom field in report filter
Pages: [1]

Author Topic: including custom field in report filter  (Read 1840 times)

f_ats

  • Guest
including custom field in report filter
July 12, 2010, 08:54:13 pm
Can any body help me to how can I  include a custom field as a filter on a report template. My custom field is a type select and extends Contribute .
« Last Edit: July 13, 2010, 02:49:05 am by f_ats »

sushant

  • I post frequently
  • ***
  • Posts: 126
  • Karma: 8
  • CiviCRM version: v3.2.x,v3.3.x v4.0.x, v4.x,trunk
  • CMS version: Drupal 6/7 ,joomla 1.5,1.6
  • MySQL version: 5.1.51
  • PHP version: 5.3.3
Re: including custom field in report filter
July 13, 2010, 12:23:53 am
Hi,
For this u just need to mark your custom fields as searchable .

Thanks,
Sushant.
CiviCRM Priority Support
http://support.civigardens.com/
http://osseed.com

f_ats

  • Guest
Re: including custom field in report filter
July 13, 2010, 02:55:47 am
Yes I put my custom field searchable, but I didn't have the field in the filters; Also notes that I populate my custom field with civicrm_customFieldOptions hook;
Thanks for you help;

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: including custom field in report filter
July 13, 2010, 05:41:30 am
Have you defined following in your civicrm.settings.php ?

define( 'CIVICRM_REPORT_CONTRIBUTION_CUSTOM_DATA', true ) ;

Kurund
Found this reply helpful? Support CiviCRM

f_ats

  • Guest
Re: including custom field in report filter
July 13, 2010, 08:23:45 am
Please can you help me localise the civicrm.settings.php file ?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: including custom field in report filter
July 13, 2010, 01:13:54 pm
Well it depends on your install. But try in  sites/default/civicrm.settings.php

Kurund
Found this reply helpful? Support CiviCRM

f_ats

  • Guest
Re: including custom field in report filter
July 15, 2010, 01:37:41 am
I localise the file and doing as you recommand, the problem is still remain. I also precise that only the custom field "type select" where I populate with customField hook are not display on the report form filter, but they appears on the list of columm to display.
Thanks for help.
« Last Edit: July 15, 2010, 01:39:51 am by f_ats »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • including custom field in report filter

This forum was archived on 2017-11-26.