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 CiviEvent (Moderator: Yashodha Chaku) »
  • Hook with another component via plugin
Pages: [1]

Author Topic: Hook with another component via plugin  (Read 465 times)

Mattlab

  • I’m new here
  • *
  • Posts: 26
  • Karma: 1
  • CiviCRM version: 1
  • CMS version: joomla
  • MySQL version: 4
  • PHP version: 4
Hook with another component via plugin
December 26, 2011, 01:50:52 pm
Hi,

So is it possible to use another Joomla component to manage Events and then at a certain part in the process to send updates to the CiviEvent system?

For example, I am interested in using DTRegister to manage my event (one option I am considering) as it is more powerful that Civi. I can create all the fields, etc on it and then when a user clicks submit I want it to send various info to CiviCRM so that I can track a user as registered for an event in Civi too and update any necessary civi database fields.

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: Hook with another component via plugin
December 26, 2011, 05:40:31 pm

yes, you should be able to use the CiviCRM API to add a participant and its associated data to an existing event

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

Mattlab

  • I’m new here
  • *
  • Posts: 26
  • Karma: 1
  • CiviCRM version: 1
  • CMS version: joomla
  • MySQL version: 4
  • PHP version: 4
Re: Hook with another component via plugin
December 26, 2011, 06:40:38 pm
Hmm interesting so this might be a good way to do event registration if I find that CiviEvents isn't powerful enough. I guess I will see what happens when it gets to the point where I have to test this out.

Mattlab

  • I’m new here
  • *
  • Posts: 26
  • Karma: 1
  • CiviCRM version: 1
  • CMS version: joomla
  • MySQL version: 4
  • PHP version: 4
Re: Hook with another component via plugin
December 26, 2011, 06:56:29 pm
So I would program something like this right http://svn.civicrm.org/civicrm/trunk/api/v3/examples/EventUpdate.php basically using that and the API and then linking it all together.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Hook with another component via plugin

This forum was archived on 2017-11-26.