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) »
  • Change Non-monetary Contribution status to Pending
Pages: [1]

Author Topic: Change Non-monetary Contribution status to Pending  (Read 928 times)

aspagarino

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 10
  • San Diego Joomla
    • California Center for Sustainable Energy
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7
Change Non-monetary Contribution status to Pending
December 16, 2009, 05:46:19 pm
When someone fill an online form for a non-monetary contribution the status by default is set to "Completed".

Is there any way to change the status to "Pending" instead? We would like to approve the non-monetary contributions on the back end of Civicrm.

Thanks in advance,

Andres
Andres

Open Source is Green

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: Change Non-monetary Contribution status to Pending
December 18, 2009, 03:25:37 am
Currently I don't this it is possible out of box. But I guess you can use hooks to change it to pending.

Kurund
Found this reply helpful? Support CiviCRM

aspagarino

  • I post occasionally
  • **
  • Posts: 89
  • Karma: 10
  • San Diego Joomla
    • California Center for Sustainable Energy
  • CiviCRM version: CiviCRM 4.3
  • CMS version: Drupal 7
Re: Change Non-monetary Contribution status to Pending
December 18, 2009, 09:13:55 am
I will research a little more about the joomla hooks. I am guessing I should use the joomla_civicrm_pre for the contribute id?

The wiki on hooks (http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification) does not have any additional examples but please feel free to point me to the right direction  ;)
Andres

Open Source is Green

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: Change Non-monetary Contribution status to Pending
December 18, 2009, 10:15:32 am
I think you should use post hook: http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmpost

Few examples of hook implementation: http://fisheye2.atlassian.com/browse/~raw,r=25590/CiviCRM/trunk/drupal/civitest.module.sample

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Change Non-monetary Contribution status to Pending

This forum was archived on 2017-11-26.