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) »
  • Contribution Widget
Pages: [1]

Author Topic: Contribution Widget  (Read 1011 times)

podfish

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
Contribution Widget
September 08, 2011, 12:05:05 pm
I didn't find any Contribution Widget update information here--the new contribution widget is pretty slick, and is a little bit more presentable than the old 2-tabbed version.

I was trying to find the widget code so could change the contribution total query to include "pending" transactions, as that fits our need better.

Older posts reference the old civicrm/CRM/Widget/Widget.php script, but it is deprecated and has not been removed from the code tree.

The new script for the widget lives in civicrm/CRM/Contribute/BAO/Widget.php, and any changes you need to make in the query can be found here.

I hope this helps someone.

Where would I post a bug report to remove this code?  And (for pity's sake) the long-deprecated flash code?

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: Contribution Widget
September 10, 2011, 12:32:45 pm
Quote
I was trying to find the widget code so could change the contribution total query to include "pending" transactions, as that fits our need better.
I think extending contribution widget with the ability to pass status / filter on status will be great addition. Currently it shows only completed contributions.
So ideally you should be able to pass statuses.

Quote
Where would I post a bug report to remove this code?  And (for pity's sake) the long-deprecated flash code?
Go ahead and file an issue to remove old widget code.

Kurund
Found this reply helpful? Support CiviCRM

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: Contribution Widget
December 07, 2012, 03:14:54 pm
Hi Kurund,

Is there a way to do this? I'd like to see the pledges be counted in the progress thermometer.

Cheers,

Tobias
Kabissa - Space for Change in Africa http://kabissa.org

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Contribution Widget
December 09, 2012, 04:20:46 am
Hi Tobias,

we need to dig into this, let's discuss at office hours on Wed 19 December? Other CiviCRM dudes and dudettes interested, please let us know if you want to be involved in the discussion.
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

tobiaseigen

  • I post frequently
  • ***
  • Posts: 151
  • Karma: 5
    • Kabissa - Space for Change in Africa
Re: Contribution Widget
December 10, 2012, 04:49:15 pm
sounds like a plan! :) thanks.

my kabissa office hours are listed at http://kabissa.org/calendar and we meet in the chatroom at http://kabissa.org/chat (or irc.freenode.net #kabissa)
Kabissa - Space for Change in Africa http://kabissa.org

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

This forum was archived on 2017-11-26.