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) »
  • Best way to call contribution goal and total to date?
Pages: [1]

Author Topic: Best way to call contribution goal and total to date?  (Read 352 times)

vavroom

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 4
    • Part of a Whole
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Best way to call contribution goal and total to date?
September 15, 2014, 11:16:41 am
Hi,

I want to be able to pull the contribution goal for a campaign, as well as the total received towards that campaign into variables I can use in an HTML page.

I imagine the best way to do this would be to use the API, but having stared at the different available APIs for a couple hours, I'm left unsure which would do the trick!

Any pointer would be greatly appreciated.

Nic

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: Best way to call contribution goal and total to date?
September 15, 2014, 02:47:23 pm

i dont think there are extensive campaign based api's available as yet. So u might need to add some and/or see what you can do with contribution apis

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

vavroom

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 4
    • Part of a Whole
  • CiviCRM version: 4.4.4
  • CMS version: Wordpress
  • MySQL version: 5.6.11
  • PHP version: 5.5.3
Re: Best way to call contribution goal and total to date?
September 15, 2014, 02:49:40 pm
Thanks Donald,

I did look at the contributions APIs, nothing grabbed me as a possible way to do it. Urgh.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Best way to call contribution goal and total to date?
September 15, 2014, 03:04:06 pm
You might also want to investigate civivisualize. That was a GSOC project (following on from work done by Xavier from TTTP) - I don't know exactly how far it goes in that direction but it seems like it might help
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Best way to call contribution goal and total to date?

This forum was archived on 2017-11-26.