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) »
  • problems with contribution widgets
Pages: [1]

Author Topic: problems with contribution widgets  (Read 659 times)

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
problems with contribution widgets
July 27, 2011, 07:54:35 pm
I have implemented 2 contribution widgets as part of a membership drive for new sections of our org. So far we have 1 members in each (me), but the amount raised is still 0 and the number of donors is 0.  The link does go to the correct contribution page.

I am using civi3.4.4 with the patch4merlise for CRM-8141 that fixes the problem with multiple members signup pages.   Suggestions on what to check to debug this?  The contributions and memberships are being linked with the new code.

As a feature, would it be possible to have an option to change the text for donor to members if the contribution page is for memberships rather than contributions only (or allow custimization) ? 

best,
Merlise
Merlise Clyde

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: problems with contribution widgets
July 28, 2011, 12:41:17 pm
Unfortunately the 'Donors' string is hard-coded in CRM/Contribute/BAO/Widget.php (line 166). I can't think of any way to change this other than creating a custom copy of that file and modifying that line:

Code: [Select]
        $data['num_donors'] = $data['num_donors'  ] ." " .ts( 'Donors' );

Given that pretty much every other piece of text on the widget is set via user-controlled DB stored values - might be nice to fix that one as well at some point (add column for it to contribution_page table and add form field on Widget screen ...).

NOTE: separately Merlise let me know that the widget is working correctly for contribution pages that are used for membership signup.
Protect your investment in CiviCRM by  becoming a Member!

mclyde

  • I post frequently
  • ***
  • Posts: 171
  • Karma: 3
    • International Society for Bayesian Analysis
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 6.x
  • MySQL version: 5.136
  • PHP version: 5.2.16
Re: problems with contribution widgets
July 29, 2011, 07:57:22 am
as an update the problem was likely not clearing the cache :-)
Merlise Clyde

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

This forum was archived on 2017-11-26.