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) »
  • Multiple Contribution Widgets on One Page not working
Pages: [1]

Author Topic: Multiple Contribution Widgets on One Page not working  (Read 991 times)

LoganBear

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 1
  • CiviCRM version: 4.5.5
  • CMS version: Drupal 7.34
  • MySQL version: 5.1.67
  • PHP version: 5.3.28
Multiple Contribution Widgets on One Page not working
December 16, 2010, 07:59:19 pm
I'm having difficulty trying to get multiple js contribution widgets to work.  After copying the code for each widget into my page, the only widget that really works is the last one.

I'd like to have a page like the "Make it Work" page for my organization.  I notice that they're not using the new js widgets either.  

Any suggestions?   My javascript is a little rusty.

sgraypgh

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Multiple Contribution Widgets on One Page not working
July 04, 2011, 06:57:32 am
bump

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: Multiple Contribution Widgets on One Page not working
July 05, 2011, 02:29:27 am
LoganBear,

What your CiviCRM version? You should consider upgrading to latest stable release. We use it on our MIH page: http://civicrm.org/mih

Kurund
Found this reply helpful? Support CiviCRM

sgraypgh

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Multiple Contribution Widgets on One Page not working
July 05, 2011, 05:42:55 pm
I am using CiviCRM 3.4.3 and have the same problem.  Is there a solution to get more than one contribution widget working on the same page?

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: Multiple Contribution Widgets on One Page not working
July 05, 2011, 11:38:02 pm
Quote
Is there a solution to get more than one contribution widget working on the same page?

Just copy pasting all the widgets on one page should work fine. Note that if you are using joomla sometimes js code is stripped before saving to db.

Kurund
Found this reply helpful? Support CiviCRM

sgraypgh

  • I’m new here
  • *
  • Posts: 15
  • Karma: 0
  • CiviCRM version: 3.3.5
  • CMS version: Joomla 1.5.22
  • MySQL version: 5.0.91
  • PHP version: 5.2.14
Re: Multiple Contribution Widgets on One Page not working
July 07, 2011, 01:58:48 pm
Well I did copy and paste the working widget to another module and then changed the id #.  When I activate the new one, it displays the first ones information but take you to the new ones contribution page.  The first module is missing the button and wording.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Multiple Contribution Widgets on One Page not working
July 07, 2011, 05:50:17 pm
The contribution page id appears in a number of places in the widget script code and related div's. You may have missed changing one with your copy paste. Might help to 'view source' on the CiviCRM.org Make it Happen page where there are numerous widgets ??

http://civicrm.org/mih
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Multiple Contribution Widgets on One Page not working

This forum was archived on 2017-11-26.