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) »
  • Method to include gender and birthdate data in reports
Pages: [1]

Author Topic: Method to include gender and birthdate data in reports  (Read 529 times)

nant

  • I post frequently
  • ***
  • Posts: 143
  • Karma: 4
    • Joomlapolis
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5.11
  • MySQL version: 5
  • PHP version: 5.3
Method to include gender and birthdate data in reports
October 30, 2013, 04:32:28 am
I am trying to generate a data feed in order to analyze the demographics of individual contacts.

None of the built-in reports seem to include the gender and birthdate core fields.

Is there some way to quickly add these fields to existing reports?
--
Nick (aka nant from CB Team)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Method to include gender and birthdate data in reports
November 14, 2013, 11:47:11 pm
Yes, edit the .php file for each report, create a 'custom version' (see below) of these files in a custom code directory.    Add the fields you mention in the Contact section of the report .php file.

Quote
    Create a new directory under your webroot (or anywhere readable by www-data) where you will place your custom template files.
        EX: /var/www/civicrm_custom
        EX: /var/www/media/civicrm/customtpl/
    Login to CiviCRM with administer CiviCRM permissions and navigate to Administer CiviCRM » Global Settings » Directories (in newer versions this is Administer » System settings » Directories)
    Enter the full path to your custom templates directory in the Custom Templates field and save your changes.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviReport (Moderator: Dave Greenberg) »
  • Method to include gender and birthdate data in reports

This forum was archived on 2017-11-26.