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 CiviContribute (Moderator: Donald Lobo) »
  • Autotag on Contribution Submittion
Pages: [1]

Author Topic: Autotag on Contribution Submittion  (Read 425 times)

mcgeehon

  • I post occasionally
  • **
  • Posts: 76
  • Karma: 0
  • CiviCRM version: 4.x
  • CMS version: 7.x
  • MySQL version: 5.x
  • PHP version: 5.2.x
Autotag on Contribution Submittion
March 14, 2013, 07:40:38 am

Is there a way to automatically add tags to a contact based on the contribution form that they submit? 

Currently we have some custom fields that we require that the user submit as part of their profile when completing a contribution form.   It would be great if we could add a group of tags to a contact as they submit their contribution, however I am not sure if this is possible.  If not, I will put a request for this in the future request forum.

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: Autotag on Contribution Submittion
March 14, 2013, 09:06:01 am

You can do the "tag" a contact via a hook.

You might also be able to do it via rules integration, but rules integration is fairly basic and you might need to extend this integration

I do think stuff like this should be done as an extension rather than in core

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

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Autotag on Contribution Submittion
March 14, 2013, 09:44:48 am
A somehow similar example: when you tag a contact, it puts it into a group

https://github.com/tttp/tag2group
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Autotag on Contribution Submittion

This forum was archived on 2017-11-26.