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) »
  • Donation Widget isn't linking to associated online contribution page
Pages: [1]

Author Topic: Donation Widget isn't linking to associated online contribution page  (Read 2806 times)

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Donation Widget isn't linking to associated online contribution page
August 26, 2009, 08:09:45 am

I copied the widget code from electesrati.com and put it on esrati.com.
When I click the "Contribute" link on esrati.com, I need it to go back to the configured page on electesrati.com. How can I do this?


Here is the code:

<div style="text-align: center; width:260px">
   <object type="application/x-shockwave-flash" data="http://electesrati.com/sites/all/modules/civicrm/extern/Widget/widget.swf" width="220" height="220" id="civicontribute-widget" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer">
    <param name="flashvars" value="serviceUrl=http://electesrati.com/sites/all/modules/civicrm/packages/amfphp/gateway.php&contributionPageID=5&widgetID=1">
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="allowFullScreen" value="false" />
   <param name="movie" value="http://electesrati.com/sites/all/modules/civicrm/extern/Widget/widget.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
   </object>
</div>

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: Donation Widget isn't linking to associated online contribution page
August 26, 2009, 11:49:47 pm
Quote
I copied the widget code from electesrati.com and put it on esrati.com.
When I click the "Contribute" link on esrati.com, I need it to go back to the configured page on electesrati.com. How can I do this?

Do you have CiviCRM install on esrati.com and also same contribution page ?

Kurund
Found this reply helpful? Support CiviCRM

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: Donation Widget isn't linking to associated online contribution page
August 27, 2009, 06:02:06 am
Quote from: Kurund Jalmi on August 26, 2009, 11:49:47 pm

Do you have CiviCRM install on esrati.com and also same contribution page ?

Kurund

electesrati.com is Drupal while
esrati.com is Wordpress

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: Donation Widget isn't linking to associated online contribution page
August 27, 2009, 07:08:36 am
This looks like a bug. For tracking purpose: http://issues.civicrm.org/jira/browse/CRM-4964

You can get the fix from: http://fisheye.civicrm.org/changelog/CiviCRM/?cs=23466

HTh
Kurund
« Last Edit: August 27, 2009, 07:31:56 am by Kurund Jalmi »
Found this reply helpful? Support CiviCRM

nextwave

  • I post occasionally
  • **
  • Posts: 62
  • Karma: 0
Re: Donation Widget isn't linking to associated online contribution page
August 27, 2009, 10:51:52 am
Quote from: Kurund Jalmi on August 27, 2009, 07:08:36 am
This looks like a bug. For tracking purpose: http://issues.civicrm.org/jira/browse/CRM-4964

You can get the fix from: http://fisheye.civicrm.org/changelog/CiviCRM/?cs=23466

HTh
Kurund

Thanks to Kurund.

changed /CRM/Widget/Widget.php  line 96 :


96   -    false, null, false, true ); (take this out)
96   +     true, null, false, true ); (put this in)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Donation Widget isn't linking to associated online contribution page

This forum was archived on 2017-11-26.