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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • CiviContribute widget coding that works in all major browsers
Pages: [1]

Author Topic: CiviContribute widget coding that works in all major browsers  (Read 930 times)

pjskluzacek

  • Guest
CiviContribute widget coding that works in all major browsers
May 12, 2010, 04:30:23 pm
I had a terrible time getting the code that the system produces to display the widget in IE.  I finally paid a freelancer to correct the problem and here is his new coding and it does indeed work in all the browsers I have tested.  Can we change CiviContribute to produce this code instead?

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
width="220"
height="220"
align="middle"
id="civicontribute-widget">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="https://www.mywebsite.org/sites/all/modules/civicrm/extern/Widget/widget.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="FlashVars" value="serviceUrl=https://www.mywebsite.org/sites/all/modules/civicrm/packages/amfphp/gateway.php&amp;contributionPageID=6&amp;widgetID=1" />
<embed src="https://www.mywebsite.org/sites/all/modules/civicrm/extern/Widget/widget.swf"
width="220"
height="220"
autostart="false"
quality="high"
bgcolor="#ffffff"
FlashVars="serviceUrl=https://www.mywebsite.org/sites/all/modules/civicrm/packages/amfphp/gateway.php&amp;contributionPageID=6&amp;widgetID=1"
name="civicontribute-widget"
align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
« Last Edit: May 12, 2010, 08:24:14 pm by pjskluzacek »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviContribute widget coding that works in all major browsers
May 13, 2010, 11:46:59 am

Can you (or your developer) please file an issue and a patch against this file:

templates/CRM/Contribute/Form/ContributionPage/Widget.tpl

please test on your site with the new code and ensure it does work :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • CiviContribute widget coding that works in all major browsers

This forum was archived on 2017-11-26.