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 Drupal Modules »
  • Drupal Webform Integration »
  • Adding custom API to Webform CiviCRM
Pages: [1]

Author Topic: Adding custom API to Webform CiviCRM  (Read 969 times)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Adding custom API to Webform CiviCRM
April 16, 2014, 03:30:23 am
Is it possible to add custom CiviCRM API's to the Webform CiviCRM integration? If not, what would be a good place to insert a hook?
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Adding custom API to Webform CiviCRM
April 16, 2014, 10:23:08 am
Well this idea never gathered enough interest to become real, but your question seems like a use-case for
http://forum.civicrm.org/index.php/topic,22304.msg93448.html#msg93448
Try asking your question on the new CiviCRM help site.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Adding custom API to Webform CiviCRM
April 16, 2014, 11:33:08 am
It is indeed  :) Forgotten all about that discussion when we were still kids....
I will talk it over with jaapjansma but I reckon we are going to do something like that. Don't know yet if the mechanism to do 'any' is the answer, we might for now just include some hooks that allow us to add data and an api call. Will keep you posted!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

jaapjansma

  • I post frequently
  • ***
  • Posts: 247
  • Karma: 9
    • CiviCoop
  • CiviCRM version: 4.4.2
  • CMS version: Drupal 7
  • MySQL version: 5
  • PHP version: 5.4
Re: Adding custom API to Webform CiviCRM
April 17, 2014, 01:05:39 am
ehm, I have been working yesterday on the adding of the File uploader for custom fields which have the type file. I am almost there. But I haven't build in any hooks. We have a fork of the drupalcode on github https://github.com/CiviCooP/webform_civicrm with a branch with our changes 7.x-4.x-pum
So probably we will have to pass the change back to you Coleman.
Developer at Edeveloper / CiviCoop

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Adding custom API to Webform CiviCRM
April 17, 2014, 07:40:25 am
Re. hooks: I've looked into that before but it always seems that the use-cases are satisfied by existing hooks. Remember you've already got webform hooks, drupal fapi hooks, and civicrm pre and post hooks firing on every webform submission.
Try asking your question on the new CiviCRM help site.

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Adding custom API to Webform CiviCRM
April 18, 2014, 10:06:25 am
true enough, that should be enough for me :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules »
  • Drupal Webform Integration »
  • Adding custom API to Webform CiviCRM

This forum was archived on 2017-11-26.