3

Prior to CiviCRM, I used to use the give donation plugin which made a cool little progress bar for our fundraising campaign pages. Looking to create something similar with CiviCRM, I came across the CiviWCI extension, but it only supports CiviCRM 4.4 and has not been updated in some time.

Is there a built in functionality or an alternative extension that I could use?

Many thanks!

5
  • it helps if someone can prove that the extension you refer to is broken for 4.7.x - have you done so? – petednz - fuzion May 22 '17 at 22:57
  • also are you aware the Confirmation page can be turned off, per Contribution page, which kind of gets the process down to 2 windows, the one you submit, and the thank you one, at which point how useful is a progress bar? – petednz - fuzion May 22 '17 at 23:00
  • Hey @petednz-fuzion, sorry, I should clarify, what I mean by progress bar is campaign progress... such as 3k of 5k raised. – themak May 23 '17 at 3:44
  • ok. got you. a widget. see below – petednz - fuzion May 23 '17 at 6:07
  • Related Gitlab issue: lab.civicrm.org/dev/core/issues/20 – bgm Feb 10 '20 at 15:38
4

We published a small extension that makes it easy to display the progress bar directly on the same contribution page: contributeprogress.

screenshot of the widget

The README.md has more details, but the short version is that once this extension is enabled, you can enable the widget and tweak a few colours. The widget will be displayed directly on the contribution page. Not all of the widget settings are relevant (for example, we do not display the widget title and text body, because it's often redundant with the page introduction text).

The default design is also a bit different that the widget preview, because we wanted something a bit more modern looking (and we wanted to propose something that works out of the box, without requiring a designer).

Credits: Roshani Kothari helped with the visual design picking some of the best elements of how progress bars are displayed on different websites, and Plastic Pollution Coalition helped to fund this work. We welcome feedback to refine and improve it further.

5
  • Can this only be shown on the contribution page but not elsewhere? – Andy Burns Nov 23 '19 at 16:07
  • Unless I am misunderstanding, that is what the extension does by default. Can you give an example of 'elsewhere'? – bgm Nov 24 '19 at 17:39
  • It is useful to promote the widget for instance, on a home page. Can the code be copied like the native civi contribution widget? – Andy Burns Nov 24 '19 at 17:58
  • Oh ok, no, it does not replace/improve the existing widget. It shouldn't be too difficult to re-create an equivalent result, if you are interested in contributing a patch or sponsoring the work. – bgm Nov 25 '19 at 17:01
  • 2020 update: I released a new version that provides an alternative embeddable widget. You can see it in action here: civicrm.org/mih – bgm Aug 10 '20 at 15:37
3

Set your Goal Amount on Contribution Page = Title and Settings

Enter an optional goal amount for this contribution page (e.g. for this 'campaign'). If you enable a contribution widget for this page, the widget will track progress against this goal. Otherwise, the goal will display as 'no limit'.

Then click through to the Widget tab such as this one on demo: http://dmaster.demo.civicrm.org/civicrm/admin/contribute/widget?reset=1&action=update&id=1

4
  • It would be great if a progress-bar could be placed directly on the live contribution page. Could you provide a specific example of how to incorporate the widget code directly into the contribution-page "Introductory Message" HTML? – Mark Jun 20 '18 at 5:04
  • Widget documentation is here but presume you made effort to check that already?? docs.civicrm.org/user/en/latest/contributions/widgets – petednz - fuzion Jun 20 '18 at 9:52
  • Yes I have looked at that documentation. It doesn't indicate how specifically to get the widget source-code into the live contribution page, and simply pasting it into the "Introductory Message" section of the contribution-page configuration screen does not work. – Mark Jun 20 '18 at 13:06
  • Can you pls ask a new question and spell out the exact steps you took and what 'does not work' actually means? I just tried on dmaster and had no joy either. – petednz - fuzion Jun 20 '18 at 19:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.