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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Extending contact demographic information with a custom group
Pages: [1]

Author Topic: Extending contact demographic information with a custom group  (Read 879 times)

muenzer

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
Extending contact demographic information with a custom group
September 06, 2010, 07:34:42 am
I'm trying to implement something similar to this post http://civicrm.org/node/673.  Its a very good tutorial and everything seems to be working as advertised, expect the changes to the custom data are not get saved.  Do I need to add a hook_civicrm_postProcess to set those values, or should it be automatically updating and I missed something.  Thanks.

muenzer

  • I’m new here
  • *
  • Posts: 13
  • Karma: 1
Re: Extending contact demographic information with a custom group
September 06, 2010, 07:54:10 am
Just found this link to the code used for the article: http://svn.civicrm.org/tools/branches/v3.0/drupal/modules/civicrm_canvass/civicrm_canvass.module

So it looks like I do need a hook_civicrm_postProcess

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Extending contact demographic information with a custom group
September 06, 2010, 07:55:04 am
yes, u need to implement the postProcess hook, check:

http://svn.civicrm.org/civicrm/branches/v3.2/drupal/modules/civicrm_engage/civicrm_engage.module

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Extending contact demographic information with a custom group

This forum was archived on 2017-11-26.