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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM contribution widget not compatible with IE ???
Pages: [1]

Author Topic: CiviCRM contribution widget not compatible with IE ???  (Read 1804 times)

kavita.s.shinde

  • Guest
CiviCRM contribution widget not compatible with IE ???
September 12, 2008, 06:32:00 am

We are working on contribution pages, there we created widgets..which we are using it for the promotion of contribution pages on our site.
All widgets are rotated in block on the page, which are working fine with Firefox, Safari but breaking down on the IE6 and IE7,
So is there any solution for that ...!!!
Why is it breaing down?
The code generated by civicrm for widget is as follows
--------------------------------------------------------------------------------------------------------------------------------------------------------------
<div style="text-align: center; width:260px">
<object type="application/x-shockwave-flash" data="http://www.maplight-kss.com/sites/all/modules/civicrm/extern/Widget/widget.swf" width="220" height="220" id="civicontribute-widget" align="middle" codebase="http://www.macromedia.com/go/getflashplayer" >
<param name="flashvars" value="serviceUrl=http://www.maplight-kss.com/sites/all/modules/civicrm/packages/amfphp/gateway.php&contributionPageID=3&widgetID=1"/>
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="allowFullScreen" value="false" />
   <param name="movie" value="http://www.maplight-kss.com/sites/all/modules/civicrm/extern/Widget/widget.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
   </object>
</div>
--------------------------------------------------------------------------------------------------------------------------------------------------------------
We tried with classid parameter for IE, that time it is working fine with IE and Safari but breaking down on Firefox....
code we changed is
--------------------------------------------------------------------------------------------------------------------------------------------------------------
<div style="text-align: center; width:260px">
 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="220" height="220">
<param name="flashvars" value="serviceUrl=http://www.maplight-kss.com/sites/all/modules/civicrm/packages/amfphp/gateway.php&contributionPageID=3&widgetID=1"/>
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="allowFullScreen" value="false" />
   <param name="movie" value="http://www.maplight-kss.com/sites/all/modules/civicrm/extern/Widget/widget.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
 </object>
 <!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://www.maplight-kss.com/sites/all/modules/civicrm/extern/Widget/widget.swf" width="220" height="220" id="civicontribute-widget" align="middle" codebase="http://www.macromedia.com/go/getflashplayer" >
<param name="flashvars" value="serviceUrl=http://www.maplight-kss.com/sites/all/modules/civicrm/packages/amfphp/gateway.php&contributionPageID=3&widgetID=1"/>
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="allowFullScreen" value="false" />
   <param name="movie" value="http://www.maplight-kss.com/sites/all/modules/civicrm/extern/Widget/widget.swf" />
   <param name="quality" value="high" />
   <param name="bgcolor" value="#ffffff" />
   </object>
  <!--<![endif]-->
</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: CiviCRM contribution widget not compatible with IE ???
September 12, 2008, 06:38:32 am
Can you update your profile, give more details about CiviCRM version etc.

Kurund
Found this reply helpful? Support CiviCRM

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: CiviCRM contribution widget not compatible with IE ???
September 12, 2008, 06:51:47 am

could you continue your experiements and check the code for other widgets (like ChipIn) and come back with code that works across all 3 browsers.

Most of the core team does not have access to IE all the time and hence its slightly harder for us to do these experiments (and yes, we do know that IE has the dominant market share)

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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • CiviCRM contribution widget not compatible with IE ???

This forum was archived on 2017-11-26.