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) »
  • Extend hook_civicrm_searchTasks to participants
Pages: [1]

Author Topic: Extend hook_civicrm_searchTasks to participants  (Read 748 times)

grahamgilchrist

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 3
Extend hook_civicrm_searchTasks to participants
July 16, 2010, 07:23:21 am
Sorry, I posted this in another thread (http://forum.civicrm.org/index.php/topic,10709.0.html), but thought it deserved it's own new topic:

The Wiki Docs page (http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmsearchTasks) says that hook_civicrm_searchTasks only works for contact search results at the moment.

Is there any chance of this hook getting added to work with the participant search results too (possibly even for 3.2 *hopes*)?

It would be *really* useful for us. We have a requirement to log activities with the results of a participant search (e.g. all people on one event) which would (I assume) be relatively easy to implement using this hook.

If not, what would you suggest would be a better way? I would happily contribute this code back to civi if I can get it to work :)

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: Extend hook_civicrm_searchTasks to participants
July 19, 2010, 03:11:27 am
You can check how hook_civicrm_searchTasks is integrated with Contact Search Task and try to implement same for other components. We will be happy to integrate your patch.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Extend hook_civicrm_searchTasks to participants

This forum was archived on 2017-11-26.